From bc8aae70ad3396d0a3dd3e30c7b9c5ca954449d9 Mon Sep 17 00:00:00 2001 From: Waleed Khan Date: Sun, 26 May 2024 16:50:37 -0700 Subject: [PATCH] build: release v0.9.0 --- Cargo.lock | 123 ++++++++++++++++++--------- Cargo.toml | 34 ++++---- git-branchless-hook/Cargo.toml | 2 +- git-branchless-init/Cargo.toml | 2 +- git-branchless-invoke/Cargo.toml | 2 +- git-branchless-lib/Cargo.toml | 2 +- git-branchless-move/Cargo.toml | 2 +- git-branchless-navigation/Cargo.toml | 2 +- git-branchless-opts/Cargo.toml | 2 +- git-branchless-query/Cargo.toml | 2 +- git-branchless-record/Cargo.toml | 2 +- git-branchless-revset/Cargo.toml | 2 +- git-branchless-reword/Cargo.toml | 2 +- git-branchless-smartlog/Cargo.toml | 2 +- git-branchless-submit/Cargo.toml | 2 +- git-branchless-test/Cargo.toml | 2 +- git-branchless-undo/Cargo.toml | 2 +- git-branchless/Cargo.toml | 2 +- git-branchless/tests/test_init.rs | 4 +- scm-bisect/Cargo.toml | 2 +- 20 files changed, 117 insertions(+), 78 deletions(-) diff --git a/Cargo.lock b/Cargo.lock index c1df58190..cf9f2d822 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -299,6 +299,15 @@ version = "0.3.0" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "37b2a672a2cb129a2e41c10b1224bb368f9f37a2b16b612598138befd7b37eb5" +[[package]] +name = "castaway" +version = "0.2.2" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "8a17ed5635fc8536268e5d4de1e22e81ac34419e5f052d4d51f4e01dcc263fcc" +dependencies = [ + "rustversion", +] + [[package]] name = "cc" version = "1.0.94" @@ -493,6 +502,19 @@ version = "1.0.0" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "acbf1af155f9b9ef647e42cdc158db4b64a1b61f743629225fde6f3e0be2a7c7" +[[package]] +name = "compact_str" +version = "0.7.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "f86b9c4c00838774a6d902ef931eff7470720c51d90c2e32cfe15dc304737b3f" +dependencies = [ + "castaway", + "cfg-if", + "itoa", + "ryu", + "static_assertions", +] + [[package]] name = "concolor" version = "0.1.1" @@ -1372,7 +1394,7 @@ checksum = "4271d37baee1b8c7e4b708028c57d816cf9d2434acb33a549475f78c181f6253" [[package]] name = "git-branchless" -version = "0.8.0" +version = "0.9.0" dependencies = [ "bstr", "bugreport", @@ -1417,7 +1439,7 @@ dependencies = [ [[package]] name = "git-branchless-hook" -version = "0.8.0" +version = "0.9.0" dependencies = [ "console", "eyre", @@ -1433,7 +1455,7 @@ dependencies = [ [[package]] name = "git-branchless-init" -version = "0.8.0" +version = "0.9.0" dependencies = [ "assert_cmd", "console", @@ -1448,7 +1470,7 @@ dependencies = [ [[package]] name = "git-branchless-invoke" -version = "0.8.0" +version = "0.9.0" dependencies = [ "clap 4.5.4", "color-eyre", @@ -1465,7 +1487,7 @@ dependencies = [ [[package]] name = "git-branchless-lib" -version = "0.8.0" +version = "0.9.0" dependencies = [ "anyhow", "assert_cmd", @@ -1507,7 +1529,7 @@ dependencies = [ [[package]] name = "git-branchless-move" -version = "0.8.0" +version = "0.9.0" dependencies = [ "esl01-dag", "eyre", @@ -1521,7 +1543,7 @@ dependencies = [ [[package]] name = "git-branchless-navigation" -version = "0.8.0" +version = "0.9.0" dependencies = [ "cursive", "esl01-dag", @@ -1537,7 +1559,7 @@ dependencies = [ [[package]] name = "git-branchless-opts" -version = "0.8.0" +version = "0.9.0" dependencies = [ "clap 4.5.4", "clap_mangen", @@ -1548,7 +1570,7 @@ dependencies = [ [[package]] name = "git-branchless-query" -version = "0.8.0" +version = "0.9.0" dependencies = [ "esl01-dag", "eyre", @@ -1563,7 +1585,7 @@ dependencies = [ [[package]] name = "git-branchless-record" -version = "0.8.0" +version = "0.9.0" dependencies = [ "cursive", "cursive_buffered_backend", @@ -1582,7 +1604,7 @@ dependencies = [ [[package]] name = "git-branchless-revset" -version = "0.8.0" +version = "0.9.0" dependencies = [ "bstr", "chrono", @@ -1608,7 +1630,7 @@ dependencies = [ [[package]] name = "git-branchless-reword" -version = "0.8.0" +version = "0.9.0" dependencies = [ "bstr", "chrono", @@ -1626,7 +1648,7 @@ dependencies = [ [[package]] name = "git-branchless-smartlog" -version = "0.8.0" +version = "0.9.0" dependencies = [ "cursive_core", "esl01-dag", @@ -1641,7 +1663,7 @@ dependencies = [ [[package]] name = "git-branchless-submit" -version = "0.8.0" +version = "0.9.0" dependencies = [ "clap 4.5.4", "cursive_core", @@ -1667,7 +1689,7 @@ dependencies = [ [[package]] name = "git-branchless-test" -version = "0.8.0" +version = "0.9.0" dependencies = [ "assert_cmd", "bstr", @@ -1698,7 +1720,7 @@ dependencies = [ [[package]] name = "git-branchless-undo" -version = "0.8.0" +version = "0.9.0" dependencies = [ "cursive", "cursive_buffered_backend", @@ -1903,12 +1925,6 @@ dependencies = [ "unicode-width", ] -[[package]] -name = "indoc" -version = "2.0.5" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "b248f5224d1d606005e02c97f5aa4e88eeb230488bcc03bc9ca4d7991399f2b5" - [[package]] name = "insta" version = "1.38.0" @@ -1959,15 +1975,6 @@ dependencies = [ "either", ] -[[package]] -name = "itertools" -version = "0.11.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "b1c173a5686ce8bfa551b3563d0c2170bf24ca44da99c7ca4bfdab5418c3fe57" -dependencies = [ - "either", -] - [[package]] name = "itertools" version = "0.12.1" @@ -2129,6 +2136,15 @@ version = "0.4.21" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "90ed8c1e510134f979dbc4f070f87d4313098b704861a105fe34231c70a3901c" +[[package]] +name = "lru" +version = "0.12.3" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "d3262e75e648fce39813cb56ac41f3c3e3f65217ebf3844d818d1f9398cfb0dc" +dependencies = [ + "hashbrown 0.14.3", +] + [[package]] name = "man" version = "0.3.0" @@ -2751,18 +2767,21 @@ dependencies = [ [[package]] name = "ratatui" -version = "0.23.0" +version = "0.26.3" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "2e2e4cd95294a85c3b4446e63ef054eea43e0205b1fd60120c16b74ff7ff96ad" +checksum = "f44c9e68fd46eda15c646fbb85e1040b657a58cdc8c98db1d97a55930d991eef" dependencies = [ "bitflags 2.5.0", "cassowary", + "compact_str", "crossterm 0.27.0", - "indoc", - "itertools 0.11.0", + "itertools 0.12.1", + "lru", "paste", + "stability", "strum", "unicode-segmentation", + "unicode-truncate", "unicode-width", ] @@ -2945,7 +2964,7 @@ checksum = "088c5d71572124929ea7549a8ce98e1a6fd33d0a38367b09027b382e67c033db" [[package]] name = "scm-bisect" -version = "0.1.0" +version = "0.2.0" dependencies = [ "indexmap 2.2.6", "insta", @@ -2958,9 +2977,9 @@ dependencies = [ [[package]] name = "scm-record" -version = "0.2.0" +version = "0.3.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "e45342a3f095f3b895b4958332c25e7cc2e0ad20caca84c0f22df8f39d279a24" +checksum = "4a1bf431016c7a34038f440696c672f0fee1a15d6aea31fe100df6974a35bf5f" dependencies = [ "cassowary", "clap 4.5.4", @@ -3205,6 +3224,16 @@ version = "0.3.2" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "b7c388c1b5e93756d0c740965c41e8822f866621d41acbdf6336a6a168f8840c" +[[package]] +name = "stability" +version = "0.2.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "2ff9eaf853dec4c8802325d8b6d3dffa86cc707fd7a1a4cdbf416e13b061787a" +dependencies = [ + "quote", + "syn 2.0.58", +] + [[package]] name = "stable_deref_trait" version = "1.2.0" @@ -3244,18 +3273,18 @@ checksum = "7da8b5736845d9f2fcb837ea5d9e2628564b3b043a70948a3f0b778838c5fb4f" [[package]] name = "strum" -version = "0.25.0" +version = "0.26.2" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "290d54ea6f91c969195bdbcd7442c8c2a2ba87da8bf60a7ee86a235d4bc1e125" +checksum = "5d8cec3501a5194c432b2b7976db6b7d10ec95c253208b45f83f7136aa985e29" dependencies = [ "strum_macros", ] [[package]] name = "strum_macros" -version = "0.25.3" +version = "0.26.2" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "23dc1fa9ac9c169a78ba62f0b841814b7abae11bdd047b9c58f893439e309ea0" +checksum = "c6cf59daf282c0a494ba14fd21610a0325f9f90ec9d1231dea26bcb1d696c946" dependencies = [ "heck 0.4.1", "proc-macro2", @@ -3613,6 +3642,16 @@ version = "1.11.0" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "d4c87d22b6e3f4a18d4d40ef354e97c90fcb14dd91d7dc0aa9d8a1172ebf7202" +[[package]] +name = "unicode-truncate" +version = "1.0.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "5a5fbabedabe362c618c714dbefda9927b5afc8e2a8102f47f081089a9019226" +dependencies = [ + "itertools 0.12.1", + "unicode-width", +] + [[package]] name = "unicode-width" version = "0.1.11" diff --git a/Cargo.toml b/Cargo.toml index e39aa0042..d60f7cc01 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -55,20 +55,20 @@ eden_dag = { package = "esl01-dag", version = "0.3.0" } eyre = "0.6.12" fslock = "0.2.1" futures = "0.3.30" -git-branchless-hook = { version = "0.8.0", path = "git-branchless-hook" } -git-branchless-init = { version = "0.8.0", path = "git-branchless-init" } -git-branchless-invoke = { version = "0.8.0", path = "git-branchless-invoke" } -git-branchless-move = { version = "0.8.0", path = "git-branchless-move" } -git-branchless-navigation = { version = "0.8.0", path = "git-branchless-navigation" } -git-branchless-opts = { version = "0.8.0", path = "git-branchless-opts" } -git-branchless-query = { version = "0.8.0", path = "git-branchless-query" } -git-branchless-record = { version = "0.8.0", path = "git-branchless-record" } -git-branchless-revset = { version = "0.8.0", path = "git-branchless-revset" } -git-branchless-reword = { version = "0.8.0", path = "git-branchless-reword" } -git-branchless-smartlog = { version = "0.8.0", path = "git-branchless-smartlog" } -git-branchless-submit = { version = "0.8.0", path = "git-branchless-submit" } -git-branchless-test = { version = "0.8.0", path = "git-branchless-test" } -git-branchless-undo = { version = "0.8.0", path = "git-branchless-undo" } +git-branchless-hook = { version = "0.9.0", path = "git-branchless-hook" } +git-branchless-init = { version = "0.9.0", path = "git-branchless-init" } +git-branchless-invoke = { version = "0.9.0", path = "git-branchless-invoke" } +git-branchless-move = { version = "0.9.0", path = "git-branchless-move" } +git-branchless-navigation = { version = "0.9.0", path = "git-branchless-navigation" } +git-branchless-opts = { version = "0.9.0", path = "git-branchless-opts" } +git-branchless-query = { version = "0.9.0", path = "git-branchless-query" } +git-branchless-record = { version = "0.9.0", path = "git-branchless-record" } +git-branchless-revset = { version = "0.9.0", path = "git-branchless-revset" } +git-branchless-reword = { version = "0.9.0", path = "git-branchless-reword" } +git-branchless-smartlog = { version = "0.9.0", path = "git-branchless-smartlog" } +git-branchless-submit = { version = "0.9.0", path = "git-branchless-submit" } +git-branchless-test = { version = "0.9.0", path = "git-branchless-test" } +git-branchless-undo = { version = "0.9.0", path = "git-branchless-undo" } git2 = { version = "0.18.3", default-features = false } glob = "0.3.0" indexmap = "2.2.6" @@ -77,7 +77,7 @@ itertools = "0.12.1" lalrpop = "0.19.12" lalrpop-util = "0.19.12" lazy_static = "1.4.0" -lib = { package = "git-branchless-lib", version = "0.8.0", path = "git-branchless-lib" } +lib = { package = "git-branchless-lib", version = "0.9.0", path = "git-branchless-lib" } man = "0.3.0" num_cpus = "1.16.0" once_cell = "1.19.0" @@ -86,8 +86,8 @@ portable-pty = "0.8.1" rayon = "1.10.0" regex = "1.10.4" rusqlite = { version = "0.29.0", features = ["bundled"] } -scm-bisect = { version = "0.1.0", path = "scm-bisect" } -scm-record = "0.2.0" +scm-bisect = { version = "0.2.0", path = "scm-bisect" } +scm-record = "0.3.0" serde = { version = "1.0.198", features = ["derive"] } serde_json = "1.0.116" shell-words = "1.1.0" diff --git a/git-branchless-hook/Cargo.toml b/git-branchless-hook/Cargo.toml index 0887d1d7c..f96a44552 100644 --- a/git-branchless-hook/Cargo.toml +++ b/git-branchless-hook/Cargo.toml @@ -4,7 +4,7 @@ edition = "2021" license = "MIT OR Apache-2.0" name = "git-branchless-hook" repository = "https://github.com/arxanas/git-branchless" -version = "0.8.0" +version = "0.9.0" # See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html diff --git a/git-branchless-init/Cargo.toml b/git-branchless-init/Cargo.toml index 9b63f920a..dcd4dc653 100644 --- a/git-branchless-init/Cargo.toml +++ b/git-branchless-init/Cargo.toml @@ -4,7 +4,7 @@ edition = "2021" license = "MIT OR Apache-2.0" name = "git-branchless-init" repository = "https://github.com/arxanas/git-branchless" -version = "0.8.0" +version = "0.9.0" # See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html diff --git a/git-branchless-invoke/Cargo.toml b/git-branchless-invoke/Cargo.toml index a8849040b..d73cf9959 100644 --- a/git-branchless-invoke/Cargo.toml +++ b/git-branchless-invoke/Cargo.toml @@ -4,7 +4,7 @@ edition = "2021" license = "MIT OR Apache-2.0" name = "git-branchless-invoke" repository = "https://github.com/arxanas/git-branchless" -version = "0.8.0" +version = "0.9.0" # See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html diff --git a/git-branchless-lib/Cargo.toml b/git-branchless-lib/Cargo.toml index 6c26977fa..bcbd15f82 100644 --- a/git-branchless-lib/Cargo.toml +++ b/git-branchless-lib/Cargo.toml @@ -7,7 +7,7 @@ license = "MIT OR Apache-2.0" name = "git-branchless-lib" repository = "https://github.com/arxanas/git-branchless" rust-version = "1.64.0" -version = "0.8.0" +version = "0.9.0" # See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html diff --git a/git-branchless-move/Cargo.toml b/git-branchless-move/Cargo.toml index ca207d704..3fe35b2df 100644 --- a/git-branchless-move/Cargo.toml +++ b/git-branchless-move/Cargo.toml @@ -4,7 +4,7 @@ edition = "2021" license = "MIT OR Apache-2.0" name = "git-branchless-move" repository = "https://github.com/arxanas/git-branchless" -version = "0.8.0" +version = "0.9.0" [dependencies] eden_dag = { workspace = true } diff --git a/git-branchless-navigation/Cargo.toml b/git-branchless-navigation/Cargo.toml index c86c75ff3..6ae4ebac0 100644 --- a/git-branchless-navigation/Cargo.toml +++ b/git-branchless-navigation/Cargo.toml @@ -4,7 +4,7 @@ edition = "2021" license = "MIT OR Apache-2.0" name = "git-branchless-navigation" repository = "https://github.com/arxanas/git-branchless" -version = "0.8.0" +version = "0.9.0" [dependencies] cursive = { workspace = true } diff --git a/git-branchless-opts/Cargo.toml b/git-branchless-opts/Cargo.toml index d38133e39..44f1d8e15 100644 --- a/git-branchless-opts/Cargo.toml +++ b/git-branchless-opts/Cargo.toml @@ -4,7 +4,7 @@ edition = "2021" license = "MIT OR Apache-2.0" name = "git-branchless-opts" repository = "https://github.com/arxanas/git-branchless" -version = "0.8.0" +version = "0.9.0" [dependencies] clap = { workspace = true, features = ["derive"] } diff --git a/git-branchless-query/Cargo.toml b/git-branchless-query/Cargo.toml index 2197fd19e..a739cd3ec 100644 --- a/git-branchless-query/Cargo.toml +++ b/git-branchless-query/Cargo.toml @@ -4,7 +4,7 @@ edition = "2021" license = "MIT OR Apache-2.0" name = "git-branchless-query" repository = "https://github.com/arxanas/git-branchless" -version = "0.8.0" +version = "0.9.0" # See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html diff --git a/git-branchless-record/Cargo.toml b/git-branchless-record/Cargo.toml index 0900ed30a..9b5be0ab9 100644 --- a/git-branchless-record/Cargo.toml +++ b/git-branchless-record/Cargo.toml @@ -4,7 +4,7 @@ edition = "2021" license = "MIT OR Apache-2.0" name = "git-branchless-record" repository = "https://github.com/arxanas/git-branchless" -version = "0.8.0" +version = "0.9.0" [dependencies] cursive = { version = "0.20.0", default-features = false, features = [ "crossterm-backend", ] } diff --git a/git-branchless-revset/Cargo.toml b/git-branchless-revset/Cargo.toml index b0b41f402..976b19151 100644 --- a/git-branchless-revset/Cargo.toml +++ b/git-branchless-revset/Cargo.toml @@ -4,7 +4,7 @@ edition = "2021" license = "MIT OR Apache-2.0" name = "git-branchless-revset" repository = "https://github.com/arxanas/git-branchless" -version = "0.8.0" +version = "0.9.0" [dependencies] bstr = { workspace = true } diff --git a/git-branchless-reword/Cargo.toml b/git-branchless-reword/Cargo.toml index 3a177fd6e..108b022c1 100644 --- a/git-branchless-reword/Cargo.toml +++ b/git-branchless-reword/Cargo.toml @@ -4,7 +4,7 @@ edition = "2021" license = "MIT OR Apache-2.0" name = "git-branchless-reword" repository = "https://github.com/arxanas/git-branchless" -version = "0.8.0" +version = "0.9.0" [dependencies] bstr = { workspace = true } diff --git a/git-branchless-smartlog/Cargo.toml b/git-branchless-smartlog/Cargo.toml index fdebf8a84..e74bc1778 100644 --- a/git-branchless-smartlog/Cargo.toml +++ b/git-branchless-smartlog/Cargo.toml @@ -4,7 +4,7 @@ edition = "2021" license = "MIT OR Apache-2.0" name = "git-branchless-smartlog" repository = "https://github.com/arxanas/git-branchless" -version = "0.8.0" +version = "0.9.0" [dependencies] cursive_core = { workspace = true } diff --git a/git-branchless-submit/Cargo.toml b/git-branchless-submit/Cargo.toml index 304290820..fc1680c6f 100644 --- a/git-branchless-submit/Cargo.toml +++ b/git-branchless-submit/Cargo.toml @@ -4,7 +4,7 @@ edition = "2021" license = "MIT OR Apache-2.0" name = "git-branchless-submit" repository = "https://github.com/arxanas/git-branchless" -version = "0.8.0" +version = "0.9.0" # See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html diff --git a/git-branchless-test/Cargo.toml b/git-branchless-test/Cargo.toml index 1ecec5a79..443a5ed6e 100644 --- a/git-branchless-test/Cargo.toml +++ b/git-branchless-test/Cargo.toml @@ -4,7 +4,7 @@ edition = "2021" license = "MIT OR Apache-2.0" name = "git-branchless-test" repository = "https://github.com/arxanas/git-branchless" -version = "0.8.0" +version = "0.9.0" [dependencies] bstr = { workspace = true } diff --git a/git-branchless-undo/Cargo.toml b/git-branchless-undo/Cargo.toml index bec066b5f..13f80ab52 100644 --- a/git-branchless-undo/Cargo.toml +++ b/git-branchless-undo/Cargo.toml @@ -4,7 +4,7 @@ edition = "2021" license = "MIT OR Apache-2.0" name = "git-branchless-undo" repository = "https://github.com/arxanas/git-branchless" -version = "0.8.0" +version = "0.9.0" [dependencies] cursive = { workspace = true } diff --git a/git-branchless/Cargo.toml b/git-branchless/Cargo.toml index 452ec7821..7bf56e572 100644 --- a/git-branchless/Cargo.toml +++ b/git-branchless/Cargo.toml @@ -12,7 +12,7 @@ name = "git-branchless" readme = "../README.md" repository = "https://github.com/arxanas/git-branchless" rust-version = "1.74" -version = "0.8.0" +version = "0.9.0" # See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html diff --git a/git-branchless/tests/test_init.rs b/git-branchless/tests/test_init.rs index d0d8d8b14..e8536a535 100644 --- a/git-branchless/tests/test_init.rs +++ b/git-branchless/tests/test_init.rs @@ -651,7 +651,7 @@ fn test_install_man_pages() -> eyre::Result<()> { insta::assert_snapshot!(man_page_contents, @r###" .ie \n(.g .ds Aq \(aq .el .ds Aq ' - .TH git-branchless 1 "git-branchless 0.8.0" + .TH git-branchless 1 "git-branchless 0.9.0" .SH NAME git\-branchless \- Branchless workflow for Git .SH SYNOPSIS @@ -759,7 +759,7 @@ fn test_install_man_pages() -> eyre::Result<()> { git\-branchless\-help(1) Print this message or the help of the given subcommand(s) .SH VERSION - v0.8.0 + v0.9.0 .SH AUTHORS Waleed Khan "###); diff --git a/scm-bisect/Cargo.toml b/scm-bisect/Cargo.toml index 55fd0c64f..a26c2fd3c 100644 --- a/scm-bisect/Cargo.toml +++ b/scm-bisect/Cargo.toml @@ -4,7 +4,7 @@ edition = "2021" license = "MIT OR Apache-2.0" name = "scm-bisect" repository = "https://github.com/arxanas/git-branchless" -version = "0.1.0" +version = "0.2.0" # See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html