Skip to content

Commit

Permalink
Merge pull request #9 from HenriqueNogara/feat/add-cli-feature
Browse files Browse the repository at this point in the history
Add cli feature
  • Loading branch information
Sunshine committed Aug 31, 2022
2 parents 386d055 + e52d4cc commit 5e06144
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 5e06144

Please sign in to comment.