[package]
edition = "2024"
name = "rucora-core"
version = "0.2.0"
authors = ["rucora contributors"]
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Core abstractions and types for the rucora LLM agent framework"
documentation = "https://docs.rs/rucora-core"
readme = "README.md"
keywords = [
"llm",
"agent",
"ai",
"openai",
"rag",
]
categories = [
"api-bindings",
"asynchronous",
"text-processing",
]
license = "MIT"
repository = "https://github.com/launcher-rs/rucora"
[lib]
name = "rucora_core"
path = "src/lib.rs"
[[test]]
name = "contract_memory"
path = "tests/contract_memory.rs"
[[test]]
name = "contract_provider"
path = "tests/contract_provider.rs"
[[test]]
name = "contract_skill"
path = "tests/contract_skill.rs"
[[test]]
name = "contract_tool"
path = "tests/contract_tool.rs"
[[test]]
name = "integration_test"
path = "tests/integration_test.rs"
[[test]]
name = "property_tests"
path = "tests/property_tests.rs"
[[test]]
name = "test_utils"
path = "tests/test_utils.rs"
[dependencies.async-trait]
version = "0.1"
[dependencies.chrono]
version = "0.4"
features = ["serde"]
[dependencies.futures-util]
version = "0.3"
[dependencies.regex]
version = "1"
[dependencies.schemars]
version = "1.2"
[dependencies.serde]
version = "1"
features = ["derive"]
[dependencies.serde_json]
version = "1"
[dependencies.thiserror]
version = "2"
[dependencies.tokio]
version = "1"
features = [
"sync",
"time",
"macros",
"rt",
"process",
"fs",
]
[dependencies.tracing]
version = "0.1"
[dependencies.uuid]
version = "1"
features = ["v4"]
[dev-dependencies.proptest]
version = "1"
[lints.clippy]
clone_on_copy = "deny"
cognitive_complexity = "allow"
enum_variant_names = "warn"
explicit_counter_loop = "warn"
explicit_into_iter_loop = "deny"
explicit_iter_loop = "deny"
filter_map_identity = "warn"
iter_overeager_cloned = "deny"
let_and_return = "warn"
manual_flatten = "deny"
manual_let_else = "deny"
manual_strip = "deny"
map_unwrap_or = "warn"
missing_errors_doc = "allow"
missing_panics_doc = "allow"
needless_borrow = "deny"
needless_borrowed_reference = "deny"
needless_collect = "deny"
needless_pass_by_value = "warn"
needless_range_loop = "deny"
needless_return = "warn"
or_fun_call = "warn"
redundant_clone = "deny"
redundant_field_names = "deny"
result_unit_err = "deny"
same_item_push = "deny"
single_match = "deny"
too_many_arguments = "warn"
type_complexity = "warn"
uninlined_format_args = "deny"
unnecessary_wraps = "deny"
unused_async = "deny"
wrong_self_convention = "warn"
[lints.rust]
dead_code = "deny"