Skip to content

Commit

Permalink
feat: mayor refactor of the metadata reading
Browse files Browse the repository at this point in the history
  • Loading branch information
eerii committed Dec 5, 2024
1 parent 4cbe1ec commit ea007c5
Show file tree
Hide file tree
Showing 15 changed files with 637 additions and 492 deletions.
13 changes: 7 additions & 6 deletions Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -19,14 +19,15 @@ edition = "2018"
documentation = "https://docs.rs/system-deps/"
readme = "README.md"

[build-dependencies]
system-deps-meta = { path = "./meta", optional = true }

[dependencies]
pkg-config = "0.3.25"
toml = { version = "0.8", default-features = false, features = ["parse"] }
version-compare = "0.2"
heck = "0.5"
cfg-expr = { version = "0.17", features = ["targets"] }
system-deps-binary = { path = "./binary", optional = true }
cc = { version = "1.2", optional = true }

[dev-dependencies]
lazy_static = "1"
Expand All @@ -35,7 +36,7 @@ assert_matches = "1.5"

[features]
default = [ "binary" ]
binary = [ "dep:system-deps-binary", "dep:cc" ]
gx = [ "system-deps-binary/gz" ]
xz = [ "system-deps-binary/xz" ]
zip = [ "system-deps-binary/zip" ]
binary = [ "system-deps-meta/binary" ]
gx = [ "system-deps-meta/gz" ]
xz = [ "system-deps-meta/xz" ]
zip = [ "system-deps-meta/zip" ]
23 changes: 0 additions & 23 deletions binary/Cargo.toml

This file was deleted.

345 changes: 0 additions & 345 deletions binary/build.rs

This file was deleted.

Loading

0 comments on commit ea007c5

Please sign in to comment.