mirror of
https://github.com/hexedtech/codemp.git
synced 2024-11-25 08:34:47 +01:00
37 lines
823 B
TOML
37 lines
823 B
TOML
[package]
|
|
name = "codemp"
|
|
version = "0.1.0"
|
|
edition = "2021"
|
|
|
|
[features]
|
|
default = ["nvim"]
|
|
nvim = []
|
|
|
|
[lib]
|
|
name = "library"
|
|
path = "src/lib/lib.rs"
|
|
|
|
[[bin]] # Bin to run the CodeMP gRPC server
|
|
name = "server"
|
|
path = "src/server/main.rs"
|
|
|
|
[[bin]] # Bin to run the CodeMP gRPC client
|
|
name = "client-neovim"
|
|
path = "src/client/main.rs"
|
|
|
|
[dependencies]
|
|
tracing = "0.1"
|
|
tracing-subscriber = "0.3"
|
|
tonic = "0.7"
|
|
prost = "0.10"
|
|
futures = "0.3"
|
|
tokio = { version = "1.0", features = ["macros", "rt-multi-thread", "sync", "full"] }
|
|
tokio-stream = "0.1"
|
|
rmpv = "1"
|
|
operational-transform = "0.6"
|
|
nvim-rs = { version = "0.4", features = ["use_tokio"] } # TODO put this behind a conditional feature
|
|
uuid = { version = "1", features = ["v4", "fast-rng", "macro-diagnostics"] }
|
|
rand = "0.8.5"
|
|
|
|
[build-dependencies]
|
|
tonic-build = "0.7"
|