Migrated from https://github.com/rust-lang/rust/issues/34803 -------------------------------------------- Rust appears to support #[cfg(feature = "foo")] to control optional features: Cargo doc. The Rust reference on cfg does not mention feature: nightly doc.
Migrated from rust-lang/rust#34803
Rust appears to support #[cfg(feature = "foo")] to control optional features: Cargo doc.
The Rust reference on cfg does not mention feature: nightly doc.