[package]
name = "describer"
version = "0.3.1"
edition = "2024"
authors = ["Julia Boeira <jnboeira@outlook.com>"]
description = "Struct describing helper"
readme = "../README.md"
keywords = ["struct", "describe", "type"]
documentation = "https://docs.rs/describer/"
repository = "https://github.com/naomijub/describer"
license = "MIT"
autotests = false


[dependencies]
describer_derive = "0.3"
chrono = {version = "0.4", optional = true }
regex = {version = "1", optional = true }
uuid = {version = "1", optional = true }
indexmap = {version = "2", optional = true }
tokio = {version = "1", optional = true, features = ["sync"]}
http = {version = "1", optional = true }
dashmap = {version = "6", optional = true }

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

[dev-dependencies]
trybuild = { version = "1.0", features = ["diff"] }

[lints]
workspace = true

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