fastapi-core 0.1.1

Core types and traits for the FastAPI Rust framework
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-core"
version = "0.1.1"
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Core types and traits for the FastAPI Rust framework"
homepage = "https://github.com/Dicklesworthstone/fastapi_rust"
documentation = "https://docs.rs/fastapi-core"
readme = "README.md"
keywords = [
    "fastapi",
    "web",
    "framework",
    "http",
    "core",
]
categories = [
    "web-programming",
    "web-programming::http-server",
    "asynchronous",
]
license = "MIT"
repository = "https://github.com/Dicklesworthstone/fastapi_rust"
resolver = "2"

[features]
compression = ["dep:flate2"]
default = []
proptest = ["dep:proptest"]
regex = ["dep:regex"]

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

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

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

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

[dependencies.asupersync]
version = "0.1.0"

[dependencies.flate2]
version = "1.1"
optional = true

[dependencies.futures-executor]
version = "0.3"

[dependencies.memchr]
version = "2.7"

[dependencies.parking_lot]
version = "0.12"

[dependencies.proptest]
version = "1.5"
optional = true

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

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

[dependencies.serde_json]
version = "1"

[dev-dependencies.fastapi-macros]
version = "0.1.1"

[dev-dependencies.regex]
version = "1"

[dev-dependencies.serial_test]
version = "2"

[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"