2021-06-02 21:09:58 +00:00
|
|
|
[package]
|
|
|
|
name = "tenebrous-rpc"
|
|
|
|
version = "0.1.0"
|
|
|
|
authors = ["projectmoon <projectmoon@agnos.is>"]
|
|
|
|
edition = "2018"
|
|
|
|
|
2021-09-03 09:34:33 +00:00
|
|
|
# Default is to build tonic and tonic-build as they normally are. The
|
|
|
|
# wasm feature is for WebAssmebly, and disables Tonic's transport
|
|
|
|
# feature. There is a separate grpc-web-client that can use tonic's
|
|
|
|
# requests to make grpc-web requests.
|
|
|
|
[features]
|
|
|
|
default = ["tonic/default", "tonic-build/default"]
|
|
|
|
wasm = [ "tonic/codegen", "tonic/prost", "tonic-build/prost"]
|
2021-06-02 21:09:58 +00:00
|
|
|
|
|
|
|
[build-dependencies]
|
2021-09-03 09:34:33 +00:00
|
|
|
tonic-build = { version = "0.4", default_features = false }
|
2021-06-02 21:09:58 +00:00
|
|
|
|
|
|
|
[dependencies]
|
2021-09-03 09:34:33 +00:00
|
|
|
tonic = { version = "0.4", default_features = false }
|
2021-06-02 21:09:58 +00:00
|
|
|
prost = "0.7"
|