Skip to content

Commit

Permalink
Make pico-args a binary-only dependency.
Browse files Browse the repository at this point in the history
  • Loading branch information
CGMossa authored Nov 30, 2023
1 parent b8938f4 commit 9f3aa52
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 4 deletions.
2 changes: 2 additions & 0 deletions Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,4 +1,6 @@
[workspace]
resolver = "2"

members = [
"crates/resvg",
"crates/usvg",
Expand Down
4 changes: 2 additions & 2 deletions crates/resvg/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -12,13 +12,13 @@ workspace = "../.."

[[bin]]
name = "resvg"
required-features = ["text", "system-fonts", "memmap-fonts"]
required-features = ["text", "system-fonts", "memmap-fonts", "pico-args"]

[dependencies]
gif = { version = "0.12", optional = true }
jpeg-decoder = { version = "0.3", default-features = false, features = ["platform_independent"], optional = true }
log = "0.4"
pico-args = { version = "0.5", features = ["eq-separator"] }
pico-args = { version = "0.5", optional = true, features = ["eq-separator"] }
png = { version = "0.17", optional = true }
rgb = "0.8"
svgtypes = { git = "https://github.com/RazrFalcon/svgtypes" }
Expand Down
4 changes: 2 additions & 2 deletions crates/usvg/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -15,12 +15,12 @@ workspace = "../.."

[[bin]]
name = "usvg"
required-features = ["text", "system-fonts", "memmap-fonts"]
required-features = ["text", "system-fonts", "memmap-fonts", "pico-args"]

[dependencies]
base64 = "0.21" # for embedded images
log = "0.4"
pico-args = { version = "0.5", features = ["eq-separator"] }
pico-args = { version = "0.5", optional = true, features = ["eq-separator"] }
usvg-parser = { path = "../usvg-parser", version = "0.36.0" }
usvg-tree = { path = "../usvg-tree", version = "0.36.0" }
xmlwriter = "0.1"
Expand Down

0 comments on commit 9f3aa52

Please sign in to comment.