We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
I have a little test program paired with my no-std library. cargo nono reports this, although no one but me will ever make use of it:
$ cargo nono check --no-default-features --package twox-hash twox-hash: ❌ - Source code contains an explicit `use std::` statement. --> src/bin/hash_file.rs - Source code contains an explicit `use std::` statement. --> src/bin/hash_file.rs - Source code contains an explicit `use std::` statement. --> src/bin/hash_file.rs - Source code contains an explicit `use std::` statement. --> src/bin/hash_file.rs - Did not find a #![no_std] attribute or a simple conditional attribute like #[cfg_attr(not(feature = "std"), no_std)] in the crate source. Crate most likely doesn't support no_std without changes. - Source code contains an explicit `use std::` statement. --> src/bin/hash_file.rs - Source code contains an explicit `use std::` statement. --> src/bin/hash_file.rs - Source code contains an explicit `use std::` statement. --> src/bin/hash_file.rs - Source code contains an explicit `use std::` statement. --> src/bin/hash_file.rs
There doesn't appear to be any flags to report on only the library.
The text was updated successfully, but these errors were encountered:
Thanks for the feedback!
Yeah, I don't think we have such a flag at the moment.
Adding a --only-lib flag that causes src/main.rs and src/bin/**/*.rs to be ignored sounds reasonable.
--only-lib
src/main.rs
src/bin/**/*.rs
Sorry, something went wrong.
No branches or pull requests
I have a little test program paired with my no-std library. cargo nono reports this, although no one but me will ever make use of it:
There doesn't appear to be any flags to report on only the library.
The text was updated successfully, but these errors were encountered: