[package]
edition = "2021"
rust-version = "1.70"
name = "umf"
version = "0.2.5"
authors = ["Simpaticoder Contributors"]
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Universal Message Format (UMF) - Provider-agnostic message representation for LLM interactions with ChatML formatting, internal hub model, and MCP support"
homepage = "https://umf.podtan.com"
documentation = "https://docs.rs/umf"
readme = "README.md"
keywords = [
"llm",
"message-format",
"openai",
"anthropic",
"mcp",
]
categories = [
"data-structures",
"encoding",
]
license = "MIT OR Apache-2.0"
repository = "https://github.com/podtan/umf"
[features]
chatml = ["internal"]
default = ["internal"]
events = ["internal"]
full = [
"internal",
"chatml",
"events",
"streaming",
"mcp",
]
internal = ["thiserror"]
mcp = ["internal"]
streaming = [
"internal",
"futures-util",
]
[lib]
name = "umf"
path = "src/lib.rs"
[dependencies.futures-util]
version = "0.3"
optional = true
[dependencies.serde]
version = "1.0"
features = ["derive"]
[dependencies.serde_json]
version = "1.0"
[dependencies.thiserror]
version = "1.0"
optional = true
[dependencies.tiktoken-rs]
version = "0.5"
[dependencies.tracing]
version = "0.1"
[dev-dependencies]