# 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 = "clone_dyn_types"
version = "0.33.0"
authors = ["Kostiantyn Wandalen <wandalen@obox.systems>"]
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = """
Derive to clone dyn structures.
"""
homepage = "https://github.com/Wandalen/wTools/tree/master/module/core/clone_dyn_types"
documentation = "https://docs.rs/clone_dyn_types"
readme = "Readme.md"
keywords = [
    "fundamental",
    "general-purpose",
]
categories = [
    "algorithms",
    "development-tools",
]
license = "MIT"
repository = "https://github.com/Wandalen/wTools/tree/master/module/core/clone_dyn_types"

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

[features]
default = ["enabled"]
enabled = []
full = ["enabled"]

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

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

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

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

[dependencies]

[dev-dependencies.test_tools]
version = "~0.16.0"
features = ["full"]

[lints.clippy]
absolute_paths = "allow"
inline_always = "allow"
module_name_repetitions = "allow"
single_call_fn = "allow"
std_instead_of_alloc = "allow"
std_instead_of_core = "warn"
undocumented_unsafe_blocks = "deny"
wildcard_imports = "allow"

[lints.clippy.pedantic]
level = "warn"
priority = -1

[lints.clippy.restriction]
level = "allow"
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
