Skip to content

Commit

Permalink
fix: duplicate code, simplfied logic.
Browse files Browse the repository at this point in the history
  • Loading branch information
EthnTuttle committed Feb 27, 2024
1 parent 0ccb60f commit 6ee48e1
Showing 1 changed file with 3 additions and 4 deletions.
7 changes: 3 additions & 4 deletions moksha-wallet/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -30,17 +30,16 @@ serde-wasm-bindgen = "0.6.3"
wasm-bindgen = "0.2.90"
rexie = "0.5.0"
tokio = { version = "1.35.1", features = ["rt", "sync"] }
dirs = "5.0.1"

[target.'cfg(all(not(target_family="wasm"), not(target_os="espidf")))'.dependencies]
reqwest = { version = "0.11.23", features = ["serde_json", "json", "rustls-tls"], default-features = false }
tokio = { version = "1.35.1", features = ["rt", "rt-multi-thread", "macros"] }
sqlx = { version = "0.7.3", default-features = false, features = ["sqlite", "runtime-tokio", "tls-rustls", "migrate", "macros"] }

# Any target_family except espidf
[target.'cfg(not(target_os = "espidf"))'.dependencies]
dirs = "5.0.1"

[target.'cfg(target_os="espidf")'.dependencies]

[target.xtensa-esp32s3-none-elf.dependencies]
gloo-net = { version = "0.5.0" }
rexie = "0.5.0"
tokio = { version = "1.35.1", features = ["rt", "sync"] }
Expand Down

0 comments on commit 6ee48e1

Please sign in to comment.