rust-api 0.0.1

FastAPI-inspired REST framework for Rust with route macros, dependency injection, and automatic OpenAPI generation
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 = "2021"
name = "rust-api"
version = "0.0.1"
authors = ["John R. Kosinski <john.kosinski@gmail.com>"]
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "FastAPI-inspired REST framework for Rust with route macros, dependency injection, and automatic OpenAPI generation"
homepage = "https://github.com/jrkosinski/rust-api"
readme = "README.md"
keywords = [
    "api",
    "rest",
    "web",
    "framework",
    "fastapi",
]
categories = ["web-programming::http-server"]
license = "MIT OR Apache-2.0"
repository = "https://github.com/jrkosinski/rust-api"

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

[dependencies.anyhow]
version = "1.0"

[dependencies.axum]
version = "0.8.8"

[dependencies.rust-api-macros]
version = "0.0.1"

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

[dependencies.serde_json]
version = "1.0"

[dependencies.thiserror]
version = "2.0"

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

[dependencies.tower]
version = "0.4"

[dependencies.tower-http]
version = "0.5"
features = [
    "trace",
    "cors",
]

[dependencies.tracing]
version = "0.1"

[dev-dependencies.tokio-test]
version = "0.4"

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