d2o 0.1.1

Help to Options - Parse help or manpage texts and generate shell completion scripts
# 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 = "d2o"
version = "0.1.1"
build = "build.rs"
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Help to Options - Parse help or manpage texts and generate shell completion scripts"
documentation = "https://github.com/MuntasirSZN/d2o"
readme = "README.md"
keywords = [
    "cli",
    "completion",
    "help",
    "manpage",
    "shell",
]
categories = [
    "command-line-utilities",
    "parsing",
]
license = "MIT"
repository = "https://github.com/MuntasirSZN/d2o"

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

[[bin]]
name = "d2o"
path = "src/main.rs"

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

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

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

[[bench]]
name = "parsing"
path = "benches/parsing.rs"
harness = false

[dependencies.aho-corasick]
version = "1.1"

[dependencies.anyhow]
version = "1.0"

[dependencies.argfile]
version = "1.0.0"

[dependencies.bstr]
version = "1.12"

[dependencies.clap]
version = "4.6"
features = [
    "cargo",
    "derive",
    "env",
]

[dependencies.clap-verbosity-flag]
version = "3.0"
features = ["tracing"]
default-features = false

[dependencies.clap_complete]
version = "4.6"

[dependencies.clap_complete_nushell]
version = "4.6"

[dependencies.directories]
version = "6.0"

[dependencies.ecow]
version = "0.2"
features = ["serde"]

[dependencies.foldhash]
version = "0.2.0"

[dependencies.memchr]
version = "2.8"

[dependencies.rayon]
version = "1.12"

[dependencies.regex]
version = "1.12"

[dependencies.scc]
version = "3"

[dependencies.serde]
version = "1.0"
features = ["derive"]

[dependencies.serde_json]
version = "1.0"

[dependencies.shadow-rs]
version = "2.0"
default-features = false

[dependencies.tokio]
version = "1.52"
features = [
    "fs",
    "io-util",
    "macros",
    "process",
    "rt-multi-thread",
]

[dependencies.tracing]
version = "0.1"

[dependencies.tracing-subscriber]
version = "0.3"
features = [
    "env-filter",
    "fmt",
]

[dev-dependencies.assert_cmd]
version = "2.2"

[dev-dependencies.divan]
version = "4.5"
package = "codspeed-divan-compat"

[dev-dependencies.insta]
version = "1.47"
features = [
    "redactions",
    "yaml",
]

[dev-dependencies.predicates]
version = "3.1"

[dev-dependencies.proptest]
version = "1.11"

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

[dev-dependencies.tokio]
version = "1.52"
features = [
    "fs",
    "io-util",
    "macros",
    "process",
    "rt-multi-thread",
]

[build-dependencies.clap]
version = "4.6"
features = [
    "cargo",
    "derive",
]

[build-dependencies.clap-verbosity-flag]
version = "3.0"
features = ["tracing"]
default-features = false

[build-dependencies.clap_complete]
version = "4.6"

[build-dependencies.clap_complete_nushell]
version = "4.6"

[build-dependencies.clap_mangen]
version = "0.3"

[build-dependencies.shadow-rs]
version = "2.0"

[target.'cfg(all(target_os = "linux", not(target_arch = "arm"), not(target_arch = "aarch64")))'.dependencies.mimalloc-safe]
version = "0.1.57"
features = [
    "extended",
    "local_dynamic_tls",
    "skip_collect_on_exit",
]

[target.'cfg(all(target_os = "linux", target_arch = "aarch64"))'.dependencies.mimalloc-safe]
version = "0.1.57"
features = [
    "extended",
    "local_dynamic_tls",
    "no_opt_arch",
    "skip_collect_on_exit",
]

[target.'cfg(not(any(target_os = "linux", target_os = "freebsd", target_arch = "arm")))'.dependencies.mimalloc-safe]
version = "0.1.57"
features = [
    "extended",
    "skip_collect_on_exit",
]

[profile.release]
opt-level = 3
lto = true
codegen-units = 1