Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Stabilise? #2

Open
Ravenslofty opened this issue Jun 10, 2019 · 6 comments
Open

Stabilise? #2

Ravenslofty opened this issue Jun 10, 2019 · 6 comments

Comments

@Ravenslofty
Copy link
Member

@dholroyd Since this is a low-level but mostly static binding, should we just stabilise this? I don't see the API surface changing any time soon.

@dholroyd
Copy link
Collaborator

I think you are very likely correct.

Someone mentioned to me the idea of vendoring a snaphot of usbdevice_fs.h into the repo, so that build.rs is not dependant on the filesystem layout of the build machine. I mention this in the context of stabilisation because I think it makes the build more reproducible.

If you want to stabilise without that change, I think that's still fine!

@Ravenslofty
Copy link
Member Author

Well, we could bundle in the generated bindings.rs instead? That's going to speed up builds, too, because then the build.rs script doesn't have to run, and we don't need to depend on bindgen in this crate.

@newAM
Copy link
Contributor

newAM commented Sep 19, 2020

Well, we could bundle in the generated bindings.rs instead? That's going to speed up builds, too, because then the build.rs script doesn't have to run, and we don't need to depend on bindgen in this crate.

I created a PR to make bindgen optional: #3

@newAM
Copy link
Contributor

newAM commented Sep 26, 2020

Would it be possible to get a release with the new changes?

I would like to update the dependencies in usbfs-device, but I need a release of this to update nix in the parent crate 👍

@Ravenslofty
Copy link
Member Author

I'm pretty sure that's down to @dholroyd, since the usbfs-sys crate belongs to him.

@dholroyd
Copy link
Collaborator

dholroyd commented Oct 9, 2020

Sorry for not replying earlier! Perfectly happy to stabilize and release (I think @Ravenslofty is the one currently able to publish this to crates.io)

And in general I am happy for you to take decisions on these USB crates without requiring my up-front consent -- haven't been working in this area in aaaaages!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants