fastapi-rust 0.2.0

Ultra-optimized Rust web framework inspired by FastAPI
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 = "fastapi-rust"
version = "0.2.0"
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Ultra-optimized Rust web framework inspired by FastAPI"
homepage = "https://github.com/Dicklesworthstone/fastapi_rust"
documentation = "https://docs.rs/fastapi-rust"
readme = "README.md"
keywords = [
    "fastapi",
    "web",
    "framework",
    "http",
    "async",
]
categories = [
    "web-programming",
    "web-programming::http-server",
    "asynchronous",
]
license = "MIT OR Apache-2.0"
repository = "https://github.com/Dicklesworthstone/fastapi_rust"
resolver = "2"

[features]
default = ["output"]
full = [
    "output",
    "fastapi-output/full",
]
output = [
    "dep:fastapi-output",
    "fastapi-output/rich",
]
output-plain = ["dep:fastapi-output"]

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

[[example]]
name = "auth_example"
path = "examples/auth_example.rs"

[[example]]
name = "crud_api"
path = "examples/crud_api.rs"

[[example]]
name = "demo_api"
path = "examples/demo_api.rs"

[[example]]
name = "getting_started"
path = "examples/getting_started.rs"

[[example]]
name = "hello_world"
path = "examples/hello_world.rs"

[dependencies.fastapi-core]
version = "0.2.0"

[dependencies.fastapi-http]
version = "0.2.0"

[dependencies.fastapi-macros]
version = "0.2.0"

[dependencies.fastapi-openapi]
version = "0.2.0"

[dependencies.fastapi-output]
version = "0.2.0"
optional = true

[dependencies.fastapi-router]
version = "0.2.0"

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

[dependencies.serde_json]
version = "1"

[lints.clippy]
doc_link_with_quotes = "allow"
doc_markdown = "allow"
missing_const_for_fn = "allow"
missing_errors_doc = "allow"
missing_panics_doc = "allow"

[lints.clippy.all]
level = "warn"
priority = -1

[lints.clippy.pedantic]
level = "warn"
priority = -1

[lints.rust]
unsafe_code = "warn"