[package]
edition = "2021"
name = "variadic_from"
version = "0.54.0"
authors = [
"Kostiantyn Wandalen <wandalen@obox.systems>",
"Dmytro Kryvoruchko <dmytro.kr@obox.systems>",
]
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = """
Variadic from.
"""
homepage = "https://github.com/Wandalen/wTools/tree/master/module/core/variadic_from"
documentation = "https://docs.rs/variadic_from"
readme = "readme.md"
keywords = [
"fundamental",
"general-purpose",
]
categories = [
"algorithms",
"development-tools",
]
license = "MIT"
repository = "https://github.com/Wandalen/wTools/tree/master/module/core/variadic_from"
[package.metadata.docs.rs]
features = ["full"]
all-features = false
[features]
default = [
"enabled",
"derive_variadic_from",
"type_variadic_from",
]
derive_variadic_from = ["type_variadic_from"]
enabled = []
full = [
"enabled",
"derive_variadic_from",
"type_variadic_from",
]
no_std = []
type_variadic_from = []
use_alloc = ["no_std"]
[lib]
name = "variadic_from"
path = "src/lib.rs"
[[example]]
name = "variadic_from_trivial"
path = "examples/variadic_from_trivial.rs"
[[test]]
name = "compile_fail"
path = "tests/compile_fail.rs"
[[test]]
name = "smoke_test"
path = "tests/smoke_test.rs"
[[test]]
name = "variadic_from_tests"
path = "tests/variadic_from_tests.rs"
[dependencies.variadic_from_meta]
version = "~0.25.0"
default-features = false
[dev-dependencies.test_tools]
version = "~0.16.0"
features = ["full"]
[dev-dependencies.trybuild]
version = "1.0"
features = ["diff"]
[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"))']