2022-07-10 19:01:56 +02:00
|
|
|
[package]
|
|
|
|
name = "codemp"
|
|
|
|
version = "0.1.0"
|
|
|
|
edition = "2021"
|
|
|
|
|
2022-07-16 03:46:02 +02:00
|
|
|
[features]
|
|
|
|
default = ["nvim"]
|
|
|
|
nvim = []
|
|
|
|
|
2022-10-18 02:19:15 +02:00
|
|
|
[lib]
|
|
|
|
name = "library"
|
|
|
|
path = "src/lib/lib.rs"
|
|
|
|
|
2022-07-10 19:01:56 +02:00
|
|
|
[[bin]] # Bin to run the CodeMP gRPC server
|
2022-09-17 21:44:15 +02:00
|
|
|
name = "server"
|
2022-07-10 23:47:14 +02:00
|
|
|
path = "src/server/main.rs"
|
2022-07-10 19:01:56 +02:00
|
|
|
|
|
|
|
[[bin]] # Bin to run the CodeMP gRPC client
|
2022-09-17 21:44:15 +02:00
|
|
|
name = "client-neovim"
|
2022-07-10 23:47:14 +02:00
|
|
|
path = "src/client/main.rs"
|
2022-07-10 19:01:56 +02:00
|
|
|
|
|
|
|
[dependencies]
|
2022-07-30 03:02:38 +02:00
|
|
|
tracing = "0.1"
|
|
|
|
tracing-subscriber = "0.3"
|
2022-07-10 19:01:56 +02:00
|
|
|
tonic = "0.7"
|
|
|
|
prost = "0.10"
|
2022-07-21 10:40:43 +02:00
|
|
|
futures = "0.3"
|
2022-07-10 23:47:14 +02:00
|
|
|
tokio = { version = "1.0", features = ["macros", "rt-multi-thread", "sync", "full"] }
|
2022-07-21 10:40:43 +02:00
|
|
|
tokio-stream = "0.1"
|
2022-07-10 23:47:14 +02:00
|
|
|
rmpv = "1"
|
2022-07-21 10:40:43 +02:00
|
|
|
operational-transform = "0.6"
|
2022-07-10 23:47:14 +02:00
|
|
|
nvim-rs = { version = "0.4", features = ["use_tokio"] } # TODO put this behind a conditional feature
|
2022-09-24 01:14:12 +02:00
|
|
|
uuid = { version = "1", features = ["v4", "fast-rng", "macro-diagnostics"] }
|
2022-10-18 02:19:15 +02:00
|
|
|
rand = "0.8.5"
|
2022-07-10 19:01:56 +02:00
|
|
|
|
|
|
|
[build-dependencies]
|
|
|
|
tonic-build = "0.7"
|