cargo-no-std

Crates.iocargo-no-std
lib.rscargo-no-std
version0.1.0
created_at2026-01-06 17:07:30.348746+00
updated_at2026-01-06 17:07:30.348746+00
descriptionValidate no_std compliance
homepage
repositoryhttps://github.com/wojciech-graj/cargo-no-std
max_upload_size
id2026309
size76,043
(wojciech-graj)

documentation

README

cargo-no-std

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.

Usage

Installation

cargo install cargo-no-std

Command line

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
Commit count: 3

cargo fmt