build-context

Make build environment/target information available as constants in normal libraries and binaries.

APACHE-2.0 License

Downloads
160.9K
Stars
2

build-context

Make build environment/target information available as constants in normal libraries and binaries.

This is intended primarily for use in tests and its helpers. When used in libraries or binaries, be careful not to depend on constants that depend on the host environment.

Some constants duplicate those provided in std::env::consts.

License

Licensed under either of Apache License, Version 2.0 or MIT license at your option.

Unless you explicitly state otherwise, any contribution intentionally submitted for inclusion in the work by you, as defined in the Apache-2.0 license, shall be dual licensed as above, without any additional terms or conditions.

Package Rankings
Top 19.07% on Crates.io
Badges
Extracted from project README
crates.io docs.rs license msrv github actions