[package] name = "type_description" version = "0.5.0" edition = "2021" license = "MPL-2.0" description = "Machine-readable type descriptions" repository = "https://github.com/TheNeikos/type_description" keywords = ["type_description", "serde", "machine-readable"] categories = ["config", "rust-patterns", "value-formatting"] resolver = "2" # See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html [workspace] members = ["type_description_derive", "online_description_generator"] [[bin]] name = "describe_types" required-features = ["bin"] [features] default = [] render = ["render_markdown", "render_terminal"] render_markdown = ["dep:indexmap"] render_terminal = ["dep:termimad", "dep:pretty", "dep:nu-ansi-term"] bin = ["render", "dep:clap", "dep:serde_json", "dep:term_size"] bytesize = ["dep:bytesize"] url = ["dep:url"] uuid = ["dep:uuid"] [dependencies] clap = { version = "4.2.7", features = ["derive"], optional = true } indexmap = { version = "1.9.3", optional = true } nu-ansi-term = { version = "0.47.0", optional = true } pretty = { version = "0.12.1", optional = true } serde = { version = "1.0.163", features = ["derive"] } serde_json = { version = "1.0.95", optional = true } term_size = { version = "0.3.2", optional = true } termimad = { version = "0.23.0", optional = true } type_description_derive = { version = "0.5.0", path = "type_description_derive" } bytesize = { version = "1", optional = true } url = { version = "2", optional = true } uuid = { version = "1", optional = true } [dev-dependencies] serde = { version = "1.0.163", features = ["derive"] } serde_json = "1.0.95" trybuild = "1.0.80" [package.metadata.docs.rs] all-features = true