Skip to content

Commit

Permalink
Fix Cargo.toml formatting
Browse files Browse the repository at this point in the history
  • Loading branch information
Niederb committed Apr 13, 2023
1 parent 9787d2e commit 6add742
Showing 1 changed file with 21 additions and 4 deletions.
25 changes: 21 additions & 4 deletions Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -19,14 +19,14 @@ members = [

[dependencies]
# crates.io no_std
async-trait = "0.1.68"
codec = { package = "parity-scale-codec", version = "3.2.1", default-features = false, features = ['derive'] }
derive_more = { version = "0.99.5" }
hex = { version = "0.4.3", default-features = false, features = ["alloc"] }
log = { version = "0.4.14", default-features = false }
maybe-async = { version = "0.2.7", features = ["is_sync"] }
serde = { version = "1.0.136", default-features = false, features = ["derive"] }
serde_json = { version = "1.0.79", default-features = false }
maybe-async = { version = "0.2.7", features = ["is_sync"] }
async-trait = "0.1.68"

# crates.io std only
url = { version = "2.0.0", optional = true }
Expand Down Expand Up @@ -60,8 +60,25 @@ scale-info = { version = "2.1.1", features = ["derive"] }
[features]
default = ["std", "jsonrpsee-client"]
# To support `no_std` builds in non-32 bit environments.
disable_target_static_assertions = ["sp-runtime-interface/disable_target_static_assertions"]
std = ["codec/std", "hex/std", "log/std", "serde/std", "serde_json/std", "url", "frame-metadata/std", "sp-core/std", "sp-runtime/std", "sp-runtime-interface/std", "frame-support", "ac-compose-macros/std", "ac-node-api/std", "ac-primitives/std"]
disable_target_static_assertions = [
"sp-runtime-interface/disable_target_static_assertions",
]
std = [
"codec/std",
"hex/std",
"log/std",
"serde/std",
"serde_json/std",
"url",
"frame-metadata/std",
"sp-core/std",
"sp-runtime/std",
"sp-runtime-interface/std",
"frame-support",
"ac-compose-macros/std",
"ac-node-api/std",
"ac-primitives/std",
]
jsonrpsee-client = ["std", "jsonrpsee"]
tungstenite-client = ["std", "tungstenite"]
ws-client = ["std", "ws"]
Expand Down

0 comments on commit 6add742

Please sign in to comment.