diff --git a/Cargo.lock b/Cargo.lock index 8901f99f98ce8..004f5b7232d5b 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -1088,7 +1088,7 @@ dependencies = [ [[package]] name = "helix-core" -version = "0.6.0" +version = "23.10.0" dependencies = [ "ahash", "arc-swap", @@ -1123,7 +1123,7 @@ dependencies = [ [[package]] name = "helix-dap" -version = "0.6.0" +version = "23.10.0" dependencies = [ "anyhow", "fern", @@ -1138,7 +1138,7 @@ dependencies = [ [[package]] name = "helix-event" -version = "0.6.0" +version = "23.10.0" dependencies = [ "parking_lot", "tokio", @@ -1146,7 +1146,7 @@ dependencies = [ [[package]] name = "helix-loader" -version = "0.6.0" +version = "23.10.0" dependencies = [ "anyhow", "cc", @@ -1165,7 +1165,7 @@ dependencies = [ [[package]] name = "helix-lsp" -version = "0.6.0" +version = "23.10.0" dependencies = [ "anyhow", "futures-executor", @@ -1187,11 +1187,11 @@ dependencies = [ [[package]] name = "helix-parsec" -version = "0.6.0" +version = "23.10.0" [[package]] name = "helix-term" -version = "0.6.0" +version = "23.10.0" dependencies = [ "anyhow", "arc-swap", @@ -1233,7 +1233,7 @@ dependencies = [ [[package]] name = "helix-tui" -version = "0.6.0" +version = "23.10.0" dependencies = [ "bitflags 2.4.1", "cassowary", @@ -1249,7 +1249,7 @@ dependencies = [ [[package]] name = "helix-vcs" -version = "0.6.0" +version = "23.10.0" dependencies = [ "anyhow", "arc-swap", @@ -1265,7 +1265,7 @@ dependencies = [ [[package]] name = "helix-view" -version = "0.6.0" +version = "23.10.0" dependencies = [ "anyhow", "arc-swap", @@ -2619,7 +2619,7 @@ dependencies = [ [[package]] name = "xtask" -version = "0.6.0" +version = "23.10.0" dependencies = [ "helix-core", "helix-loader", diff --git a/Cargo.toml b/Cargo.toml index f2cd9b766b32b..6c006fbb4ff4d 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -40,6 +40,11 @@ tree-sitter = { version = "0.20", git = "https://github.com/tree-sitter/tree-sit nucleo = "0.2.0" [workspace.package] +version = "23.10.0" edition = "2021" +authors = ["Blaž Hrastnik "] +categories = ["editor"] +repository = "https://github.com/helix-editor/helix" +homepage = "https://helix-editor.com" license = "MPL-2.0" rust-version = "1.70" diff --git a/helix-core/Cargo.toml b/helix-core/Cargo.toml index 0fa5504629648..dc5107dd74c03 100644 --- a/helix-core/Cargo.toml +++ b/helix-core/Cargo.toml @@ -1,22 +1,22 @@ [package] name = "helix-core" -version = "0.6.0" -authors = ["Blaž Hrastnik "] +description = "Helix editor core editing primitives" +include = ["src/**/*", "README.md"] +version.workspace = true +authors.workspace = true edition.workspace = true license.workspace = true rust-version.workspace = true -description = "Helix editor core editing primitives" -categories = ["editor"] -repository = "https://github.com/helix-editor/helix" -homepage = "https://helix-editor.com" -include = ["src/**/*", "README.md"] +categories.workspace = true +repository.workspace = true +homepage.workspace = true [features] unicode-lines = ["ropey/unicode_lines"] integration = [] [dependencies] -helix-loader = { version = "0.6", path = "../helix-loader" } +helix-loader = { path = "../helix-loader" } ropey = { version = "1.6.1", default-features = false, features = ["simd"] } smallvec = "1.11" diff --git a/helix-dap/Cargo.toml b/helix-dap/Cargo.toml index b4dd5177e9bae..f7acb00323e0d 100644 --- a/helix-dap/Cargo.toml +++ b/helix-dap/Cargo.toml @@ -1,19 +1,20 @@ [package] name = "helix-dap" -version = "0.6.0" -authors = ["Blaž Hrastnik "] +description = "DAP client implementation for Helix project" +version.workspace = true +authors.workspace = true edition.workspace = true license.workspace = true rust-version.workspace = true -description = "DAP client implementation for Helix project" -categories = ["editor"] -repository = "https://github.com/helix-editor/helix" -homepage = "https://helix-editor.com" +categories.workspace = true +repository.workspace = true +homepage.workspace = true # See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html [dependencies] -helix-core = { version = "0.6", path = "../helix-core" } +helix-core = { path = "../helix-core" } + anyhow = "1.0" log = "0.4" serde = { version = "1.0", features = ["derive"] } diff --git a/helix-event/Cargo.toml b/helix-event/Cargo.toml index 2dd4b512da4cf..c20328246fa37 100644 --- a/helix-event/Cargo.toml +++ b/helix-event/Cargo.toml @@ -1,13 +1,13 @@ [package] name = "helix-event" -version = "0.6.0" -authors = ["Blaž Hrastnik "] +version.workspace = true +authors.workspace = true edition.workspace = true license.workspace = true rust-version.workspace = true -categories = ["editor"] -repository = "https://github.com/helix-editor/helix" -homepage = "https://helix-editor.com" +categories.workspace = true +repository.workspace = true +homepage.workspace = true # See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html diff --git a/helix-loader/Cargo.toml b/helix-loader/Cargo.toml index b32318d0436e4..1a98e94bea37e 100644 --- a/helix-loader/Cargo.toml +++ b/helix-loader/Cargo.toml @@ -1,14 +1,14 @@ [package] name = "helix-loader" -version = "0.6.0" -description = "A post-modern text editor." -authors = ["Blaž Hrastnik "] +description = "Build bootstrapping for Helix crates" +version.workspace = true +authors.workspace = true edition.workspace = true license.workspace = true rust-version.workspace = true -categories = ["editor"] -repository = "https://github.com/helix-editor/helix" -homepage = "https://helix-editor.com" +categories.workspace = true +repository.workspace = true +homepage.workspace = true [[bin]] name = "hx-loader" diff --git a/helix-loader/build.rs b/helix-loader/build.rs index 74ba2a2beb2a3..c056bed368131 100644 --- a/helix-loader/build.rs +++ b/helix-loader/build.rs @@ -2,7 +2,7 @@ use std::borrow::Cow; use std::path::Path; use std::process::Command; -const VERSION: &str = include_str!("../VERSION"); +const VERSION: &str = env!("CARGO_PKG_VERSION"); fn main() { let git_hash = Command::new("git") diff --git a/helix-lsp/Cargo.toml b/helix-lsp/Cargo.toml index 98ff5d0b9758b..d6bd0370867a5 100644 --- a/helix-lsp/Cargo.toml +++ b/helix-lsp/Cargo.toml @@ -1,21 +1,21 @@ [package] name = "helix-lsp" -version = "0.6.0" -authors = ["Blaž Hrastnik "] +description = "LSP client implementation for Helix project" +version.workspace = true +authors.workspace = true edition.workspace = true license.workspace = true rust-version.workspace = true -description = "LSP client implementation for Helix project" -categories = ["editor"] -repository = "https://github.com/helix-editor/helix" -homepage = "https://helix-editor.com" +categories.workspace = true +repository.workspace = true +homepage.workspace = true # See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html [dependencies] -helix-core = { version = "0.6", path = "../helix-core" } -helix-loader = { version = "0.6", path = "../helix-loader" } -helix-parsec = { version = "0.6", path = "../helix-parsec" } +helix-core = { path = "../helix-core" } +helix-loader = { path = "../helix-loader" } +helix-parsec = { path = "../helix-parsec" } anyhow = "1.0" futures-executor = "0.3" diff --git a/helix-parsec/Cargo.toml b/helix-parsec/Cargo.toml index d2b6105e628c6..217691219c204 100644 --- a/helix-parsec/Cargo.toml +++ b/helix-parsec/Cargo.toml @@ -1,14 +1,14 @@ [package] name = "helix-parsec" -version = "0.6.0" -authors = ["Blaž Hrastnik "] +description = "Parser combinators for Helix" +include = ["src/**/*", "README.md"] +version.workspace = true +authors.workspace = true edition.workspace = true license.workspace = true rust-version.workspace = true -description = "Parser combinators for Helix" -categories = ["editor"] -repository = "https://github.com/helix-editor/helix" -homepage = "https://helix-editor.com" -include = ["src/**/*", "README.md"] +categories.workspace = true +repository.workspace = true +homepage.workspace = true [dependencies] diff --git a/helix-term/Cargo.toml b/helix-term/Cargo.toml index a11b4ae5dbd0b..6665e072d96c7 100644 --- a/helix-term/Cargo.toml +++ b/helix-term/Cargo.toml @@ -1,16 +1,16 @@ [package] name = "helix-term" -version = "0.6.0" description = "A post-modern text editor." -authors = ["Blaž Hrastnik "] -edition.workspace = true -license.workspace = true -categories = ["editor", "command-line-utilities"] -repository = "https://github.com/helix-editor/helix" -homepage = "https://helix-editor.com" include = ["src/**/*", "README.md"] default-run = "hx" +version.workspace = true +authors.workspace = true +edition.workspace = true +license.workspace = true rust-version.workspace = true +categories.workspace = true +repository.workspace = true +homepage.workspace = true [features] default = ["git"] @@ -23,13 +23,13 @@ name = "hx" path = "src/main.rs" [dependencies] -helix-core = { version = "0.6", path = "../helix-core" } -helix-event = { version = "0.6", path = "../helix-event" } -helix-view = { version = "0.6", path = "../helix-view" } -helix-lsp = { version = "0.6", path = "../helix-lsp" } -helix-dap = { version = "0.6", path = "../helix-dap" } -helix-vcs = { version = "0.6", path = "../helix-vcs" } -helix-loader = { version = "0.6", path = "../helix-loader" } +helix-core = { path = "../helix-core" } +helix-event = { path = "../helix-event" } +helix-view = { path = "../helix-view" } +helix-lsp = { path = "../helix-lsp" } +helix-dap = { path = "../helix-dap" } +helix-vcs = { path = "../helix-vcs" } +helix-loader = { path = "../helix-loader" } anyhow = "1" once_cell = "1.18" @@ -79,7 +79,7 @@ libc = "0.2.150" crossterm = { version = "0.27", features = ["event-stream", "use-dev-tty"] } [build-dependencies] -helix-loader = { version = "0.6", path = "../helix-loader" } +helix-loader = { path = "../helix-loader" } [dev-dependencies] smallvec = "1.11" diff --git a/helix-tui/Cargo.toml b/helix-tui/Cargo.toml index 602fa3e5ff764..c6af90fc606a0 100644 --- a/helix-tui/Cargo.toml +++ b/helix-tui/Cargo.toml @@ -1,22 +1,23 @@ [package] name = "helix-tui" -version = "0.6.0" -authors = ["Blaž Hrastnik "] -description = """ -A library to build rich terminal user interfaces or dashboards -""" +description = """A library to build rich terminal user interfaces or dashboards""" +include = ["src/**/*", "README.md"] +version.workspace = true +authors.workspace = true edition.workspace = true license.workspace = true rust-version.workspace = true -categories = ["editor"] -repository = "https://github.com/helix-editor/helix" -homepage = "https://helix-editor.com" -include = ["src/**/*", "README.md"] +categories.workspace = true +repository.workspace = true +homepage.workspace = true [features] default = ["crossterm"] [dependencies] +helix-view = { path = "../helix-view", features = ["term"] } +helix-core = { path = "../helix-core" } + bitflags = "2.4" cassowary = "0.3" unicode-segmentation = "1.10" @@ -25,5 +26,3 @@ termini = "1.0" serde = { version = "1", "optional" = true, features = ["derive"]} once_cell = "1.18" log = "~0.4" -helix-view = { version = "0.6", path = "../helix-view", features = ["term"] } -helix-core = { version = "0.6", path = "../helix-core" } diff --git a/helix-vcs/Cargo.toml b/helix-vcs/Cargo.toml index 1152cf9abc035..ba38160fdfbf8 100644 --- a/helix-vcs/Cargo.toml +++ b/helix-vcs/Cargo.toml @@ -1,19 +1,19 @@ [package] name = "helix-vcs" -version = "0.6.0" -authors = ["Blaž Hrastnik "] +version.workspace = true +authors.workspace = true edition.workspace = true license.workspace = true rust-version.workspace = true -categories = ["editor"] -repository = "https://github.com/helix-editor/helix" -homepage = "https://helix-editor.com" +categories.workspace = true +repository.workspace = true +homepage.workspace = true # See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html [dependencies] -helix-core = { version = "0.6", path = "../helix-core" } -helix-event = { version = "0.6", path = "../helix-event" } +helix-core = { path = "../helix-core" } +helix-event = { path = "../helix-event" } tokio = { version = "1", features = ["rt", "rt-multi-thread", "time", "sync", "parking_lot", "macros"] } parking_lot = "0.12" @@ -29,4 +29,4 @@ log = "0.4" git = ["gix"] [dev-dependencies] -tempfile = "3.8" \ No newline at end of file +tempfile = "3.8" diff --git a/helix-view/Cargo.toml b/helix-view/Cargo.toml index 266abf5f50db1..f1eddab446ccc 100644 --- a/helix-view/Cargo.toml +++ b/helix-view/Cargo.toml @@ -1,29 +1,30 @@ [package] name = "helix-view" -version = "0.6.0" -authors = ["Blaž Hrastnik "] +description = "UI abstractions for use in backends" +version.workspace = true +authors.workspace = true edition.workspace = true license.workspace = true rust-version.workspace = true -description = "UI abstractions for use in backends" -categories = ["editor"] -repository = "https://github.com/helix-editor/helix" -homepage = "https://helix-editor.com" +categories.workspace = true +repository.workspace = true +homepage.workspace = true [features] default = [] term = ["crossterm"] [dependencies] +helix-core = { path = "../helix-core" } +helix-event = { path = "../helix-event" } +helix-loader = { path = "../helix-loader" } +helix-lsp = { path = "../helix-lsp" } +helix-dap = { path = "../helix-dap" } +helix-vcs = { path = "../helix-vcs" } + bitflags = "2.4" anyhow = "1" -helix-core = { version = "0.6", path = "../helix-core" } -helix-event = { version = "0.6", path = "../helix-event" } -helix-loader = { version = "0.6", path = "../helix-loader" } -helix-lsp = { version = "0.6", path = "../helix-lsp" } -helix-dap = { version = "0.6", path = "../helix-dap" } crossterm = { version = "0.27", optional = true } -helix-vcs = { version = "0.6", path = "../helix-vcs" } # Conversion traits once_cell = "1.18" diff --git a/xtask/Cargo.toml b/xtask/Cargo.toml index ed1182947b6f4..0a61536fc7af0 100644 --- a/xtask/Cargo.toml +++ b/xtask/Cargo.toml @@ -1,13 +1,19 @@ [package] name = "xtask" -version = "0.6.0" -edition = "2021" +version.workspace = true +authors.workspace = true +edition.workspace = true +license.workspace = true +rust-version.workspace = true +categories.workspace = true +repository.workspace = true +homepage.workspace = true # See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html [dependencies] -helix-term = { version = "0.6", path = "../helix-term" } -helix-core = { version = "0.6", path = "../helix-core" } -helix-view = { version = "0.6", path = "../helix-view" } -helix-loader = { version = "0.6", path = "../helix-loader" } +helix-term = { path = "../helix-term" } +helix-core = { path = "../helix-core" } +helix-view = { path = "../helix-view" } +helix-loader = { path = "../helix-loader" } toml = "0.7"