Skip to content

Commit eba1cd6

Browse files
committed
chore: add CallId into String, bump to v0.1.6
1 parent a44f5eb commit eba1cd6

4 files changed

Lines changed: 10 additions & 4 deletions

File tree

Cargo.lock

Lines changed: 2 additions & 2 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ description = "Core functionality for the tools-rs tool collection system"
55
edition = "2024"
66
license = "MIT"
77
name = "tools-rs"
8-
version = "0.1.5"
8+
version = "0.1.6"
99

1010
[lib]
1111
name = "tools_rs"

tools_core/Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ license = "MIT"
66
name = "tools_core"
77
repository = "https://github.com/EggerMarc/tools-rs"
88
rust-version = "1.85"
9-
version = "0.1.4"
9+
version = "0.1.5"
1010

1111

1212
[dependencies]

tools_core/src/lib.rs

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -265,6 +265,12 @@ impl fmt::Display for CallId {
265265
}
266266
}
267267

268+
impl From<CallId> for String {
269+
fn from(id: CallId) -> Self {
270+
id.0.to_string()
271+
}
272+
}
273+
268274
/// Represents a function response with name and arguments
269275
#[derive(Debug, Deserialize, Serialize, PartialEq, Clone)]
270276
pub struct FunctionResponse {

0 commit comments

Comments
 (0)