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
tests fail when run from published crate with Cargo.toml.orig stripped #15
Comments
I'm not sure what the right fix for this is. in debian, i'm patching the crate to reinstate the comment above the feature, but i welcome other suggestions for how to handle this better. |
Normally, the original should be copied in a Cargo.toml.orig, and we do try to open that file as well: Lines 262 to 265 in ba20128
|
I tried running the tests from the package published on crates.io, and they pass. |
Thank you for the prompt response! You've pointed me in the right direction. Looks like this is indeed a debian-specific problem. Looks like |
I'll close this issue since this is not a bug in the crate. Thanks for doing the debian packaging. |
For anyone who finds this and is interested in following up, i've put the discussion over at https://bugs.debian.org/1023413 |
The process of publishing a crate appears to naturally strip the comments in
Cargo.toml
.Consequently, when i try to build and run the code in this crate from the published crate, i end up with errors in the self-test.
The published crate (v0.2.6) has this Cargo.toml:
This of course results in:
This is a concern for me because i'm trying to package the
document-features
crate in debian, and the debian rust team is currently packaging based on the published crates.The text was updated successfully, but these errors were encountered: