Cargo Features

core_extensions has no features set by default.

[dependencies]
core_extensions = { version = "1.5.3", features = ["all_items", "std", "alloc", "all_items_no_derive", "derive", "bools", "callable", "collections", "const_default", "const_val", "macro_utils", "generics_parsing", "item_parsing", "integers", "iterators", "marker_type", "on_drop", "option_result", "phantom", "self_ops", "slices", "strings", "transparent_newtype", "type_asserts", "type_identity", "type_level_bool", "void", "serde_", "track_caller", "enable_proc_macro_crate", "rust_1_46", "rust_1_51", "rust_1_59", "rust_latest_stable", "docsrs"] }
all_items = all_items_no_derive, derive

Enables all the items

std = alloc

Affects core_extensions::measure_time, result_like::ResultLikeExt.unwrap_or_abort

alloc std?

Affects result_extensions::ResultExt.format_debug_err, result_extensions::ResultExt.format_alt_debug_err, strings::StringExt.left_pad, strings::StringExt.line_indentation, strings::StringExt.min_indentation, strings::StringExt.max_indentation, transparent_newtype::TransparentNewtypeExt.from_inner_box, transparent_newtype::TransparentNewtypeExt.from_inner_arc, transparent_newtype::TransparentNewtypeExt.from_inner_rc, transparent_newtype::TransparentNewtypeExt.into_inner_box, transparent_newtype::into_inner_vec, transparent_newtype::from_inner_vec, type_identity::TypeIdentity.into_type_box, type_identity::TypeIdentity.from_type_box, type_identity::TypeIdentity.from_type_arc, type_identity::TypeIdentity.from_type_rc, utils::transmute_vec

all_items_no_derive all_items? = bools, callable, collections, const_default, const_val, generics_parsing, integers, item_parsing, iterators, macro_utils, marker_type, on_drop, option_result, phantom, self_ops, slices, strings, transparent_newtype, type_asserts, type_identity, type_level_bool, void
derive all_items? = enable_proc_macro_crate

Enables derive of core_extensions_proc_macros

bools all_items_no_derive? = type_identity
callable all_items_no_derive?

Affects core_extensions::callable

collections all_items_no_derive?

Affects core_extensions::collections

const_default all_items_no_derive?
const_val all_items_no_derive? = enable_proc_macro_crate, generics_parsing
macro_utils all_items_no_derive? item_parsing? = enable_proc_macro_crate

Enables macro_utils of core_extensions_proc_macros

Affects macros::macro_utils

generics_parsing all_items_no_derive? const_val? item_parsing? = enable_proc_macro_crate

Affects macros::generics_parsing

item_parsing all_items_no_derive? = generics_parsing, macro_utils

Enables item_parsing of core_extensions_proc_macros

Affects macros::item_parsing

integers all_items_no_derive?

Affects core_extensions::integers

iterators all_items_no_derive?

Affects core_extensions::iterators

marker_type all_items_no_derive? transparent_newtype?
on_drop all_items_no_derive? rust_1_51?
option_result all_items_no_derive? = type_identity

Affects core_extensions::option_result_ext

phantom all_items_no_derive?

Affects core_extensions::phantom, macros::phantomdata

self_ops all_items_no_derive?
slices all_items_no_derive? strings?

Affects core_extensions::slices, core_extensions::strings

strings all_items_no_derive? = slices
transparent_newtype all_items_no_derive? = marker_type

Affects core_extensions::transparent_newtype, macros::transparent_newtype_macros

type_asserts all_items_no_derive? = type_identity

Affects core_extensions::type_asserts

type_identity all_items_no_derive? bools? option_result? type_asserts?
type_level_bool all_items_no_derive?

Affects core_extensions::type_level_bool

void all_items_no_derive?
serde_ = serde
track_caller = rust_1_46

Changes ResultLike to allow getting the caller location in ResultLike::into_result_

enable_proc_macro_crate const_val? derive? generics_parsing? macro_utils? = core_extensions_proc_macros
rust_1_46 rust_1_51? track_caller?

Enables rust_1_45 of core_extensions_proc_macros

rust_1_51 rust_1_59? = on_drop, rust_1_46
rust_1_59 rust_latest_stable? = rust_1_51
rust_latest_stable = rust_1_59
__test

Affects core_extensions::test_utils

docsrs

Enables indicators in the docs for what features are required to enable items.

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.

serde serde_?
core_extensions_proc_macros derive? enable_proc_macro_crate? item_parsing? macro_utils? rust_1_46?