Cargo Features

[dependencies]
konst = { version = "0.3.14", default-features = false, features = ["debug", "alloc", "cmp", "iter", "parsing_proc", "parsing", "mut_refs", "nightly_mut_refs", "rust_1_83", "rust_latest_stable", "docsrs", "trybuild"] }
default = cmp, iter, parsing_proc

These default features are set whenever konst is added without default-features = false somewhere in the dependency tree.

debug

Enables extra checks for debug

Enables debug of konst_kernel

alloc

Enables alloc of konst_kernel

Affects konst::alloc_type

cmp default

Affects konst::cmp, nonzero::cmp, other::cmp, primitive::cmp, range::cmp, slice::cmp

iter default

Enables iter of konst_kernel

Affects konst::iter, konst::ReadmeTest

parsing_proc default = konst_proc_macros, parsing

Affects konst::ReadmeTest

parsing parsing_proc

Affects konst::parsing, parse::ParseIntResult, parse::ParseBoolResult, parse::ParseIntError, parse::ParseBoolError

mut_refs nightly_mut_refs? rust_1_83? = rust_latest_stable

Enables mut_refs of konst_kernel

Affects manually_drop::as_inner_mut, maybe_uninit::assume_init_mut, maybe_uninit::write, maybe_uninit::as_mut_ptr, ptr::as_mut, ptr::nonnull.as_mut, ptr::nonnull.from_mut, slice_const_methods::get_mut, slice_const_methods::slice_from_mut, slice_const_methods::get_from_mut, slice_const_methods::slice_up_to_mut, slice_const_methods::get_up_to_mut, slice_const_methods::slice_range_mut, slice_const_methods::get_range_mut, slice_const_methods::split_at_mut, slice_const_methods::first_mut, slice_const_methods::last_mut, slice_const_methods::split_first_mut, slice_const_methods::split_last_mut

nightly_mut_refs = mut_refs

Enables nightly_mut_refs of konst_kernel

rust_1_83 = mut_refs

Affects macros::destructuring

rust_latest_stable mut_refs?
docsrs

Enables docsrs of konst_kernel

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

konst_proc_macros parsing_proc