mofa-sdk 0.1.0

MoFA SDK - Modular Framework for Agents. A standard development toolkit for building AI agents with Rust
Documentation
# THIS FILE IS AUTOMATICALLY GENERATED BY CARGO
#
# When uploading crates to the registry Cargo will automatically
# "normalize" Cargo.toml files for maximal compatibility
# with all versions of Cargo and also rewrite `path` dependencies
# to registry (e.g., crates.io) dependencies.
#
# If you are reading this file be aware that the original Cargo.toml
# will likely look very different (and much more reasonable).
# See Cargo.toml.orig for the original contents.

[package]
edition = "2024"
name = "mofa-sdk"
version = "0.1.0"
authors = ["MoFA Contributors <contributors@mofa.org>"]
build = false
publish = true
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "MoFA SDK - Modular Framework for Agents. A standard development toolkit for building AI agents with Rust"
homepage = "https://github.com/mofa-org/mofa"
documentation = "https://docs.rs/mofa-sdk"
readme = "README.md"
keywords = [
    "ai",
    "agent",
    "sdk",
    "framework",
    "uniffi",
]
categories = [
    "development-tools",
    "asynchronous",
]
license = "Apache-2.0"
repository = "https://github.com/mofa-org/mofa"

[features]
default = []
dora = ["mofa-runtime/dora"]
kokoro = [
    "mofa-plugins/kokoro",
    "mofa-foundation/kokoro",
]
monitoring = [
    "mofa-runtime/monitoring",
    "dep:mofa-monitoring",
]
persistence-all = [
    "mofa-foundation/persistence-all",
    "sqlx",
]
persistence-mysql = [
    "mofa-foundation/persistence-mysql",
    "sqlx",
]
persistence-postgres = [
    "mofa-foundation/persistence-postgres",
    "sqlx",
]
persistence-sqlite = [
    "mofa-foundation/persistence-sqlite",
    "sqlx",
]
rodio = ["mofa-plugins/rodio"]

[lib]
name = "mofa_sdk"
crate-type = ["lib"]
path = "src/lib.rs"

[dependencies.anyhow]
version = "1.0"

[dependencies.async-trait]
version = "0.1"

[dependencies.mofa-extra]
version = "0.1"
features = ["rhai-scripting"]

[dependencies.mofa-foundation]
version = "0.1"

[dependencies.mofa-kernel]
version = "0.1"
features = ["config"]

[dependencies.mofa-monitoring]
version = "0.1"
optional = true

[dependencies.mofa-plugins]
version = "0.1"

[dependencies.mofa-runtime]
version = "0.1"

[dependencies.serde_json]
version = "1.0"

[dependencies.sqlx]
version = "0.8"
features = [
    "runtime-tokio",
    "postgres",
    "mysql",
    "sqlite",
    "uuid",
    "chrono",
    "json",
]
optional = true

[dependencies.tokio]
version = "1"
features = ["full"]

[dependencies.tracing]
version = "0.1"

[dependencies.uuid]
version = "1.7"
features = [
    "v4",
    "v7",
]

[dev-dependencies.tempfile]
version = "3.8"

[lints.rust]
dead_code = "allow"
unexpected_cfgs = "allow"
unused = "allow"
unused_variables = "allow"