-
Notifications
You must be signed in to change notification settings - Fork 219
The wit-bindgen-rt crate does not ship with a README.md or a LICENSE file #1170
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
Comments
A README was added in #1162, and for LICENSE can you use the |
It would be the first time that we are doing this for our projects, since every other crate we use ships a LICENSE file. So naturally I would prefer to avoid special handling just for one single crate. May I ask what is special about wit-bindgen-rt that the LICENSE files are included in the source code repository but are not included in the release on crates.io? |
The BA has a number of repos, such as this, https://github.com/bytecodealliance/wasm-tools, and https://github.com/bytecodealliance/wasmtime, which all are a workspace of many crates. Instead of copying files all over the workspace the license files are only present at the root and all crates are annotated with that license. I don't know how to manage a workspace of many crates without having many copies of a license. |
Hi Alex! Long time no see. The two ways to take care of this that we know of is to either use |
Hey! Too long time with no see! Agreed I'd want to stick to |
What a wonderful question. I checked on a windows machine, and it does do the wrong thing in this case, the
Following those two suggestions gets it to properly build the package though. As far as I can tell this only impacts the person running The one caveat is if you do run
Git unfortunately doesn't guide users to enable developer mode though, so it could be confusing for them. |
Oh thanks for investigating that! That all seems pretty reasonable to me honestly. For publication we auto-publish from CI on Linux so I'm not worried about that, so the only other downside is clones with
If you're still up for it i wouldn't mind taking you up on this offer. A PR to add symlinks to all crates pointing back to the root seems like it should be reasonable! |
Thank you so much! This is great! 👍 |
Thanks again for the PR and help figuring this out! |
The current version (0.39.0) as of this writing of wit-bindgen-rt on crates.io does not come with a README.md or LICENSE file.
While the former is more of an inconvenience, the missing of a LICENSE file is an issue for projects that auto-check for licence compatibility during build. It would be helpful of those files could be added to the crate.
The text was updated successfully, but these errors were encountered: