cols 0.3.2

Smart adaptive formatting of columnar data
# 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"
rust-version = "1.88"
name = "cols"
version = "0.3.2"
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Smart adaptive formatting of columnar data"
homepage = "https://rustutils.gitlab.io/cols/"
readme = "README.md"
license = "MIT OR Apache-2.0"
repository = "https://gitlab.com/rustutils/cols"

[package.metadata.docs.rs]
all-features = true
rustdoc-args = [
    "--cfg",
    "docsrs",
]

[features]
color = ["dep:colored"]
derive = ["dep:cols-derive"]
regex = ["dep:regex"]

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

[[example]]
name = "derive"
path = "examples/derive.rs"
required-features = ["derive"]

[[example]]
name = "filter"
path = "examples/filter.rs"
required-features = ["derive"]

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

[[example]]
name = "json"
path = "examples/json.rs"
required-features = ["derive"]

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

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

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

[[example]]
name = "wrap"
path = "examples/wrap.rs"
required-features = ["derive"]

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

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

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

[dependencies.colored]
version = "3"
optional = true

[dependencies.cols-derive]
version = "=0.3.2"
optional = true

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

[dependencies.unicode-width]
version = "0.2"

[dev-dependencies.insta]
version = "1.47.1"

[dev-dependencies.similar]
version = "2.7.0"

[dev-dependencies.tempfile]
version = "3"