| Crates.io | cargo-no-std |
| lib.rs | cargo-no-std |
| version | 0.1.0 |
| created_at | 2026-01-06 17:07:30.348746+00 |
| updated_at | 2026-01-06 17:07:30.348746+00 |
| description | Validate no_std compliance |
| homepage | |
| repository | https://github.com/wojciech-graj/cargo-no-std |
| max_upload_size | |
| id | 2026309 |
| size | 76,043 |
cargo-no-std is a Cargo subcommand that checks whether your Rust crate is compatible with no_std environments, optionally allowing usage of the alloc crate.
cargo install cargo-no-std
Usage: cargo no-std [OPTIONS]
Options:
--manifest-path <PATH> Path to Cargo.toml
-p, --package <SPEC> Package to process (see `cargo help pkgid`)
--workspace Process all packages in the workspace
--exclude <SPEC> Exclude packages from being processed
--all-features Activate all available features
--no-default-features Do not activate the `default` feature
-F, --features <FEATURES> Space-separated list of features to activate
--target <TARGET> Target for which to check [default: x86_64-unknown-none]
--alloc Allow usage of the alloc crate
-v, --verbose Use verbose output
-V, --version Print version
-h, --help Print help