# 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 = "2024"
name = "describer"
version = "0.3.1"
authors = ["Julia Boeira <jnboeira@outlook.com>"]
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Struct describing helper"
documentation = "https://docs.rs/describer/"
readme = "README.md"
keywords = [
    "struct",
    "describe",
    "type",
]
license = "MIT"
repository = "https://github.com/naomijub/describer"

[features]
chrono = ["dep:chrono"]
dashmap = ["dep:dashmap"]
full = [
    "chrono",
    "regex",
    "uuid",
    "indexmap",
    "tokio",
    "http",
    "dashmap",
]
http = ["dep:http"]
indexmap = ["dep:indexmap"]
regex = ["dep:regex"]
tokio = ["dep:tokio"]
uuid = ["dep:uuid"]

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

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

[dependencies.chrono]
version = "0.4"
optional = true

[dependencies.dashmap]
version = "6"
optional = true

[dependencies.describer_derive]
version = "0.3"

[dependencies.http]
version = "1"
optional = true

[dependencies.indexmap]
version = "2"
optional = true

[dependencies.regex]
version = "1"
optional = true

[dependencies.tokio]
version = "1"
features = ["sync"]
optional = true

[dependencies.uuid]
version = "1"
optional = true

[dev-dependencies.trybuild]
version = "1.0"
features = ["diff"]

[lints.clippy]
all = "deny"
nursery = "deny"
pedantic = "deny"
