Skip to content

Commit be3ef4a

Browse files
committed
move p2 impl to sys/p2
1 parent a64d084 commit be3ef4a

35 files changed

Lines changed: 1001 additions & 954 deletions

Cargo.toml

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -16,10 +16,14 @@ rust-version.workspace = true
1616
default = ["json"]
1717
json = ["dep:serde", "dep:serde_json"]
1818

19+
[lints.rust]
20+
unexpected_cfgs = { level = "warn", check-cfg = ['cfg(feature, values("wasip3"))'] }
21+
1922
[dependencies]
2023
anyhow.workspace = true
2124
async-task.workspace = true
2225
bytes.workspace = true
26+
cfg-if.workspace = true
2327
futures-lite.workspace = true
2428
http-body-util.workspace = true
2529
http-body.workspace = true
@@ -72,6 +76,7 @@ async-task = "4.7"
7276
axum = { version = "0.8.6", default-features = false }
7377
bytes = "1.10.1"
7478
cargo_metadata = "0.22"
79+
cfg-if = "1"
7580
clap = { version = "4.5.26", features = ["derive"] }
7681
futures-core = "0.3.19"
7782
futures-lite = "1.12.0"

0 commit comments

Comments
 (0)