[package]
edition = "2024"
rust-version = "1.91"
name = "rullama-core"
version = "0.12.0"
authors = ["Brainwires"]
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Core types, traits, and error handling for the rullama agent framework"
homepage = "https://github.com/Brainwires/rullama-framework"
documentation = "https://docs.rs/rullama-core"
readme = "README.md"
keywords = [
"ai-agents",
"llm",
"framework",
"traits",
"multi-agent",
]
categories = ["development-tools"]
license = "MIT OR Apache-2.0"
repository = "https://github.com/Brainwires/rullama-framework"
resolver = "2"
[package.metadata.docs.rs]
all-features = true
rustdoc-args = [
"--cfg",
"docsrs",
]
[features]
alt-folder-name = []
default = ["native"]
native = []
schemars = ["dep:schemars"]
wasm = ["chrono/wasmbind"]
[lib]
name = "rullama_core"
path = "src/lib.rs"
[[test]]
name = "generate_fixtures"
path = "tests/generate_fixtures.rs"
[dependencies.anyhow]
version = "1"
[dependencies.async-trait]
version = "0.1"
[dependencies.chrono]
version = "0.4"
features = ["serde"]
[dependencies.futures]
version = "0.3"
[dependencies.schemars]
version = "1.0"
optional = true
[dependencies.serde]
version = "1"
features = ["derive"]
[dependencies.serde_json]
version = "1"
[dependencies.thiserror]
version = "2"
[dependencies.uuid]
version = "1"
features = [
"v4",
"serde",
]
[dev-dependencies.serde_json]
version = "1"
[dev-dependencies.tempfile]
version = "3"
[target.'cfg(not(target_arch = "wasm32"))'.dependencies.dirs]
version = "6"
[target.'cfg(not(target_arch = "wasm32"))'.dependencies.sha2]
version = "0.10"
[target.'cfg(not(target_arch = "wasm32"))'.dependencies.tokio]
version = "1.43"
features = [
"fs",
"sync",
]
[target.'cfg(not(target_arch = "wasm32"))'.dependencies.tokio-util]
version = "0.7"
[target.'cfg(target_arch = "wasm32")'.dependencies.chrono]
version = "0.4"
features = [
"serde",
"wasmbind",
]
[target.'cfg(target_arch = "wasm32")'.dependencies.getrandom]
version = "0.2"
features = ["js"]
[target.'cfg(target_arch = "wasm32")'.dependencies.tokio-util]
version = "0.7"
[target.'cfg(target_arch = "wasm32")'.dependencies.uuid]
version = "1"
features = [
"v4",
"serde",
"v4",
"serde",
"js",
]