# 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.0"
name = "puniyu_command_parser"
version = "0.9.0"
authors = ["wuliya <3369906077@qq.com>"]
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "puniyu 命令解析器，统一命令文本解析、别名剥离与参数验证流程"
homepage = "https://github.com/puniyu/core"
readme = "README.md"
license = "LGPL-3.0-only"
repository = "https://github.com/puniyu/core"
resolver = "2"

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

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

[dependencies.clap]
version = "4.5"
features = [
    "std",
    "string",
    "error-context",
]
default-features = false

[dependencies.puniyu_command]
version = "0.9.0"
features = ["registry"]

[dependencies.shlex]
version = "2.0"

[dependencies.thiserror]
version = "2.0.18"

[dev-dependencies.async-trait]
version = "0.1.89"

[dev-dependencies.puniyu_command]
version = "0.9.0"

[dev-dependencies.puniyu_context]
version = "0.9.0"

[dev-dependencies.puniyu_error]
version = "0.8.8"
default-features = false

[lints.clippy]
unwrap_used = "deny"
