2022-07-10 19:01:56 +02:00
|
|
|
[package]
|
|
|
|
name = "codemp"
|
2024-09-05 03:09:01 +02:00
|
|
|
description = "codemp -- code multiplexer"
|
2024-09-07 22:10:47 +02:00
|
|
|
homepage = "https://code.mp"
|
2024-09-05 06:22:49 +02:00
|
|
|
repository = "https://github.com/hexedtech/codemp"
|
2024-09-05 03:09:01 +02:00
|
|
|
authors = [
|
|
|
|
"alemi <me@alemi.dev>",
|
|
|
|
"zaaarf <me@zaaarf.foo>",
|
|
|
|
"frelodev <frelodev@gmail.com>",
|
|
|
|
"cschen <cschen@codemp.dev>"
|
|
|
|
]
|
|
|
|
license = "GPL-3.0-only"
|
2022-07-10 19:01:56 +02:00
|
|
|
edition = "2021"
|
2024-09-11 18:11:20 +02:00
|
|
|
version = "0.7.0-beta.4"
|
2024-09-05 03:28:46 +02:00
|
|
|
exclude = ["dist/*"]
|
2022-07-10 19:01:56 +02:00
|
|
|
|
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"
|
2024-08-10 16:13:44 +02:00
|
|
|
thiserror = "1.0"
|
2024-08-14 00:24:32 +02:00
|
|
|
# crdt
|
|
|
|
diamond-types = "1.0"
|
2023-09-10 03:40:31 +02:00
|
|
|
# proto
|
2024-09-05 03:10:32 +02:00
|
|
|
codemp-proto = "0.7"
|
2024-03-09 19:59:36 +01:00
|
|
|
uuid = { version = "1.7", features = ["v4"] }
|
2024-08-21 21:40:17 +02:00
|
|
|
tonic = { version = "0.12", features = ["tls", "tls-roots"] }
|
2023-09-10 03:40:31 +02:00
|
|
|
# api
|
2024-03-09 19:59:36 +01:00
|
|
|
tokio = { version = "1.0", features = ["macros", "rt-multi-thread", "sync"] }
|
2024-08-14 00:24:32 +02:00
|
|
|
xxhash-rust = { version = "0.8", features = ["xxh3"] }
|
2023-09-10 03:40:31 +02:00
|
|
|
# client
|
2024-08-10 16:13:44 +02:00
|
|
|
tokio-stream = "0.1"
|
|
|
|
dashmap = "5.5"
|
2024-08-05 22:44:46 +02:00
|
|
|
|
2024-03-10 02:18:54 +01:00
|
|
|
# glue (multiple)
|
2024-08-09 00:53:06 +02:00
|
|
|
tracing-subscriber = { version = "0.3", optional = true }
|
2024-08-05 22:44:46 +02:00
|
|
|
|
2024-03-10 02:18:54 +01:00
|
|
|
# glue (java)
|
2024-08-17 00:06:57 +02:00
|
|
|
lazy_static = { version = "1.4", optional = true }
|
2024-08-09 00:53:06 +02:00
|
|
|
jni = { version = "0.21", features = ["invocation"], optional = true }
|
2024-08-07 00:00:24 +02:00
|
|
|
|
2024-03-10 02:18:54 +01:00
|
|
|
# glue (lua)
|
2024-09-11 15:45:35 +02:00
|
|
|
mlua-codemp-patch = { version = "0.10.0-beta.2", features = ["module", "send", "serialize"], optional = true }
|
2024-08-05 22:44:46 +02:00
|
|
|
|
2024-03-10 12:42:56 +01:00
|
|
|
# glue (js)
|
2024-08-07 23:06:33 +02:00
|
|
|
napi = { version = "2.16", features = ["full"], optional = true }
|
|
|
|
napi-derive = { version="2.16", optional = true}
|
2024-08-05 22:44:46 +02:00
|
|
|
|
2024-03-16 14:36:41 +01:00
|
|
|
# glue (python)
|
2024-09-06 00:24:37 +02:00
|
|
|
pyo3 = { version = "0.22", features = ["extension-module", "abi3-py38"], optional = true}
|
2024-08-05 22:44:46 +02:00
|
|
|
|
2024-09-05 23:26:56 +02:00
|
|
|
# extra
|
|
|
|
async-trait = { version = "0.1", optional = true }
|
2024-09-11 15:45:35 +02:00
|
|
|
serde = { version = "1.0", features = ["derive"], optional = true }
|
2024-09-05 23:26:56 +02:00
|
|
|
|
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 }
|
2024-03-16 14:36:41 +01:00
|
|
|
# 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-09-06 00:13:17 +02:00
|
|
|
default = []
|
2024-09-10 12:12:59 +02:00
|
|
|
# extra
|
|
|
|
async-trait = ["dep:async-trait"]
|
2024-09-11 15:50:33 +02:00
|
|
|
serialize = ["dep:serde", "uuid/serde"]
|
2024-09-05 23:26:56 +02:00
|
|
|
# ffi
|
2024-08-17 18:38:37 +02:00
|
|
|
rust = [] # used for ci matrix
|
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"]
|
2024-08-16 12:58:43 +02:00
|
|
|
python = ["pyo3", "tracing-subscriber", "pyo3-build-config"]
|
2024-09-11 15:45:35 +02:00
|
|
|
lua = ["mlua-codemp-patch", "tracing-subscriber", "lazy_static", "serialize"]
|
2024-09-10 12:12:59 +02:00
|
|
|
lua54 = ["lua", "mlua-codemp-patch/lua54"]
|
|
|
|
lua53 = ["lua", "mlua-codemp-patch/lua53"]
|
|
|
|
lua52 = ["lua", "mlua-codemp-patch/lua52"]
|
|
|
|
lua51 = ["lua", "mlua-codemp-patch/lua51"]
|
|
|
|
luajit = ["lua", "mlua-codemp-patch/luajit"]
|
|
|
|
|
2024-09-05 03:05:22 +02:00
|
|
|
|
2024-09-05 23:26:56 +02:00
|
|
|
[package.metadata.docs.rs] # enabled features when building on docs.rs
|
2024-09-13 12:02:48 +02:00
|
|
|
features = ["serialize"]
|