[package]
edition = "2024"
rust-version = "1.89"
name = "okbot-core"
version = "0.10.1"
authors = ["The okbot contributors"]
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Domain model and ports (traits) of okbot; the SDK for third-party adapters."
homepage = "https://github.com/tidusvn05/okbot"
readme = false
keywords = [
"chatbot",
"agent",
"zalo",
"okbase",
"llm",
]
categories = ["command-line-utilities"]
license = "MIT OR Apache-2.0"
repository = "https://github.com/tidusvn05/okbot"
[lib]
name = "okbot_core"
path = "src/lib.rs"
[dependencies.async-trait]
version = "0.1"
[dependencies.jiff]
version = "0.2"
features = ["serde"]
[dependencies.serde]
version = "1"
features = ["derive"]
[dependencies.serde_json]
version = "1"
[dependencies.thiserror]
version = "2"
[dependencies.tokio-util]
version = "0.7"
features = ["rt"]
[dev-dependencies.proptest]
version = "1"
[dev-dependencies.serde_json]
version = "1"
[dev-dependencies.tokio]
version = "1"
features = [
"rt-multi-thread",
"macros",
"sync",
"time",
"signal",
"net",
"io-util",
"io-std",
"process",
"fs",
]
[lints.clippy]
doc_markdown = "allow"
many_single_char_names = "allow"
missing_errors_doc = "allow"
missing_panics_doc = "allow"
module_name_repetitions = "allow"
must_use_candidate = "allow"
return_self_not_must_use = "allow"
similar_names = "allow"
single_match_else = "allow"
struct_excessive_bools = "allow"
unwrap_used = "warn"
[lints.clippy.all]
level = "warn"
priority = -1
[lints.clippy.pedantic]
level = "warn"
priority = -1
[lints.rust]
missing_docs = "warn"
unreachable_pub = "warn"
unsafe_code = "forbid"