[workspace]
members = ["clap-handler-derive"]
[package]
name = "clap-handler"
version = "0.1.2"
authors = ["Yesterday17 <mmf@mmf.moe>"]
license = "MIT OR Apache-2.0"
description = "A command handler works with `clap-derive` to generating subcommand handlers."
repository = "https://github.com/ProjectAnni/clap-handler"
edition = "2024"
keywords = ["clap", "multi-level", "subcommand"]
[dependencies]
clap-handler-derive = { path = "./clap-handler-derive", version = "=0.1.1" }
async-trait = { version = "0.1", optional = true }
anyhow = "1.0"
[dev-dependencies]
clap = { version = "4", features = ["derive"] }
[features]
default = []
async = ["async-trait", "clap-handler-derive/async"]