# THIS FILE IS AUTOMATICALLY GENERATED BY CARGO # # When uploading crates to the registry Cargo will automatically # "normalize" Cargo.toml files for maximal compatibility # with all versions of Cargo and also rewrite `path` dependencies # to registry (e.g., crates.io) dependencies. # # If you are reading this file be aware that the original Cargo.toml # will likely look very different (and much more reasonable). # See Cargo.toml.orig for the original contents. [package] edition = "2021" name = "derive_tools" version = "0.32.0" authors = [ "Kostiantyn Wandalen ", "Dmytro Kryvoruchko ", ] build = "build.rs" autobins = false autoexamples = false autotests = false autobenches = false description = """ A collection of derive macros designed to enhance STD. """ homepage = "https://github.com/Wandalen/wTools/tree/master/module/core/derive_tools" documentation = "https://docs.rs/derive_tools" readme = "Readme.md" keywords = [ "fundamental", "general-purpose", ] categories = [ "algorithms", "development-tools", ] license = "MIT" repository = "https://github.com/Wandalen/wTools/tree/master/module/core/derive_tools" [package.metadata.docs.rs] all-features = false features = ["full"] [lib] name = "derive_tools" path = "src/lib.rs" [[example]] name = "derive_tools_trivial" path = "examples/derive_tools_trivial.rs" [[test]] name = "smoke_test" path = "tests/smoke_test.rs" [[test]] name = "tests" path = "tests/tests.rs" [dependencies.clone_dyn] version = "~0.28.0" features = [ "enabled", "clone_dyn_types", "derive_clone_dyn", ] optional = true default-features = false [dependencies.derive_more] version = "~1.0.0-beta.6" features = ["debug"] optional = true default-features = false [dependencies.derive_tools_meta] version = "~0.31.0" features = ["enabled"] optional = true default-features = false [dependencies.parse-display] version = "~0.8.2" optional = true default-features = false [dependencies.strum] version = "~0.25" optional = true default-features = false [dependencies.variadic_from] version = "~0.27.0" features = ["enabled"] optional = true default-features = false [dev-dependencies] [build-dependencies.cfg_aliases] version = "0.1.1" [features] default = [ "enabled", "derive_variadic_from", "type_variadic_from", "derive_add_assign", "derive_add", "derive_as_mut", "derive_as_ref", "derive_constructor", "derive_deref", "derive_deref_mut", "derive_error", "derive_index", "derive_index_mut", "derive_into_iterator", "derive_mul_assign", "derive_mul", "derive_not", "derive_sum", "derive_try_into", "derive_is_variant", "derive_unwrap", "derive_into", "derive_display", "derive_from_str", "derive_clone_dyn", "derive_strum", "strum_phf", "derive_from", "derive_inner_from", "derive_new", "derive_phantom", ] derive_add = [ "derive_more", "derive_more/std", "derive_more/add", ] derive_add_assign = [ "derive_more", "derive_more/std", "derive_more/add_assign", ] derive_as_mut = ["derive_tools_meta/derive_as_mut"] derive_as_ref = ["derive_tools_meta/derive_as_ref"] derive_clone_dyn = ["clone_dyn/enabled"] derive_constructor = [ "derive_more", "derive_more/std", "derive_more/constructor", ] derive_deref = ["derive_tools_meta/derive_deref"] derive_deref_mut = ["derive_tools_meta/derive_deref_mut"] derive_display = ["parse-display"] derive_error = [ "derive_more", "derive_more/std", "derive_more/error", ] derive_from = ["derive_tools_meta/derive_from"] derive_from_str = [ "parse-display", "parse-display/std", "parse-display/regex", ] derive_index = ["derive_tools_meta/derive_index"] derive_index_mut = ["derive_tools_meta/derive_index_mut"] derive_inner_from = ["derive_tools_meta/derive_inner_from"] derive_into = [ "derive_more", "derive_more/into", ] derive_into_iterator = [ "derive_more", "derive_more/std", "derive_more/into_iterator", ] derive_is_variant = [ "derive_more", "derive_more/is_variant", ] derive_mul = [ "derive_more", "derive_more/std", "derive_more/mul", ] derive_mul_assign = [ "derive_more", "derive_more/std", "derive_more/mul_assign", ] derive_new = ["derive_tools_meta/derive_new"] derive_not = ["derive_tools_meta/derive_not"] derive_phantom = ["derive_tools_meta/derive_phantom"] derive_strum = [ "strum/std", "strum/derive", "strum/strum_macros", ] derive_sum = [ "derive_more", "derive_more/std", "derive_more/sum", ] derive_try_into = [ "derive_more", "derive_more/std", "derive_more/try_into", ] derive_unwrap = [ "derive_more", "derive_more/std", "derive_more/unwrap", ] derive_variadic_from = [ "type_variadic_from", "derive_tools_meta/derive_variadic_from", "variadic_from/derive_variadic_from", ] enabled = ["derive_tools_meta/enabled"] full = [ "enabled", "derive_variadic_from", "type_variadic_from", "derive_add_assign", "derive_add", "derive_as_mut", "derive_as_ref", "derive_constructor", "derive_deref", "derive_deref_mut", "derive_error", "derive_index", "derive_index_mut", "derive_into_iterator", "derive_mul_assign", "derive_mul", "derive_not", "derive_sum", "derive_try_into", "derive_is_variant", "derive_unwrap", "derive_display", "derive_from_str", "derive_clone_dyn", "derive_strum", "strum_phf", "derive_from", "derive_inner_from", "derive_new", "derive_phantom", ] no_std = [] parse_display = ["parse-display"] strum_phf = [ "strum/std", "strum/phf", "strum/strum_macros", ] type_variadic_from = [ "variadic_from/enabled", "variadic_from/type_variadic_from", ] use_alloc = ["no_std"] [lints.clippy] absolute_paths = "allow" inline_always = "allow" module_name_repetitions = "allow" pedantic = "warn" restriction = "warn" single_call_fn = "allow" std_instead_of_alloc = "warn" std_instead_of_core = "warn" undocumented_unsafe_blocks = "deny" [lints.rust] future_incompatible = "deny" missing_debug_implementations = "warn" missing_docs = "warn" rust_2018_idioms = "deny" unsafe-code = "warn"