2022-07-10 19:01:56 +02:00
|
|
|
[package]
|
|
|
|
name = "codemp"
|
2023-11-30 04:00:52 +01:00
|
|
|
version = "0.5.1"
|
2022-07-10 19:01:56 +02:00
|
|
|
edition = "2021"
|
|
|
|
|
2022-10-18 02:19:15 +02:00
|
|
|
[lib]
|
2023-04-10 20:25:47 +02:00
|
|
|
name = "codemp"
|
2022-07-10 19:01:56 +02:00
|
|
|
|
|
|
|
[dependencies]
|
2023-04-11 14:02:03 +02:00
|
|
|
# core
|
2022-07-30 03:02:38 +02:00
|
|
|
tracing = "0.1"
|
2023-11-09 05:21:24 +01:00
|
|
|
# woot
|
2024-01-25 16:31:38 +01:00
|
|
|
codemp-woot = { git = "ssh://git@github.com/codewithotherpeopleandchangenamelater/woot.git", features = ["serde"], tag = "v0.1.1", optional = true }
|
2023-09-10 03:40:31 +02:00
|
|
|
# proto
|
|
|
|
tonic = { version = "0.9", features = ["tls", "tls-roots"], optional = true }
|
2023-07-30 22:58:24 +02:00
|
|
|
prost = { version = "0.11.8", optional = true }
|
2023-09-10 03:40:31 +02:00
|
|
|
# api
|
|
|
|
similar = { version = "2.2", features = ["inline"], optional = true }
|
|
|
|
tokio = { version = "1.0", features = ["macros", "rt-multi-thread", "sync", "full"], optional = true }
|
|
|
|
async-trait = { version = "0.1", optional = true }
|
|
|
|
# client
|
|
|
|
md5 = { version = "0.7.0", optional = true }
|
|
|
|
uuid = { version = "1.3.1", features = ["v4"], optional = true }
|
|
|
|
serde_json = { version = "1", optional = true }
|
|
|
|
tokio-stream = { version = "0.1", optional = true }
|
|
|
|
# global
|
2023-07-30 22:58:24 +02:00
|
|
|
lazy_static = { version = "1.4", optional = true }
|
2023-12-29 01:03:08 +01:00
|
|
|
serde = { version = "1.0.193", features = ["derive"] }
|
2024-01-25 02:13:45 +01:00
|
|
|
postcard = "1.0.8"
|
2022-07-10 19:01:56 +02:00
|
|
|
|
|
|
|
[build-dependencies]
|
2023-04-07 03:05:21 +02:00
|
|
|
tonic-build = "0.9"
|
2023-07-30 22:58:24 +02:00
|
|
|
|
|
|
|
[features]
|
2024-01-25 02:13:45 +01:00
|
|
|
default = ["client"]
|
2023-12-29 01:03:08 +01:00
|
|
|
api = ["woot", "dep:similar", "dep:tokio", "dep:async-trait"]
|
|
|
|
woot = ["dep:codemp-woot"]
|
|
|
|
transport = ["dep:prost", "dep:tonic"]
|
|
|
|
client = ["transport", "api", "dep:tokio", "dep:tokio-stream", "dep:uuid", "dep:md5", "dep:serde_json"]
|
|
|
|
server = ["transport"]
|
|
|
|
global = ["client", "dep:lazy_static"]
|
|
|
|
sync = ["client"]
|