Cargo Features

[dependencies]
typewit = { version = "1.9.0", default-features = false, features = ["alloc", "rust_1_61", "rust_1_65", "rust_stable", "proc_macros", "const_marker", "adt_const_marker", "mut_refs", "nightly_mut_refs", "docsrs"] }
default = proc_macros

The proc_macros feature is set by default whenever typewit is added without default-features = false somewhere in the dependency tree.

alloc

Affects type_fn::GBox

rust_1_61 rust_1_65?
rust_1_65 rust_stable? = rust_1_61

Affects typewit::methods, typewit::type_constructors

rust_stable adt_const_marker? mut_refs? = rust_1_65

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.

typewit_proc_macros proc_macros