[package]
edition = "2024"
rust-version = "1.89"
name = "okbot-render"
version = "0.10.1"
authors = ["The okbot contributors"]
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Renders the agent's Markdown into each chat platform's dialect and splits long replies."
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_render"
path = "src/lib.rs"
[[test]]
name = "dialects"
path = "tests/dialects.rs"
[[test]]
name = "split_props"
path = "tests/split_props.rs"
[dependencies.okbot-core]
version = "0.10.1"
[dependencies.pulldown-cmark]
version = "0.13"
default-features = false
[dev-dependencies.insta]
version = "1"
features = [
"json",
"yaml",
]
[dev-dependencies.proptest]
version = "1"
[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"