[package]
edition = "2021"
name = "derive_tools_meta"
version = "0.63.0"
authors = [
"Kostiantyn Mysnyk <wandalen@obox.systems>",
"Dmytro Kryvoruchko <dmytro.kr@obox.systems>",
]
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = """
Collection of derives which extend STD. Its meta module. Don't use directly.
"""
homepage = "https://github.com/Wandalen/wTools/tree/master/module/core/derive_tools_meta"
documentation = "https://docs.rs/derive_tools_meta"
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_meta"
[package.metadata.docs.rs]
features = ["full"]
all-features = false
[features]
default = [
"enabled",
"derive_deref_mut",
"derive_deref",
"derive_from",
"derive_new",
"derive_index",
"derive_index_mut",
"derive_inner_from",
"derive_as_ref",
"derive_as_mut",
"derive_variadic_from",
"derive_not",
"derive_phantom",
]
derive_as_mut = []
derive_as_ref = []
derive_deref = []
derive_deref_mut = []
derive_from = []
derive_index = []
derive_index_mut = []
derive_inner_from = []
derive_new = []
derive_not = []
derive_phantom = []
derive_variadic_from = ["iter_tools/iter_ext"]
enabled = [
"macro_tools/enabled",
"iter_tools/enabled",
"component_model_types/enabled",
]
full = [
"enabled",
"derive_deref_mut",
"derive_deref",
"derive_from",
"derive_new",
"derive_index",
"derive_index_mut",
"derive_inner_from",
"derive_as_ref",
"derive_as_mut",
"derive_variadic_from",
"derive_not",
"derive_phantom",
]
[lib]
name = "derive_tools_meta"
path = "src/lib.rs"
proc-macro = true
[[test]]
name = "as_mut_derive_test"
path = "tests/as_mut_derive_test.rs"
[[test]]
name = "as_ref_derive_test"
path = "tests/as_ref_derive_test.rs"
[[test]]
name = "deref_derive_test"
path = "tests/deref_derive_test.rs"
[[test]]
name = "deref_mut_derive_test"
path = "tests/deref_mut_derive_test.rs"
[[test]]
name = "derive_integration_test"
path = "tests/derive_integration_test.rs"
[[test]]
name = "doc_example_syntax_validation_test"
path = "tests/doc_example_syntax_validation_test.rs"
[[test]]
name = "from_derive_test"
path = "tests/from_derive_test.rs"
[[test]]
name = "index_derive_test"
path = "tests/index_derive_test.rs"
[[test]]
name = "index_mut_derive_test"
path = "tests/index_mut_derive_test.rs"
[[test]]
name = "inner_from_derive_test"
path = "tests/inner_from_derive_test.rs"
[[test]]
name = "new_derive_test"
path = "tests/new_derive_test.rs"
[[test]]
name = "not_derive_test"
path = "tests/not_derive_test.rs"
[[test]]
name = "smoke_test"
path = "tests/smoke_test.rs"
[[test]]
name = "variadic_from_derive_test"
path = "tests/variadic_from_derive_test.rs"
[dependencies.component_model_types]
version = "~0.27.0"
features = ["types_component_assign"]
default-features = false
[dependencies.iter_tools]
version = "~0.50.0"
features = ["iter_trait"]
default-features = false
[dependencies.macro_tools]
version = "~0.85.0"
features = [
"attr",
"attr_prop",
"container_kind",
"ct",
"diag",
"generic_args",
"typ",
"derive",
"generic_params",
"name",
"phantom",
"struct_like",
"quantifier",
]
default-features = false
[dev-dependencies.test_tools]
version = "~0.16.0"
features = ["full"]
[lints.clippy]
absolute_paths = "allow"
arbitrary_source_item_ordering = "allow"
cast_precision_loss = "allow"
doc_include_without_cfg = "warn"
implicit_return = "allow"
inline_always = "allow"
items_after_statements = "allow"
large_enum_variant = "allow"
missing_docs_in_private_items = "allow"
missing_inline_in_public_items = "allow"
mod_module_files = "allow"
module_name_repetitions = "allow"
pub_use = "allow"
question_mark_used = "allow"
single_call_fn = "allow"
std_instead_of_alloc = "allow"
std_instead_of_core = "warn"
struct_excessive_bools = "allow"
undocumented_unsafe_blocks = "deny"
wildcard_imports = "allow"
[lints.clippy.pedantic]
level = "warn"
priority = -1
[lints.rust]
missing_debug_implementations = "warn"
missing_docs = "warn"
unsafe-code = "deny"
[lints.rust.future_incompatible]
level = "warn"
priority = -1
[lints.rust.rust_2018_idioms]
level = "warn"
priority = -1
[lints.rust.unexpected_cfgs]
level = "warn"
priority = 0
check-cfg = ['cfg(feature, values("diagnostics_runtime_assertions", "diagnostics_compiletime_assertions", "diagnostics_memory_layout"))']