# 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" rust-version = "1.75" name = "fastapi" version = "0.1.1" authors = ["Md Sulaiman "] build = false autobins = false autoexamples = false autotests = false autobenches = false description = "Compile time generated OpenAPI documentation for Rust" readme = "README.md" keywords = [ "rest-api", "openapi", "auto-generate", "documentation", "compile-time", ] categories = ["web-programming"] license = "MIT OR Apache-2.0" repository = "https://github.com/nxpkg/fastapi" [package.metadata.docs.rs] features = [ "actix_extras", "non_strict_integers", "openapi_extensions", "uuid", "ulid", "url", "yaml", "macros", ] rustdoc-args = [ "--cfg", "doc_cfg", ] [lib] name = "fastapi" path = "src/lib.rs" [dependencies.fastapi-gen] version = "0.1.1" optional = true [dependencies.indexmap] version = "2" features = ["serde"] [dependencies.serde] version = "1.0" features = ["derive"] [dependencies.serde_json] version = "1.0" [dependencies.serde_yaml] version = "0.9" optional = true [dev-dependencies.assert-json-diff] version = "2" [features] actix_extras = ["fastapi-gen?/actix_extras"] auto_into_responses = ["fastapi-gen?/auto_into_responses"] axum_extras = ["fastapi-gen?/axum_extras"] chrono = ["fastapi-gen?/chrono"] config = ["fastapi-gen?/config"] debug = ["fastapi-gen?/debug"] decimal = ["fastapi-gen?/decimal"] decimal_float = ["fastapi-gen?/decimal_float"] default = ["macros"] indexmap = ["fastapi-gen?/indexmap"] macros = ["dep:fastapi-gen"] non_strict_integers = ["fastapi-gen?/non_strict_integers"] openapi_extensions = [] preserve_order = [] preserve_path_order = [] rc_schema = ["fastapi-gen?/rc_schema"] repr = ["fastapi-gen?/repr"] rocket_extras = ["fastapi-gen?/rocket_extras"] smallvec = ["fastapi-gen?/smallvec"] time = ["fastapi-gen?/time"] ulid = ["fastapi-gen?/ulid"] url = ["fastapi-gen?/url"] uuid = ["fastapi-gen?/uuid"] yaml = [ "serde_yaml", "fastapi-gen?/yaml", ] [lints.rust.unexpected_cfgs] level = "warn" priority = 0 check-cfg = ["cfg(doc_cfg)"]