data_type 0.22.0

Collection of primal data types.
Documentation
# 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 = "data_type"
version = "0.22.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 = """
Collection of primal data types.
"""
homepage = "https://github.com/Wandalen/wTools/tree/master/module/core/data_type"
documentation = "https://docs.rs/data_type"
readme = "readme.md"
keywords = [
    "fundamental",
    "general-purpose",
]
categories = [
    "algorithms",
    "development-tools",
]
license = "MIT"
repository = "https://github.com/Wandalen/wTools/tree/master/module/core/data_type"

[package.metadata.docs.rs]
features = ["full"]
all-features = false

[features]
default = [
    "enabled",
    "dt_either",
    "dt_interval",
    "dt_collection",
]
diagnostics_runtime_assertions = []
dt_collection = [
    "collection_tools/enabled",
    "collection_tools/collection_constructors",
]
dt_either = ["either"]
dt_interval = ["interval_adapter/enabled"]
enabled = []
full = [
    "enabled",
    "dt_either",
    "dt_interval",
    "dt_collection",
]
no_std = []
use_alloc = ["no_std"]

[lib]
name = "data_type"
path = "src/lib.rs"

[[example]]
name = "data_type_trivial"
path = "examples/data_type_trivial.rs"

[[test]]
name = "collection_macros_feature_test"
path = "tests/collection_macros_feature_test.rs"

[[test]]
name = "smoke_test"
path = "tests/smoke_test.rs"

[[test]]
name = "tests"
path = "tests/tests.rs"

[dependencies.collection_tools]
version = "~0.35.0"
default-features = false

[dependencies.either]
version = "~1.6"
optional = true

[dependencies.interval_adapter]
version = "~0.40.0"
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"))']