-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathCargo.toml
More file actions
48 lines (43 loc) · 1.53 KB
/
Cargo.toml
File metadata and controls
48 lines (43 loc) · 1.53 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
[package]
name = "codemp-proto"
description = "protocol definitions for codemp -- code multiplexer"
homepage = "https://code.mp"
repository = "https://github.com/hexedtech/codemp-proto"
authors = [
"alemi <me@alemi.dev>",
"zaaarf <me@zaaarf.foo>",
"frelodev <frelodev@gmail.com>",
"cschen <cschen@codemp.dev>"
]
license = "GPL-3.0-only"
version = "0.8.0"
edition = "2024"
[lib]
name = "codemp_proto"
[dependencies]
prost = "0.14"
tonic = { version = "0.14", default-features = false, features = ["codegen"] }
tonic-prost = "0.14"
serde = { version = "1.0", features = ["derive"], optional = true }
# glue (lua)
mlua = { version = "0.11", features = ["luajit", "serde"], optional = true }
mlua-serde-derive = { version = "0.1.1", optional = true }
# glue (js)
napi = { version = "3.1", features = ["napi10", "serde-json", "chrono_date"], optional = true }
napi-derive = { version="3.1", optional = true }
# glue (py)
pyo3 = { version = "0.28", features = ["multiple-pymethods", "uuid"], optional = true}
# glue (java)
jni = { version = "0.22", features = ["invocation"], optional = true }
jni-toolbox = { git = "https://github.com/hexedtech/jni-toolbox", rev = "9b54289d562f3ba0dfc59ab38342e7502aeb529c", optional = true, features = ["uuid", "unsigned"] }
[build-dependencies]
tonic-prost-build = "0.14"
[features]
default = []
client = ["tonic/transport"]
server = ["tonic/transport"]
serde = ["dep:serde"]
lua = ["serde", "dep:mlua", "dep:mlua-serde-derive"]
js = ["dep:napi", "dep:napi-derive"]
py = ["dep:pyo3"]
java = ["dep:jni", "dep:jni-toolbox"]