# THIS FILE IS AUTOMATICALLY GENERATED BY CARGO # # When uploading crates to the registry Cargo will automatically # "normalize" Cargo.toml files for maximal compatibility # with all versions of Cargo and also rewrite `path` dependencies # to registry (e.g., crates.io) dependencies. # # If you are reading this file be aware that the original Cargo.toml # will likely look very different (and much more reasonable). # See Cargo.toml.orig for the original contents. [package] edition = "2021" name = "wrpc" version = "0.14.0" authors = ["Roman Volosatovs "] build = false autobins = false autoexamples = false autotests = false autobenches = false description = "WebAssembly component-native RPC framework based on WIT" homepage = "https://github.com/bytecodealliance/wrpc" readme = "README.md" categories = ["wasm"] license = "Apache-2.0 WITH LLVM-exception" repository = "https://github.com/bytecodealliance/wrpc" [profile.bench] debug = 2 [lib] name = "wrpc" path = "src/lib.rs" [[bin]] name = "wit-bindgen-wrpc" path = "src/bin/wit-bindgen-wrpc.rs" required-features = ["bin-bindgen"] [[bin]] name = "wrpc-wasmtime" path = "src/bin/wrpc-wasmtime.rs" required-features = ["bin-wasmtime"] [[test]] name = "go" path = "tests/go.rs" [[test]] name = "rust" path = "tests/rust.rs" [[bench]] name = "bench" path = "benches/bench.rs" harness = false [dependencies.anyhow] version = "1" features = ["std"] default-features = false [dependencies.async-nats] version = "0.37" optional = true default-features = false [dependencies.clap] version = "4" features = [ "color", "derive", "error-context", "help", "std", "suggestions", "usage", ] optional = true default-features = false [dependencies.tokio] version = "1" optional = true default-features = false [dependencies.tracing] version = "0.1" features = ["attributes"] default-features = false [dependencies.wit-bindgen-core] version = "0.34" optional = true default-features = false [dependencies.wit-bindgen-wrpc] version = "0.9" default-features = false [dependencies.wit-bindgen-wrpc-go] version = "0.11" optional = true default-features = false [dependencies.wit-bindgen-wrpc-rust] version = "0.9" optional = true default-features = false [dependencies.wrpc-cli] version = "0.4" optional = true default-features = false [dependencies.wrpc-runtime-wasmtime] version = "0.25" optional = true default-features = false [dependencies.wrpc-transport] version = "0.28.3" default-features = false [dependencies.wrpc-transport-nats] version = "0.27.1" features = ["async-nats-0_37"] optional = true default-features = false [dependencies.wrpc-transport-quic] version = "0.4" optional = true default-features = false [dependencies.wrpc-transport-web] version = "0.1" optional = true default-features = false [dependencies.wrpc-wasmtime-cli] version = "0.3" optional = true default-features = false [dev-dependencies.anyhow] version = "1" default-features = false [dev-dependencies.bytes] version = "1" default-features = false [dev-dependencies.criterion] version = "0.5" features = [ "async_tokio", "cargo_bench_support", "html_reports", "plotters", "rayon", ] default-features = false [dev-dependencies.futures] version = "0.3" default-features = false [dev-dependencies.tempfile] version = "3" default-features = false [dev-dependencies.test-log] version = "0.2" features = [ "color", "log", "trace", ] default-features = false [dev-dependencies.tokio] version = "1" features = [ "process", "rt-multi-thread", ] default-features = false [dev-dependencies.wasmtime] version = "26.0.1" default-features = false [dev-dependencies.wasmtime-cli-flags] version = "26.0.1" features = [ "async", "cache", "component-model", "coredump", "cranelift", "gc", "memory-protection-keys", "parallel-compilation", "pooling-allocator", "threads", ] default-features = false [dev-dependencies.wasmtime-wasi] version = "26.0.1" default-features = false [dev-dependencies.wrpc-transport] version = "0.28.3" features = ["net"] default-features = false [features] bin = [ "bin-bindgen", "bin-wasmtime", ] bin-bindgen = [ "dep:clap", "dep:wit-bindgen-core", "dep:wit-bindgen-wrpc-go", "wit-bindgen-wrpc-go/clap", "wit-bindgen-wrpc-rust/clap", ] bin-wasmtime = [ "dep:tokio", "dep:wrpc-wasmtime-cli", "tokio/rt-multi-thread", ] default = [ "bin", "nats", "net", "quic", "wasmtime", "web-transport", ] nats = [ "dep:async-nats", "dep:wrpc-transport-nats", "wrpc-cli/nats", ] net = ["wrpc-transport/net"] quic = ["dep:wrpc-transport-quic"] wasmtime = ["dep:wrpc-runtime-wasmtime"] web-transport = ["dep:wrpc-transport-web"]