Skip to content

Commit

Permalink
fix: adjust mithril-client features for windows target
Browse files Browse the repository at this point in the history
  • Loading branch information
scarmuega committed Dec 24, 2024
1 parent 4147810 commit 503c89b
Show file tree
Hide file tree
Showing 2 changed files with 77 additions and 0 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.

12 changes: 12 additions & 0 deletions Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -67,6 +67,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 503c89b

Please sign in to comment.