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
imgbot
Benoît CORTIER 3 years ago committed by Blaž Hrastnik
parent 1c1474c3b8
commit b48054f3ee

@ -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"

@ -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 }

Loading…
Cancel
Save