conf_test

Crates.ioconf_test
lib.rsconf_test
version0.5.0
sourcesrc
created_at2021-04-27 13:34:45.244024
updated_at2023-05-04 01:51:45.088147
descriptionRun configuration tests from build.rs and set available features
homepage
repositoryhttps://github.com/cehteh/conf_test.git
max_upload_size
id390171
size32,215
(cehteh)

documentation

README

Rust conf_test

Run configuration tests from build.rs and set available features, similar to autotools configure scripts.

Description

ConfTest::run() called from 'build.rs' parses 'Cargo.toml'. Then for each [feature] defined, it checks if that feature was not set manually (with --features) and a test in 'conf_tests/' exists. This test is then compiled and build. When that succeeds the feature becomes enabled automatically.

Commit count: 25

cargo fmt