slave-framework 0.1.1

Runtime for slave apps (a Laravel-inspired Rust framework for MCP-first apps): server lifecycle, config, logging, Turso database and migrations, password hashing and bearer tokens
# 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.1.1"
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 database and migrations, password hashing and bearer tokens"
readme = "README.md"
keywords = [
    "web",
    "framework",
    "axum",
    "mcp",
    "migrations",
]
categories = ["web-programming::http-server"]
license = "MIT"
repository = "https://github.com/kewcoder/slave"

[features]
auth = [
    "dep:argon2",
    "dep:getrandom",
    "dep:sha2",
]
database = ["dep:turso"]
default = [
    "auth",
    "database",
]

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

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

[dependencies.argon2]
version = "0.6.0"
optional = true

[dependencies.axum]
version = "0.8.9"

[dependencies.dotenvy]
version = "0.15.7"

[dependencies.getrandom]
version = "0.4.3"
optional = true

[dependencies.sha2]
version = "0.11.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"]

[dependencies.turso]
version = "0.8.3"
optional = true
default-features = false

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