GitHunt
PY

pykeio/cargo-no-std

Check which dependencies are & aren't no_std compatible

cargo no-std: Check which dependencies are & aren't no_std compatible

cargo no-std spits out a nice overview of whether your dependencies are no_std compatible.

carson@desktop:~/example$ cargo no-std
✅ example
❓ bincode
  ❯ Source code contains an explicit `use std::` statement.
   → /home/carson/.cargo/registry/src/github.com-1ecc6299db9ec823/bincode-2.0.0-rc.1/src/features/impl_std.rs
✅ num-traits
❌ rayon
  ❯ 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.
❓ tracing
  ★ Crate supports no_std if "std" feature is deactivated.
    ❯ Caused by feature flag "std" in crate "tracing:0.1.35"
      ❯ Caused by feature flag "default" in crate "tracing:0.1.35"
        ❯ Caused by implicitly enabled default feature from "ml2:1.0.0-dev.20220511"

Installation

$ cargo install cargo-no-std

License

Licensed under either of

at your option.

Languages

Rust100.0%

Contributors

Apache License 2.0
Created August 8, 2022
Updated August 9, 2022
pykeio/cargo-no-std | GitHunt