mirror of
https://github.com/hexedtech/codemp.git
synced 2024-11-22 15:24:48 +01:00
new features
This commit is contained in:
parent
ab982f4882
commit
3b1be930d8
1 changed files with 9 additions and 7 deletions
|
@ -25,15 +25,17 @@ serde_json = { version = "1", optional = true }
|
||||||
tokio-stream = { version = "0.1", optional = true }
|
tokio-stream = { version = "0.1", optional = true }
|
||||||
# global
|
# global
|
||||||
lazy_static = { version = "1.4", optional = true }
|
lazy_static = { version = "1.4", optional = true }
|
||||||
|
serde = { version = "1.0.193", features = ["derive"] }
|
||||||
|
|
||||||
[build-dependencies]
|
[build-dependencies]
|
||||||
tonic-build = "0.9"
|
tonic-build = "0.9"
|
||||||
|
|
||||||
[features]
|
[features]
|
||||||
default = ["client"]
|
default = ["transport", "dep:serde_json"]
|
||||||
api = ["woot", "dep:similar", "dep:tokio", "dep:async-trait"]
|
api = ["woot", "dep:similar", "dep:tokio", "dep:async-trait"]
|
||||||
woot = ["dep:codemp-woot"]
|
woot = ["dep:codemp-woot"]
|
||||||
proto = ["dep:prost", "dep:tonic"]
|
transport = ["dep:prost", "dep:tonic"]
|
||||||
client = ["proto", "api", "dep:tokio", "dep:tokio-stream", "dep:uuid", "dep:md5", "dep:serde_json"]
|
client = ["transport", "api", "dep:tokio", "dep:tokio-stream", "dep:uuid", "dep:md5", "dep:serde_json"]
|
||||||
|
server = ["transport"]
|
||||||
global = ["client", "dep:lazy_static"]
|
global = ["client", "dep:lazy_static"]
|
||||||
sync = ["client"]
|
sync = ["client"]
|
||||||
|
|
Loading…
Reference in a new issue