[package] name = "igcp" version = "0.1.6" edition = "2021" repository = "https://github.com/znx3p0/canary" keywords = [ "rpc", "async", "network", "microservices", "api" ] description = "provides ergonomic abstractions for network communication; communication backend of Canary" license = "MIT" # See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html [dependencies] derive_more = "0.99" futures-lite = "1" futures = "0.3" # serde serde = { version = "1", features = [ "derive" ] } serde_repr = "0.1" # formats bincode = { version = "1" } serde_json = { version = "1" } bson = { version = "2.0.1" } postcard = { version = "0.7.2", features = [ "alloc" ] } # encryption snow = "0.8.0" # api may change rand = "0.8" cfg-if = "1" async-std = { version = "1" } # websocket support [target.'cfg(not(target_arch = "wasm32"))'.dependencies] async-tungstenite = { version = "0.16.1", features = [ ] } [target.'cfg(target_arch = "wasm32")'.dependencies] reqwasm = "0.4.0" getrandom = { version = "~0.2.3", features = ["js"] } uuid = { version = "~0.8.2", features = ["wasm-bindgen"] } [features] handwritten-futures = [] default = [ "handwritten-futures" ]