2022-07-10 19:01:56 +02:00
|
|
|
[package]
|
|
|
|
name = "codemp"
|
2024-03-16 15:38:09 +01:00
|
|
|
version = "0.6.2"
|
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"
|
2024-03-10 02:18:54 +01:00
|
|
|
crate-type = ["cdylib"]
|
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-08-05 19:14:51 +02:00
|
|
|
codemp-woot = { git = "ssh://git@github.com/hexedtech/woot.git", features = ["serde"], tag = "v0.1.2" }
|
2023-09-10 03:40:31 +02:00
|
|
|
# proto
|
2024-08-05 19:14:51 +02:00
|
|
|
codemp-proto = { git = "ssh://git@github.com/hexedtech/codemp-proto.git", tag = "v0.6.1" }
|
2024-03-09 19:59:36 +01:00
|
|
|
uuid = { version = "1.7", features = ["v4"] }
|
|
|
|
tonic = { version = "0.11.0", features = ["tls", "tls-roots"] }
|
2023-09-10 03:40:31 +02:00
|
|
|
# api
|
2024-03-09 19:59:36 +01:00
|
|
|
similar = { version = "2.2", features = ["inline"] }
|
|
|
|
tokio = { version = "1.0", features = ["macros", "rt-multi-thread", "sync"] }
|
|
|
|
async-trait = { version = "0.1" }
|
2023-09-10 03:40:31 +02:00
|
|
|
# client
|
2024-03-09 19:59:36 +01:00
|
|
|
md5 = { version = "0.7.0" }
|
|
|
|
serde_json = { version = "1" }
|
|
|
|
tokio-stream = { version = "0.1" }
|
2023-12-29 01:03:08 +01:00
|
|
|
serde = { version = "1.0.193", features = ["derive"] }
|
2024-03-09 19:59:36 +01:00
|
|
|
dashmap = { version = "5.5.3" }
|
|
|
|
postcard = { version = "1.0.8" }
|
2024-03-10 02:18:54 +01:00
|
|
|
# glue (multiple)
|
|
|
|
lazy_static = { version = "1.4.0", optional = true }
|
|
|
|
tracing-subscriber = { version = "0.3.18", optional = true }
|
|
|
|
# glue (java)
|
2024-03-09 23:27:08 +01:00
|
|
|
jni = { version = "0.21.1", features = ["invocation"], optional = true }
|
|
|
|
jni-sys = { version = "0.3.0", optional = true }
|
|
|
|
rifgen = { git = "https://github.com/Kofituo/rifgen.git", rev = "d27d9785b2febcf5527f1deb6a846be5d583f7d7", optional = true }
|
|
|
|
log = { version = "0.4.21", optional = true }
|
2024-03-10 02:18:54 +01:00
|
|
|
# glue (lua)
|
2024-03-10 01:39:08 +01:00
|
|
|
mlua = { version = "0.9.6", features = ["module", "luajit", "send"], optional = true }
|
|
|
|
thiserror = { version = "1.0.57", optional = true }
|
|
|
|
derive_more = { version = "0.99.17", optional = true }
|
2024-03-10 12:42:56 +01:00
|
|
|
# glue (js)
|
|
|
|
rmpv = { version = "1", optional = true }
|
|
|
|
napi = { version = "2", features = ["full"], optional = true }
|
|
|
|
napi-derive = { version="2", optional = true}
|
|
|
|
futures = { version = "0.3.28", optional = true }
|
2024-03-16 14:36:41 +01:00
|
|
|
# glue (python)
|
|
|
|
pyo3 = { version = "0.20", features = ["extension-module"], optional = true}
|
|
|
|
pyo3-asyncio = { version = "0.20", features = ["tokio-runtime"], optional = true }
|
2024-03-09 23:27:08 +01:00
|
|
|
[build-dependencies]
|
2024-03-10 02:18:54 +01:00
|
|
|
# glue (java)
|
2024-03-09 23:27:08 +01:00
|
|
|
flapigen = { version = "0.6.0", optional = true }
|
|
|
|
rifgen = { git = "https://github.com/Kofituo/rifgen.git", rev = "d27d9785b2febcf5527f1deb6a846be5d583f7d7", optional = true }
|
2024-03-10 12:42:56 +01:00
|
|
|
# glue (js)
|
|
|
|
napi-build = { version = "2", optional = true }
|
2024-03-16 14:36:41 +01:00
|
|
|
# glue (python)
|
|
|
|
pyo3-build-config = { version = "0.19.2", optional = true }
|
2024-03-09 23:27:08 +01:00
|
|
|
|
|
|
|
[features]
|
2024-03-09 23:57:20 +01:00
|
|
|
default = []
|
2024-03-10 02:18:54 +01:00
|
|
|
lua = ["mlua", "thiserror", "derive_more", "lazy_static", "tracing-subscriber"]
|
2024-03-09 23:27:08 +01:00
|
|
|
java = ["lazy_static", "jni", "jni-sys", "flapigen", "rifgen", "log"]
|
2024-03-10 02:18:54 +01:00
|
|
|
java-artifact = ["java"] # also builds the jar
|
2024-03-16 14:36:41 +01:00
|
|
|
js = ["napi-build", "tracing-subscriber", "rmpv", "napi", "napi-derive", "futures"]
|
|
|
|
python = ["pyo3", "pyo3-asyncio", "tracing-subscriber", "pyo3-build-config"]
|