diff options
| author | 魏曹先生 <1992414357@qq.com> | 2026-05-29 14:17:14 +0800 |
|---|---|---|
| committer | 魏曹先生 <1992414357@qq.com> | 2026-05-29 14:21:11 +0800 |
| commit | dccc86be272091f4f14be52951f8c02996318cd0 (patch) | |
| tree | 6c99a113364e24482b9a03fbb7152aac83af83fd /examples/example-clap-binding/Cargo.toml | |
| parent | e87fc1c89e4508fca6e7fd0ebafd3f17a0b95095 (diff) | |
Enable color feature for clap and fix help and error rendering
Diffstat (limited to 'examples/example-clap-binding/Cargo.toml')
| -rw-r--r-- | examples/example-clap-binding/Cargo.toml | 8 |
1 files changed, 6 insertions, 2 deletions
diff --git a/examples/example-clap-binding/Cargo.toml b/examples/example-clap-binding/Cargo.toml index d261786..a019442 100644 --- a/examples/example-clap-binding/Cargo.toml +++ b/examples/example-clap-binding/Cargo.toml @@ -11,5 +11,9 @@ features = ["clap"] # Import `clap` to your project [dependencies.clap] version = "4.6.1" -# Enable `derive` features -features = ["derive"] +features = [ + # Enable `derive` feature to support `clap::Parser` + "derive", + # Enable `color` feature to support ANSI colors + "color", +] |
