mirror of
https://github.com/hexedtech/codemp-nvim.git
synced 2024-11-22 15:34:53 +01:00
alemi
ebbca24a99
working on this was really hard, so i'm making simple things first. removed almost everything except bare buffer changes, and not even done in a smart way, but should be a working PoC? now trying to make a working client to test it out and actually work on a real prototype
49 lines
995 B
TOML
49 lines
995 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]]
|
|
name = "client-cli"
|
|
path = "src/client/cli/main.rs"
|
|
required-features = ["cli"]
|
|
|
|
[[bin]]
|
|
name = "client-nvim"
|
|
path = "src/client/nvim/main.rs"
|
|
required-features = ["nvim"]
|
|
|
|
[dependencies]
|
|
tracing = "0.1"
|
|
tracing-subscriber = "0.3"
|
|
tonic = "0.9"
|
|
tokio = { version = "1.0", features = ["macros", "rt-multi-thread", "sync", "full"] }
|
|
tokio-stream = "0.1"
|
|
rmpv = "1"
|
|
serde = "1"
|
|
serde_json = "1"
|
|
operational-transform = { version = "0.6", features = ["serde"] }
|
|
md5 = "0.7.0"
|
|
prost = "0.11.8"
|
|
clap = { version = "4.2.1", features = ["derive"], optional = true }
|
|
nvim-rs = { version = "0.5", features = ["use_tokio"], optional = true }
|
|
|
|
[build-dependencies]
|
|
tonic-build = "0.9"
|
|
|
|
[features]
|
|
default = []
|
|
cli = ["dep:clap"]
|
|
nvim = ["dep:nvim-rs"]
|