Files

39 lines
1.0 KiB
TOML

[package]
name = "goose-sdk"
version.workspace = true
edition.workspace = true
rust-version.workspace = true
authors.workspace = true
license.workspace = true
repository.workspace = true
description = "Rust SDK for Goose with optional uniffi bindings for Python/Kotlin"
[lib]
name = "goose_sdk"
crate-type = ["cdylib", "staticlib", "rlib"]
[[bin]]
name = "goose-uniffi-bindgen"
path = "src/bin/uniffi-bindgen.rs"
required-features = ["uniffi"]
[features]
default = []
uniffi = ["dep:uniffi", "dep:thiserror"]
[dependencies]
goose-sdk-types = { path = "../goose-sdk-types" }
agent-client-protocol = { workspace = true, features = ["unstable"] }
agent-client-protocol-schema = { workspace = true }
uniffi = { version = "0.29", features = ["cli"], optional = true }
thiserror = { version = "2", optional = true }
[dev-dependencies]
tokio = { workspace = true }
tokio-util = { workspace = true, features = ["compat", "rt"] }
[package.metadata.cargo-machete]
# Used to provide extras imports for agent-client-protocol
ignored = ["agent-client-protocol-schema"]