[package]
edition = "2021"
name = "wtools"
version = "0.3.0"
authors = ["Kostiantyn Mysnyk <wandalen@obox.systems>"]
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = """
Single entry-point for collection utilities. Re-exports collection_tools: variadic constructors and unified HashMap/HashSet/Vec support.
"""
homepage = "https://github.com/Wandalen/wTools/tree/master/module/core/wtools"
documentation = "https://docs.rs/wtools"
readme = "readme.md"
keywords = [
"collections",
"hashmap",
"hashset",
"general-purpose",
]
categories = [
"data-structures",
"development-tools",
]
license = "MIT"
repository = "https://github.com/Wandalen/wTools/tree/master/module/core/wtools"
[package.metadata.docs.rs]
features = ["full"]
all-features = false
[features]
collection_constructors = [
"enabled",
"collection_tools/collection_constructors",
]
collection_into_constructors = [
"enabled",
"collection_tools/collection_into_constructors",
]
default = [
"enabled",
"collection_constructors",
"collection_into_constructors",
]
enabled = [
"dep:collection_tools",
"collection_tools/enabled",
]
full = [
"enabled",
"collection_constructors",
"collection_into_constructors",
]
no_std = ["collection_tools/no_std"]
use_alloc = [
"no_std",
"collection_tools/use_alloc",
]
[lib]
name = "wtools"
path = "src/lib.rs"
[[example]]
name = "wtools_trivial"
path = "examples/wtools_trivial.rs"
[[test]]
name = "collection_reexport_test"
path = "tests/collection_reexport_test.rs"
[[test]]
name = "example_quality_test"
path = "tests/example_quality_test.rs"
[[test]]
name = "readme_accuracy_test"
path = "tests/readme_accuracy_test.rs"
[[test]]
name = "smoke_test"
path = "tests/smoke_test.rs"
[dependencies.collection_tools]
version = "~0.67.0"
optional = true
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"))']