From cfe34e6b9799f2dbc27797081313208ce2e46019 Mon Sep 17 00:00:00 2001 From: Nazmul Idris Date: Sun, 20 Oct 2024 17:36:25 -0500 Subject: [PATCH] v0.10.0-core --- CHANGELOG.md | 12 +++++----- Cargo.lock | 48 ++++++++++++++++++------------------- analytics_schema/Cargo.toml | 2 +- cmdr/Cargo.toml | 4 ++-- core/Cargo.toml | 4 ++-- docs/release-guide.md | 4 ++-- macro/Cargo.toml | 4 ++-- terminal_async/Cargo.toml | 2 +- test_fixtures/Cargo.toml | 2 +- tui/Cargo.toml | 4 ++-- tuify/Cargo.toml | 4 ++-- 11 files changed, 45 insertions(+), 45 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 7ae1d7d3b..a71db5fd8 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -48,7 +48,7 @@ - [v0.3.2 2023-03-06](#v032-2023-03-06) - [v0.3.1 2023-03-06](#v031-2023-03-06) - [r3bl_core](#r3bl_core) - - [next-release-core](#next-release-core) + - [v0.10.0 2024-10-20](#v0100-2024-10-20) - [r3bl_analytics_schema](#r3bl_analytics_schema) - [v0.0.2 2024-09-12](#v002-2024-09-12) - [v0.0.1 2023-12-31](#v001-2023-12-31) @@ -724,16 +724,16 @@ exhaustively tested and is able to handle many more corner cases. ## `r3bl_core` -### next-release-core +### v0.10.0 (2024-10-20) This is a major release that does not include any new functionality, but is a radical reorganization & rename of the crate, it used to be [`r3bl_rs_utils_core`](#rename-to-r3bl_core). -The `r3bl-open-core` repo was started in `2022-02-23`, about 2 years, 7 months -ago, (which you can get using `curl https://api.github.com/repos/r3bl-org/r3bl-open-core | -jq .created_at`). We have learned many lessons since then after writing about 125K lines -of Rust code. +The `r3bl-open-core` repo was started in `2022-02-23`, about 2 years, 7 months ago, (which +you can get using `curl https://api.github.com/repos/r3bl-org/r3bl-open-core | jq +.created_at`). We have learned many lessons since then after writing about 125K lines of +Rust code. And it is time to pay down the accrued technical debt, to ensure that the codebase is easier to maintain and understand, and easier to add new features to in the future. The diff --git a/Cargo.lock b/Cargo.lock index e06262c6e..49a9dd6ef 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -134,7 +134,7 @@ checksum = "c7c24de15d275a1ecfd47a380fb4d5ec9bfe0933f309ed5e705b775596a3574d" dependencies = [ "proc-macro2", "quote", - "syn 2.0.79", + "syn 2.0.82", ] [[package]] @@ -309,7 +309,7 @@ dependencies = [ "heck", "proc-macro2", "quote", - "syn 2.0.79", + "syn 2.0.82", ] [[package]] @@ -700,7 +700,7 @@ checksum = "162ee34ebcb7c64a8abebc059ce0fee27c2262618d7b60ed8faf72fef13c3650" dependencies = [ "proc-macro2", "quote", - "syn 2.0.79", + "syn 2.0.82", ] [[package]] @@ -1192,7 +1192,7 @@ checksum = "dcf09caffaac8068c346b6df2a7fc27a177fd20b39421a39ce0a211bde679a6c" dependencies = [ "proc-macro2", "quote", - "syn 2.0.79", + "syn 2.0.82", ] [[package]] @@ -1402,7 +1402,7 @@ checksum = "a948666b637a0f465e8564c73e89d4dde00d72d4d473cc972f390fc3dcee7d9c" dependencies = [ "proc-macro2", "quote", - "syn 2.0.79", + "syn 2.0.82", ] [[package]] @@ -1537,7 +1537,7 @@ dependencies = [ "phf_shared", "proc-macro2", "quote", - "syn 2.0.79", + "syn 2.0.82", ] [[package]] @@ -1711,7 +1711,7 @@ dependencies = [ [[package]] name = "r3bl_core" -version = "0.9.16" +version = "0.10.0" dependencies = [ "assert_cmd", "async-stream", @@ -1756,7 +1756,7 @@ dependencies = [ "proc-macro2", "quote", "r3bl_core", - "syn 2.0.79", + "syn 2.0.82", ] [[package]] @@ -2183,14 +2183,14 @@ checksum = "243902eda00fad750862fc144cea25caca5e20d615af0a81bee94ca738f1df1f" dependencies = [ "proc-macro2", "quote", - "syn 2.0.79", + "syn 2.0.82", ] [[package]] name = "serde_json" -version = "1.0.131" +version = "1.0.132" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "67d42a0bd4ac281beff598909bb56a86acaf979b84483e1c79c10dcaf98f8cf3" +checksum = "d726bfaff4b320266d395898905d0eba0345aae23b54aee3a737e260fd46db03" dependencies = [ "itoa", "memchr", @@ -2232,7 +2232,7 @@ checksum = "82fe9db325bcef1fbcde82e078a5cc4efdf787e96b3b9cf45b50b529f2083d67" dependencies = [ "proc-macro2", "quote", - "syn 2.0.79", + "syn 2.0.82", ] [[package]] @@ -2438,7 +2438,7 @@ dependencies = [ "proc-macro2", "quote", "rustversion", - "syn 2.0.79", + "syn 2.0.82", ] [[package]] @@ -2481,9 +2481,9 @@ dependencies = [ [[package]] name = "syn" -version = "2.0.79" +version = "2.0.82" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "89132cd0bf050864e1d38dc3bbc07a0eb8e7530af26344d3d2bbbef83499f590" +checksum = "83540f837a8afc019423a8edb95b52a8effe46957ee402287f4292fae35be021" dependencies = [ "proc-macro2", "quote", @@ -2599,7 +2599,7 @@ dependencies = [ "cfg-if", "proc-macro2", "quote", - "syn 2.0.79", + "syn 2.0.82", ] [[package]] @@ -2610,7 +2610,7 @@ checksum = "5c89e72a01ed4c579669add59014b9a524d609c0c88c6a585ce37485879f6ffb" dependencies = [ "proc-macro2", "quote", - "syn 2.0.79", + "syn 2.0.82", "test-case-core", ] @@ -2642,7 +2642,7 @@ checksum = "08904e7672f5eb876eaaf87e0ce17857500934f4981c4a0ab2b4aa98baac7fc3" dependencies = [ "proc-macro2", "quote", - "syn 2.0.79", + "syn 2.0.82", ] [[package]] @@ -2728,7 +2728,7 @@ checksum = "693d596312e88961bc67d7f1f97af8a70227d9f90c31bba5806eec004978d752" dependencies = [ "proc-macro2", "quote", - "syn 2.0.79", + "syn 2.0.82", ] [[package]] @@ -2811,7 +2811,7 @@ checksum = "34704c8d6ebcbc939824180af020566b01a7c01f80641264eba0999f6c2b6be7" dependencies = [ "proc-macro2", "quote", - "syn 2.0.79", + "syn 2.0.82", ] [[package]] @@ -2948,7 +2948,7 @@ checksum = "6b91f57fe13a38d0ce9e28a03463d8d3c2468ed03d75375110ec71d93b449a08" dependencies = [ "proc-macro2", "quote", - "syn 2.0.79", + "syn 2.0.82", ] [[package]] @@ -3045,7 +3045,7 @@ dependencies = [ "once_cell", "proc-macro2", "quote", - "syn 2.0.79", + "syn 2.0.82", "wasm-bindgen-shared", ] @@ -3079,7 +3079,7 @@ checksum = "26c6ab57572f7a24a4985830b120de1594465e5d500f24afe89e16b4e833ef68" dependencies = [ "proc-macro2", "quote", - "syn 2.0.79", + "syn 2.0.82", "wasm-bindgen-backend", "wasm-bindgen-shared", ] @@ -3488,7 +3488,7 @@ checksum = "fa4f8080344d4671fb4e831a13ad1e68092748387dfc4f55e356242fae12ce3e" dependencies = [ "proc-macro2", "quote", - "syn 2.0.79", + "syn 2.0.82", ] [[package]] diff --git a/analytics_schema/Cargo.toml b/analytics_schema/Cargo.toml index bf8a4ae08..be8aee4ad 100644 --- a/analytics_schema/Cargo.toml +++ b/analytics_schema/Cargo.toml @@ -13,7 +13,7 @@ license = "Apache-2.0" [dependencies] # serde-json. serde = { version = "1.0.210", features = ["derive"] } -serde_json = "1.0.131" +serde_json = "1.0.132" # Uuid. uuid = { version = "1.11.0", features = [ diff --git a/cmdr/Cargo.toml b/cmdr/Cargo.toml index 316e8f96a..7b8dea772 100644 --- a/cmdr/Cargo.toml +++ b/cmdr/Cargo.toml @@ -44,7 +44,7 @@ path = "src/lib.rs" [dependencies] # R3BL crates (from this mono repo). r3bl_ansi_color = { path = "../ansi_color", version = "0.7.0" } # version is requried to publish to crates.io -r3bl_core = { path = "../core", version = "0.9.16" } # version is requried to publish to crates.io +r3bl_core = { path = "../core", version = "0.10.0" } # version is requried to publish to crates.io r3bl_macro = { path = "../macro", version = "0.9.10" } # version is requried to publish to crates.io r3bl_tui = { path = "../tui", version = "0.5.9" } # version is requried to publish to crates.io r3bl_tuify = { path = "../tuify", version = "0.1.27" } # version is requried to publish to crates.io @@ -59,7 +59,7 @@ clap = { version = "4.5.20", features = ["derive", "wrap_help", "help"] } # serde-json. serde = { version = "1.0.210", features = ["derive"] } -serde_json = "1.0.131" +serde_json = "1.0.132" # Time. chrono = "0.4.38" diff --git a/core/Cargo.toml b/core/Cargo.toml index 1fe9c2144..e39cd21d5 100644 --- a/core/Cargo.toml +++ b/core/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "r3bl_core" -version = "0.9.16" +version = "0.10.0" edition = "2021" resolver = "2" description = """ @@ -31,7 +31,7 @@ r3bl_ansi_color = { path = "../ansi_color", version = "0.7.0" } # Convert betwee # https://github.com/serde-rs/serde. serde = { version = "1.0.210", features = ["derive"] } -serde_json = "1.0.131" +serde_json = "1.0.132" # Unicode, grapheme clusters. unicode-width = "0.2.0" diff --git a/docs/release-guide.md b/docs/release-guide.md index 847aad2a1..3dc24504d 100644 --- a/docs/release-guide.md +++ b/docs/release-guide.md @@ -66,8 +66,8 @@ cargo build; cargo test; cargo doc --no-deps; cargo clippy --fix --allow-dirty - cargo publish --dry-run --allow-dirty cargo readme > README.md git add -A -git commit -S -m "v0.9.16-core" -git tag -a v0.9.16-core -m "v0.9.16-core" +git commit -S -m "v0.10.0-core" +git tag -a v0.10.0-core -m "v0.10.0-core" cargo publish git push ; git push --tags # Push tags & commits cd .. diff --git a/macro/Cargo.toml b/macro/Cargo.toml index d39c5af8d..8c0499862 100644 --- a/macro/Cargo.toml +++ b/macro/Cargo.toml @@ -27,10 +27,10 @@ path = "src/lib.rs" # [Nesting crates for procedural macros](https://stackoverflow.com/a/64288799/2085356) [dependencies] -r3bl_core = { path = "../core", version = "0.9.16" } +r3bl_core = { path = "../core", version = "0.10.0" } # https://github.com/dtolnay/proc-macro-workshop#debugging-tips -syn = { version = "2.0.79", features = [ +syn = { version = "2.0.82", features = [ "extra-traits", "full", "derive", diff --git a/terminal_async/Cargo.toml b/terminal_async/Cargo.toml index e98053989..d5cc03c4f 100644 --- a/terminal_async/Cargo.toml +++ b/terminal_async/Cargo.toml @@ -25,7 +25,7 @@ futures-util = "0.3.31" # Needed for cro # r3bl-open-core. r3bl_ansi_color = { path = "../ansi_color", version = "0.7.0" } # version is required to publish to crates.io -r3bl_core = { path = "../core", version = "0.9.16" } # version is requried to publish to crates.io +r3bl_core = { path = "../core", version = "0.10.0" } # version is requried to publish to crates.io r3bl_tui = { path = "../tui", version = "0.5.9" } # version is requried to publish to crates.io r3bl_tuify = { path = "../tuify", version = "0.1.27" } # version is requried to publish to crates.io diff --git a/test_fixtures/Cargo.toml b/test_fixtures/Cargo.toml index fdc98d0f3..0e65fa1bb 100644 --- a/test_fixtures/Cargo.toml +++ b/test_fixtures/Cargo.toml @@ -19,7 +19,7 @@ homepage = "https://r3bl.com" license = "Apache-2.0" [dependencies] -r3bl_core = { path = "../core", version = "0.9.16" } +r3bl_core = { path = "../core", version = "0.10.0" } # Async stream for DI and testing. futures-core = "0.3.31" diff --git a/tui/Cargo.toml b/tui/Cargo.toml index 219d3c72a..86e4ad20c 100644 --- a/tui/Cargo.toml +++ b/tui/Cargo.toml @@ -26,7 +26,7 @@ path = "src/lib.rs" [dependencies] # r3bl-open-core. -r3bl_core = { path = "../core", version = "0.9.16" } # version is requried to publish to crates.io +r3bl_core = { path = "../core", version = "0.10.0" } # version is requried to publish to crates.io r3bl_macro = { path = "../macro", version = "0.9.10" } # version is requried to publish to crates.io r3bl_ansi_color = { path = "../ansi_color", version = "0.7.0" } # version is requried to publish to crates.io @@ -42,7 +42,7 @@ futures-util = "0.3.31" # https://github.com/serde-rs/serde. serde = { version = "1.0.210", features = ["derive"] } -serde_json = "1.0.131" +serde_json = "1.0.132" # strum. strum = "0.26.3" diff --git a/tuify/Cargo.toml b/tuify/Cargo.toml index 2fe48bde3..a6ec96db9 100644 --- a/tuify/Cargo.toml +++ b/tuify/Cargo.toml @@ -30,12 +30,12 @@ path = "src/bin/rt.rs" [dependencies] # r3bl-open-core. -r3bl_core = { path = "../core", version = "0.9.16" } # version is requried to publish to crates.io +r3bl_core = { path = "../core", version = "0.10.0" } # version is requried to publish to crates.io r3bl_ansi_color = { path = "../ansi_color", version = "0.7.0" } # version is requried to publish to crates.io # serde for JSON serialization. serde = { version = "1.0.210", features = ["derive"] } -serde_json = "1.0.131" +serde_json = "1.0.132" # Terminal output. crossterm = "0.28.1"