# 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 = "ptree2" version = "1.0.0" authors = ["Miha Čančula "] description = "Pretty-print tree-like structures" readme = "README.md" keywords = [ "tree", "cli", "terminal", ] categories = ["command-line-interface"] license = "MIT OR Apache-2.0" repository = "https://github.com/jthulhu/ptree2" [[example]] name = "basic" [[example]] name = "dirtree" [[example]] name = "builder" required-features = ["ansi"] [[example]] name = "petgraph" required-features = ["petgraph"] [[example]] name = "serde" required-features = [ "value", "ansi", ] [dependencies.ansi_term] version = "0.12" optional = true [dependencies.atty] version = "0.2" optional = true [dependencies.config] version = "0.14" optional = true [dependencies.directories] version = "5" optional = true [dependencies.petgraph] version = "0.6" optional = true [dependencies.serde] version = "1" features = ["derive"] [dependencies.serde-value] version = "0.7" optional = true [dependencies.tint] version = "1" optional = true [dev-dependencies.lazy_static] version = "1" [dev-dependencies.serde_any] version = "0.5" [dev-dependencies.structopt] version = "0.3" [dev-dependencies.tempfile] version = "3" [dev-dependencies.version-sync] version = "0.9" [features] ansi = [ "ansi_term", "atty", "tint", ] conf = [ "config", "directories", ] default = [ "petgraph", "ansi", "conf", "value", ] value = ["serde-value"]