codemp/Cargo.toml

58 lines
1.6 KiB
TOML
Raw Normal View History

2022-07-10 19:01:56 +02:00
[package]
name = "codemp"
version = "0.6.2"
2022-07-10 19:01:56 +02:00
edition = "2021"
[lib]
2023-04-10 20:25:47 +02:00
name = "codemp"
crate-type = ["cdylib"]
2022-07-10 19:01:56 +02:00
[dependencies]
2023-04-11 14:02:03 +02:00
# core
tracing = "0.1"
2024-08-10 16:13:44 +02:00
thiserror = "1.0"
async-trait = "0.1"
# crdt
diamond-types = "1.0"
# proto
2024-08-05 19:14:51 +02:00
codemp-proto = { git = "ssh://git@github.com/hexedtech/codemp-proto.git", tag = "v0.6.1" }
uuid = { version = "1.7", features = ["v4"] }
2024-08-09 00:53:06 +02:00
tonic = { version = "0.11", features = ["tls", "tls-roots"] }
# api
tokio = { version = "1.0", features = ["macros", "rt-multi-thread", "sync"] }
xxhash-rust = { version = "0.8", features = ["xxh3"] }
# client
2024-08-10 16:13:44 +02:00
tokio-stream = "0.1"
dashmap = "5.5"
# glue (multiple)
2024-08-09 00:53:06 +02:00
lazy_static = { version = "1.4", optional = true }
tracing-subscriber = { version = "0.3", optional = true }
# glue (java)
2024-08-09 00:53:06 +02:00
jni = { version = "0.21", features = ["invocation"], optional = true }
# glue (lua)
mlua = { version = "0.10.0-beta.1", features = ["module", "luajit", "send"], optional = true }
2024-03-10 12:42:56 +01:00
# glue (js)
napi = { version = "2.16", features = ["full"], optional = true }
napi-derive = { version="2.16", optional = true}
# 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 12:42:56 +01:00
# glue (js)
napi-build = { version = "2", optional = true }
# glue (python)
2024-08-09 00:53:06 +02:00
pyo3-build-config = { version = "0.19", optional = true }
2024-03-09 23:27:08 +01:00
[features]
2024-08-13 17:59:58 +02:00
default = []
2024-08-09 00:49:31 +02:00
lua = ["mlua", "lazy_static", "tracing-subscriber"]
2024-08-06 23:00:04 +02:00
java = ["lazy_static", "jni", "tracing-subscriber"]
2024-08-09 00:49:31 +02:00
js = ["napi-build", "tracing-subscriber", "napi", "napi-derive"]
python = ["pyo3", "pyo3-asyncio", "tracing-subscriber", "pyo3-build-config"]