Skip to content

Commit

Permalink
fix: adjust mithril-client features for windows target (#418)
Browse files Browse the repository at this point in the history
  • Loading branch information
scarmuega authored Dec 24, 2024
1 parent 4147810 commit d70bf29
Show file tree
Hide file tree
Showing 2 changed files with 77 additions and 6 deletions.
65 changes: 65 additions & 0 deletions Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

18 changes: 12 additions & 6 deletions Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -46,12 +46,6 @@ tokio-stream = { version = "0.1.14", features = ["sync"] }
futures-util = "0.3.28"
async-stream = "0.3.5"
serde_with = "3.8.1"
mithril-client = { version = "0.10.4", optional = true, default-features = false, features = [
"fs",
"rug-backend",
"rustls-tls",
"rustls-tls-webpki-roots",
] }
protoc-wkt = "1.0.0"
itertools = "0.13.0"
indicatif = "0.17.8"
Expand All @@ -67,6 +61,18 @@ paste = "1.0.15"
tower-http = { version = "0.6.1", features = ["cors"] }
chrono = { version = "0.4.39", default-features = false }

[target.'cfg(not(windows))'.dependencies.mithril-client]
version = "0.10.4"
optional = true
default-features = false
features = ["fs", "rug-backend", "rustls-tls", "rustls-tls-webpki-roots"]

[target.'cfg(windows)'.dependencies.mithril-client]
version = "0.10.4"
optional = true
default-features = false
features = ["fs", "num-integer-backend", "rustls-tls", "rustls-tls-native-roots"]

[dev-dependencies]
tempfile = "3.3.0"

Expand Down

0 comments on commit d70bf29

Please sign in to comment.