fix: revert toml format and param for target
Signed-off-by: Anton Whalley <anton@venshare.com>
This commit is contained in:
parent
50320654ab
commit
b3f04bfe64
|
@ -33,7 +33,6 @@ jobs:
|
|||
if: matrix.target == 'x86_64-unknown-linux-musl'
|
||||
- run: sudo apt-get install -y musl musl-dev musl-tools cmake
|
||||
if: matrix.target == 'x86_64-unknown-linux-musl'
|
||||
|
||||
# # Caching stuff
|
||||
- uses: actions/cache@v2
|
||||
with:
|
||||
|
@ -105,7 +104,7 @@ jobs:
|
|||
with:
|
||||
command: build
|
||||
toolchain: ${{ matrix.toolchain }}
|
||||
args: --target wasm32-wasi --features "http-binding hyper hyper_wasi"
|
||||
args: --target ${{ matrix.target }} --features "http-binding hyper hyper_wasi"
|
||||
- uses: actions-rs/cargo@v1
|
||||
name: "Test"
|
||||
if: matrix.target == 'wasm32-wasi'
|
||||
|
|
14
Cargo.toml
14
Cargo.toml
|
@ -8,7 +8,9 @@ description = "CloudEvents official Rust SDK"
|
|||
documentation = "https://docs.rs/cloudevents-sdk"
|
||||
readme = "README.md"
|
||||
repository = "https://github.com/cloudevents/sdk-rust"
|
||||
exclude = [".github/*"]
|
||||
exclude = [
|
||||
".github/*"
|
||||
]
|
||||
categories = ["web-programming", "encoding", "data-structures"]
|
||||
|
||||
# Enable all features when building on docs.rs to show feature gated bindings
|
||||
|
@ -43,18 +45,14 @@ uuid = { version = "1", features = ["v4"] }
|
|||
# runtime optional deps
|
||||
actix-web = { version = "4", optional = true }
|
||||
actix-http = { version = "3", optional = true }
|
||||
reqwest-lib = { version = "^0.11", default-features = false, features = [
|
||||
"rustls-tls",
|
||||
], optional = true, package = "reqwest" }
|
||||
rdkafka-lib = { version = "^0.29", features = [
|
||||
"cmake-build",
|
||||
], optional = true, package = "rdkafka" }
|
||||
reqwest-lib = { version = "^0.11", default-features = false, features = ["rustls-tls"], optional = true, package = "reqwest" }
|
||||
rdkafka-lib = { version = "^0.36", features = ["cmake-build"], optional = true, package = "rdkafka" }
|
||||
warp-lib = { version = "^0.3", optional = true, package = "warp" }
|
||||
async-trait = { version = "^0.1.33", optional = true }
|
||||
bytes = { version = "^1.0", optional = true }
|
||||
futures = { version = "^0.3", optional = true }
|
||||
http = { version = "0.2", optional = true }
|
||||
axum-lib = { version = "^0.6", optional = true, package = "axum" }
|
||||
axum-lib = { version = "^0.6", optional = true, package="axum"}
|
||||
http-body = { version = "^0.4", optional = true }
|
||||
poem-lib = { version = "=1.2.34", optional = true, package = "poem" }
|
||||
nats-lib = { version = "0.21.0", optional = true, package = "nats" }
|
||||
|
|
Loading…
Reference in New Issue