mirror of
https://github.com/hexedtech/codemp.git
synced 2024-11-22 15:24:48 +01:00
59 lines
1.7 KiB
TOML
59 lines
1.7 KiB
TOML
[package]
|
|
name = "codemp"
|
|
version = "0.6.2"
|
|
edition = "2021"
|
|
|
|
[lib]
|
|
name = "codemp"
|
|
crate-type = ["cdylib"]
|
|
|
|
[dependencies]
|
|
# core
|
|
tracing = "0.1"
|
|
thiserror = "1.0"
|
|
async-trait = "0.1"
|
|
# woot
|
|
codemp-woot = { git = "ssh://git@github.com/hexedtech/woot.git", features = ["serde"], tag = "v0.1.2" }
|
|
diamond-types="1.0"
|
|
# proto
|
|
codemp-proto = { git = "ssh://git@github.com/hexedtech/codemp-proto.git", tag = "v0.6.1" }
|
|
uuid = { version = "1.7", features = ["v4"] }
|
|
tonic = { version = "0.11", features = ["tls", "tls-roots"] }
|
|
postcard = "1.0"
|
|
# api
|
|
similar = { version = "2.2", features = ["inline"] }
|
|
tokio = { version = "1.0", features = ["macros", "rt-multi-thread", "sync"] }
|
|
# client
|
|
tokio-stream = "0.1"
|
|
dashmap = "5.5"
|
|
|
|
# glue (multiple)
|
|
lazy_static = { version = "1.4", optional = true }
|
|
tracing-subscriber = { version = "0.3", optional = true }
|
|
|
|
# glue (java)
|
|
jni = { version = "0.21", features = ["invocation"], optional = true }
|
|
|
|
# glue (lua)
|
|
mlua = { version = "0.9", features = ["module", "luajit", "send"], optional = true }
|
|
|
|
# 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 }
|
|
|
|
[build-dependencies]
|
|
# glue (js)
|
|
napi-build = { version = "2", optional = true }
|
|
# glue (python)
|
|
pyo3-build-config = { version = "0.19", optional = true }
|
|
|
|
[features]
|
|
default = []
|
|
lua = ["mlua", "lazy_static", "tracing-subscriber"]
|
|
java = ["lazy_static", "jni", "tracing-subscriber"]
|
|
js = ["napi-build", "tracing-subscriber", "napi", "napi-derive"]
|
|
python = ["pyo3", "pyo3-asyncio", "tracing-subscriber", "pyo3-build-config"]
|