slave-framework 0.7.0

Runtime for slave apps (a Laravel-inspired Rust framework for MCP-first apps): server lifecycle, config, logging, Turso Cloud database and migrations, and OpenID Connect sign-in
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"
rust-version = "1.85"
name = "slave-framework"
version = "0.7.0"
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Runtime for slave apps (a Laravel-inspired Rust framework for MCP-first apps): server lifecycle, config, logging, Turso Cloud database and migrations, and OpenID Connect sign-in"
readme = "README.md"
keywords = [
    "web",
    "framework",
    "axum",
    "mcp",
    "migrations",
]
categories = ["web-programming::http-server"]
license = "MIT"
repository = "https://github.com/kewcoder/slave"

[features]
database = ["dep:libsql"]
default = [
    "oidc",
    "database",
]
oidc = ["dep:openidconnect"]
testing = [
    "database",
    "oidc",
    "tokio/rt",
    "tokio/sync",
    "dep:chrono",
    "dep:serde",
    "dep:serde_json",
]

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

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

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

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

[dependencies.axum]
version = "0.8.9"

[dependencies.chrono]
version = "0.4"
features = ["clock"]
optional = true
default-features = false

[dependencies.dotenvy]
version = "0.15.7"

[dependencies.libsql]
version = "0.10"
features = [
    "remote",
    "tls",
]
optional = true
default-features = false

[dependencies.openidconnect]
version = "4.0.1"
features = [
    "reqwest",
    "rustls-tls",
]
optional = true
default-features = false

[dependencies.serde]
version = "1"
features = ["derive"]
optional = true

[dependencies.serde_json]
version = "1"
optional = true

[dependencies.thiserror]
version = "2.0.21"

[dependencies.tokio]
version = "1.53.3"
features = [
    "net",
    "signal",
]

[dependencies.tracing]
version = "0.1.44"

[dependencies.tracing-subscriber]
version = "0.3.23"
features = ["env-filter"]

[dev-dependencies.tokio]
version = "1.53.3"
features = [
    "macros",
    "rt-multi-thread",
]