From f75dc1b9a4ea2d63ee635175b474687f14a03cc6 Mon Sep 17 00:00:00 2001 From: "github-actions[bot]" <41898282+github-actions[bot]@users.noreply.github.com> Date: Thu, 22 Jan 2026 15:14:44 +0100 Subject: [PATCH] chore: release v0.2.4 (#17) * chore: release v0.2.4 * chore: update CHANGELOG and README --------- Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com> Co-authored-by: JasterV <49537445+JasterV@users.noreply.github.com> --- CHANGELOG.md | 18 ++++++++++-------- Cargo.lock | 4 ++-- Cargo.toml | 2 +- README.md | 9 +++++++++ granc/Cargo.toml | 2 +- 5 files changed, 23 insertions(+), 12 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 51e4dd0..4fbe873 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -7,23 +7,25 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0 ## [Unreleased] -## `granc` - [0.2.3](https://github.com/JasterV/granc/compare/granc-v0.2.2...granc-v0.2.3) - 2026-01-21 +## `granc` - [0.2.4](https://github.com/JasterV/granc/compare/granc-v0.2.3...granc-v0.2.4) - 2026-01-22 -### Other +- **Published granc-core** as a library crate `granc-core` ([#16](https://github.com/JasterV/granc/pull/16)) + +## `granc_core` - [0.2.4](https://github.com/JasterV/granc/compare/granc_core-v0.2.3...granc_core-v0.2.4) - 2026-01-22 + +- **Published granc-core** as a library crate `granc-core` ([#16](https://github.com/JasterV/granc/pull/16)) + +## `granc` - [0.2.3](https://github.com/JasterV/granc/compare/granc-v0.2.2...granc-v0.2.3) - 2026-01-21 - **Internal refactor**: Decouple ReflectionClient to possibly publish in a separate crate ## `granc` - [0.2.2](https://github.com/JasterV/granc/compare/granc-v0.2.1...granc-v0.2.2) - 2026-01-21 -### Other - -- Update README.md +- Updated README.md ## `granc` - [0.2.1](https://github.com/JasterV/granc/compare/granc-v0.2.0...granc-v0.2.1) - 2026-01-21 -### Other - -- Update README +- Updated README ## `granc` - [0.2.0](https://github.com/JasterV/granc/compare/granc-v0.1.0...granc-v0.2.0) - 2026-01-21 diff --git a/Cargo.lock b/Cargo.lock index d4ac876..d04c5ac 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -327,7 +327,7 @@ dependencies = [ [[package]] name = "granc" -version = "0.2.3" +version = "0.2.4" dependencies = [ "clap", "granc_core", @@ -338,7 +338,7 @@ dependencies = [ [[package]] name = "granc_core" -version = "0.2.3" +version = "0.2.4" dependencies = [ "echo-service", "futures-util", diff --git a/Cargo.toml b/Cargo.toml index 972b7d6..e20055b 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -9,7 +9,7 @@ homepage = "https://github.com/JasterV/granc" license = "MIT OR Apache-2.0" repository = "https://github.com/JasterV/granc" rust-version = "1.89" -version = "0.2.3" +version = "0.2.4" [workspace.dependencies] serde_json = "1.0.149" diff --git a/README.md b/README.md index 353f49a..cc72d5f 100644 --- a/README.md +++ b/README.md @@ -133,6 +133,15 @@ granc \ * **Pretty Printing**: Enhanced colored output for JSON responses. * **TLS Support**: Configurable root certificates and client identity. +## 🧩 Using as a Library + +The core logic of Granc is decoupled into a separate library crate, **`granc-core`**. + +If you want to build your own tools using the dynamic gRPC engine (e.g., for custom integration testing, proxies, or automation tools), you can depend on `granc-core` directly. + +* **Documentation & Usage**: See the [**`granc-core` README**](./granc-core/README.md) for examples on how to use the `GrancClient` programmatically. +* **Crate**: [`granc-core`](https://crates.io/crates/granc_core) + ## ⚠️ Common Errors **1. `Service 'x' not found**` diff --git a/granc/Cargo.toml b/granc/Cargo.toml index 7c155eb..0133fdb 100644 --- a/granc/Cargo.toml +++ b/granc/Cargo.toml @@ -15,7 +15,7 @@ version = { workspace = true } [dependencies] clap = { version = "4.5.54", features = ["derive"] } -granc_core = { path = "../granc-core" } +granc_core = "0.2.4" serde_json = { workspace = true } tokio = { workspace = true, features = ["rt-multi-thread", "macros"] } tonic = { workspace = true }