Cargo Features
[dependencies]
typewit = { version = "1.11.0", default-features = false, features = ["alloc", "rust_1_61", "rust_1_65", "rust_1_83", "rust_stable", "proc_macros", "const_marker", "adt_const_marker", "mut_refs", "nightly_mut_refs", "docsrs", "trybuild"] }
- default = proc_macros
-
The
proc_macros
feature is set by default whenevertypewit
is added without
somewhere in the dependency tree.default-features = false - alloc
-
Affects
type_fn::GBox
… - rust_1_61 rust_1_65?
- rust_1_65 rust_1_83? = rust_1_61
-
Affects
typewit::methods
,typewit::type_constructors
… - rust_1_83 rust_stable? = rust_1_65
- rust_stable adt_const_marker? mut_refs? = rust_1_83
-
Affects
typewit::ReadmeTest
… - proc_macros default = typewit_proc_macros
- const_marker
- adt_const_marker = rust_stable
-
Affects
const_marker::slice
… - mut_refs nightly_mut_refs? = rust_stable
- nightly_mut_refs = mut_refs
- docsrs
Features from optional dependencies
In crates that don't use the dep:
syntax, optional dependencies automatically become Cargo features. These features may have been created by mistake, and this functionality may be removed in the future.
- trybuild implicit feature
-
Enables trybuild
trybuild:
Test harness for ui tests of compiler diagnostics
- typewit_proc_macros proc_macros