Skip to content

Commit

Permalink
feat(#44): features, opt clap
Browse files Browse the repository at this point in the history
  • Loading branch information
h1alexbel committed Jun 24, 2024
1 parent f8bde4e commit fce2ded
Showing 1 changed file with 8 additions and 1 deletion.
9 changes: 8 additions & 1 deletion cli/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,14 @@ assert_cmd = "2.0.14"

[dependencies]
anyhow = "1.0.86"
clap = { version = "4.5.7", features = ["derive"] }
clap = { version = "4.5.7", optional = true, features = ["derive", "string"] }
clap_complete = { version = "4.5.1", optional = true }
clap_mangen = { version = "0.2.20", optional = true }
clap_complete_nushell = { version = "4.5.1", optional = true }
server = { path = "../server" }
tokio = { version = "1.0.0", features = ["rt", "rt-multi-thread", "macros"] }
log = "0.4.21"

[features]
default = ["cli"]
cli = ["clap", "clap_complete", "clap_mangen", "clap_complete_nushell"]

0 comments on commit fce2ded

Please sign in to comment.