[package]
edition = "2024"
rust-version = "1.95"
name = "fastapi-core"
version = "0.4.1"
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Core types and traits for the FastAPI Rust framework"
readme = false
license = "MIT OR Apache-2.0"
resolver = "2"
[features]
compression = ["dep:flate2"]
default = ["testing"]
regex = ["dep:regex"]
testing = ["asupersync/test-internals"]
[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.4.9"
default-features = false
[dependencies.fastapi-openapi]
version = "0.4.1"
[dependencies.fastapi-router]
version = "0.4.1"
[dependencies.fastapi-types]
version = "0.4.1"
[dependencies.flate2]
version = "1"
optional = true
[dependencies.futures-executor]
version = "0.3"
[dependencies.getrandom]
version = "0.4"
[dependencies.parking_lot]
version = "0.12"
[dependencies.regex]
version = "1.13"
optional = true
[dependencies.serde]
version = "1"
features = ["derive"]
[dependencies.serde_json]
version = "1"
[dev-dependencies.fastapi-macros]
version = "0.4.1"
[dev-dependencies.serial_test]
version = "4.0.1"
[lints.clippy]
assert_is_empty = "allow"
collapsible_if = "allow"
doc_link_with_quotes = "allow"
doc_markdown = "allow"
missing_const_for_fn = "allow"
missing_errors_doc = "allow"
missing_panics_doc = "allow"
unused_async_trait_impl = "allow"
[lints.clippy.all]
level = "warn"
priority = -1
[lints.clippy.pedantic]
level = "warn"
priority = -1
[lints.rust]
unsafe_code = "warn"