1
0
mirror of https://github.com/helix-editor/helix synced 2024-11-10 10:34:45 +01:00

cargo: add version to local dependencies

First step towards enabling us to publish on crates.io.

See: https://github.com/helix-editor/helix/issues/42
This commit is contained in:
Benoît CORTIER 2021-06-18 09:48:31 -04:00 committed by Blaž Hrastnik
parent 1c1474c3b8
commit b48054f3ee
4 changed files with 8 additions and 8 deletions

@ -12,7 +12,7 @@ license = "MPL-2.0"
embed_runtime = ["rust-embed"] embed_runtime = ["rust-embed"]
[dependencies] [dependencies]
helix-syntax = { path = "../helix-syntax" } helix-syntax = { version = "0.2", path = "../helix-syntax" }
ropey = "1.3" ropey = "1.3"
smallvec = "1.4" smallvec = "1.4"

@ -8,7 +8,7 @@ license = "MPL-2.0"
# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html # See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html
[dependencies] [dependencies]
helix-core = { path = "../helix-core" } helix-core = { version = "0.2", path = "../helix-core" }
anyhow = "1.0" anyhow = "1.0"
futures-executor = "0.3" futures-executor = "0.3"
@ -20,4 +20,4 @@ serde = { version = "1.0", features = ["derive"] }
serde_json = "1.0" serde_json = "1.0"
thiserror = "1.0" thiserror = "1.0"
tokio = { version = "1.6", features = ["full"] } tokio = { version = "1.6", features = ["full"] }
tokio-stream = "0.1.6" tokio-stream = "0.1.6"

@ -18,9 +18,9 @@ name = "hx"
path = "src/main.rs" path = "src/main.rs"
[dependencies] [dependencies]
helix-core = { path = "../helix-core" } helix-core = { version = "0.2", path = "../helix-core" }
helix-view = { path = "../helix-view", features = ["term"]} helix-view = { version = "0.2", path = "../helix-view", features = ["term"]}
helix-lsp = { path = "../helix-lsp"} helix-lsp = { version = "0.2", path = "../helix-lsp"}
anyhow = "1" anyhow = "1"
once_cell = "1.8" once_cell = "1.8"

@ -13,8 +13,8 @@ default = ["term"]
[dependencies] [dependencies]
anyhow = "1" anyhow = "1"
helix-core = { path = "../helix-core" } helix-core = { version = "0.2", path = "../helix-core" }
helix-lsp = { path = "../helix-lsp"} helix-lsp = { version = "0.2", path = "../helix-lsp"}
# Conversion traits # Conversion traits
tui = { path = "../helix-tui", package = "helix-tui", default-features = false, features = ["crossterm"], optional = true } tui = { path = "../helix-tui", package = "helix-tui", default-features = false, features = ["crossterm"], optional = true }