# 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 = "workflow-rpc" version = "0.18.0" authors = ["WORKFLOW-RS developers"] build = false exclude = [ "/.*", "/test", ] autobins = false autoexamples = false autotests = false autobenches = false description = """ Workflow RPC (wRPC) framework based on the workflow-websocket crate offering native & in-browser (WASM32) clients and a native server (based on tokio & tungstenite). wRPC supports custom Borsh and JSON protocols with use of generics for RPC method declarations. """ readme = "README.md" keywords = [ "websocket", "rpc", "wasm", "browser", ] categories = [ "web-programming::websocket", "web-programming::http-client", ] license = "MIT OR Apache-2.0" repository = "https://github.com/workflow-rs/workflow-rs" [lib] name = "workflow_rpc" crate-type = [ "cdylib", "lib", ] path = "src/lib.rs" doctest = false [dependencies.ahash] version = "0.8.6" [dependencies.async-std] version = "1.12.0" features = ["attributes"] [dependencies.async-trait] version = "0.1.74" [dependencies.borsh] version = "1.5.1" features = [ "derive", "rc", ] [dependencies.downcast-rs] version = "1.2.0" [dependencies.futures] version = "0.3.29" [dependencies.futures-util] version = "0.3.29" features = [ "sink", "std", ] default-features = false [dependencies.manual_future] version = "0.1.1" [dependencies.rand] version = "0.8.5" features = ["getrandom"] [dependencies.serde] version = "1.0.190" features = [ "derive", "rc", ] [dependencies.serde_json] version = "1.0.108" [dependencies.thiserror] version = "1.0.50" [dependencies.wasm-bindgen] version = "0.2.93" [dependencies.workflow-core] version = "0.18.0" default-features = false [dependencies.workflow-log] version = "0.18.0" default-features = false [dependencies.workflow-rpc-macros] version = "0.18.0" default-features = false [dependencies.workflow-task] version = "0.18.0" default-features = false [dependencies.workflow-wasm] version = "0.18.0" default-features = false [dependencies.workflow-websocket] version = "0.18.0" default-features = false [features] default = ["native-tls"] native-tls = ["workflow-websocket/native-tls"] native-tls-vendored = ["workflow-websocket/native-tls-vendored"] rustls-tls-native-roots = ["workflow-websocket/rustls-tls-native-roots"] rustls-tls-webpki-roots = ["workflow-websocket/rustls-tls-webpki-roots"] wasm32-sdk = ["workflow-websocket/wasm32-sdk"] [target.'cfg(not(target_arch = "wasm32"))'.dependencies.futures-util] version = "0.3.29" features = [ "sink", "std", ] default-features = false [target.'cfg(not(target_arch = "wasm32"))'.dependencies.tokio] version = "1.33.0" features = [ "io-util", "time", "sync", "macros", "rt", "rt-multi-thread", ] default-features = false [target.'cfg(not(target_arch = "wasm32"))'.dependencies.tungstenite] version = "0.23.0" default-features = false [target.'cfg(target_arch = "wasm32")'.dependencies.getrandom] version = "0.2.10" features = ["js"] [lints.clippy] multiple_bound_locations = "allow"