Given that crate
foo depends on crate
bar which depends on crate
build.rs can get activated features of crate
baz, by enumerating all environment variables in the form of
But I don't know what to do in
build.rs to get
foo's activated features , when building crate
foo invoking e.g.
cargo build --no-default-features --features "alpha".