Skip to content

Commit

Permalink
Add cli feature
Browse files Browse the repository at this point in the history
  • Loading branch information
Henrique Nogara committed Aug 28, 2022
1 parent 386d055 commit e52d4cc
Showing 1 changed file with 9 additions and 1 deletion.
10 changes: 9 additions & 1 deletion Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -20,10 +20,18 @@ license = "CC0-1.0"
[dependencies]
atty = "0.2.14"
base64 = "0.13.0"
clap = "2.33.3"
clap = { version = "2.33.3", optional = true }
encoding_rs = "0.8.29"
percent-encoding = "2.1.0"
url = "2.2.2"

[dev-dependencies]
assert_cmd = "2.0.2"

[features]
default = ["cli"]
cli = ["clap"]

[[bin]]
name = "dataurl"
required-features = ["cli"]

0 comments on commit e52d4cc

Please sign in to comment.