chat_messages 0.1.0

chat_messages is a lightweight Rust library for creating structured messages in chat systems, including HumanMessage, AiMessage, SystemMessage, and more. It supports easy extensibility through macros, Serde-based serialization, and customizable fields, making it ideal for chatbots, AI agents, and messaging platforms.
Documentation
[dependencies.derive_base_message]
version = "0.1.0"

[dependencies.paste]
version = "1.0.15"

[dependencies.serde]
features = ["derive"]
version = "1.0.210"

[dependencies.serde_json]
version = "1.0.128"

[lib]
name = "chat_messages"
path = "src/lib.rs"

[package]
authors = ["Kingston Huynh <139024820+kinghuynh@users.noreply.github.com>"]
autobenches = false
autobins = false
autoexamples = false
autotests = false
build = false
categories = ["text-processing", "parsing", "development-tools::procedural-macro-helpers", "development-tools"]
description = "chat_messages is a lightweight Rust library for creating structured messages in chat systems, including HumanMessage, AiMessage, SystemMessage, and more. It supports easy extensibility through macros, Serde-based serialization, and customizable fields, making it ideal for chatbots, AI agents, and messaging platforms."
edition = "2021"
keywords = ["llm", "AI", "langchain", "chatbots", "agents"]
license = "Apache-2.0"
name = "chat_messages"
readme = "README.md"
repository = "https://github.com/kinghuynh/chat_messages.git"
version = "0.1.0"

[[test]]
name = "define_message_tests"
path = "tests/define_message_tests.rs"

[[test]]
name = "derive_message_tests"
path = "tests/derive_message_tests.rs"

[[test]]
name = "message_serialization_tests"
path = "tests/message_serialization_tests.rs"

[[test]]
name = "message_tests"
path = "tests/message_tests.rs"