# 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-gen" version = "0.1.1" authors = ["Md Sulaiman "] build = false autobins = false autoexamples = false autotests = false autobenches = false description = "Code generation implementation for fastapi" readme = "README.md" keywords = [ "openapi", "codegen", "proc-macro", "documentation", "compile-time", ] license = "MIT OR Apache-2.0" repository = "https://github.com/nxpkg/fastapi" [lib] name = "fastapi_gen" path = "src/lib.rs" proc-macro = true [[test]] name = "common" path = "tests/common.rs" [[test]] name = "fastapi_gen_test" path = "tests/fastapi_gen_test.rs" [[test]] name = "modify_test" path = "tests/modify_test.rs" [[test]] name = "openapi_derive" path = "tests/openapi_derive.rs" [[test]] name = "openapi_derive_test" path = "tests/openapi_derive_test.rs" [[test]] name = "path_derive" path = "tests/path_derive.rs" [[test]] name = "path_derive_actix" path = "tests/path_derive_actix.rs" [[test]] name = "path_derive_auto_into_responses" path = "tests/path_derive_auto_into_responses.rs" [[test]] name = "path_derive_auto_into_responses_actix" path = "tests/path_derive_auto_into_responses_actix.rs" [[test]] name = "path_derive_auto_into_responses_axum" path = "tests/path_derive_auto_into_responses_axum.rs" [[test]] name = "path_derive_axum_test" path = "tests/path_derive_axum_test.rs" [[test]] name = "path_derive_rocket" path = "tests/path_derive_rocket.rs" [[test]] name = "path_parameter_derive_actix" path = "tests/path_parameter_derive_actix.rs" [[test]] name = "path_parameter_derive_test" path = "tests/path_parameter_derive_test.rs" [[test]] name = "path_response_derive_test" path = "tests/path_response_derive_test.rs" [[test]] name = "request_body_derive_test" path = "tests/request_body_derive_test.rs" [[test]] name = "response_derive_test" path = "tests/response_derive_test.rs" [[test]] name = "schema_derive_test" path = "tests/schema_derive_test.rs" [[test]] name = "schema_generics" path = "tests/schema_generics.rs" [dependencies.fastapi-config] version = "0.1" optional = true [dependencies.once_cell] version = "1.19.0" optional = true [dependencies.proc-macro2] version = "1.0" [dependencies.quote] version = "1.0" [dependencies.regex] version = "1.7" optional = true [dependencies.syn] version = "2.0" features = [ "full", "extra-traits", ] [dependencies.ulid] version = "1" optional = true default-features = false [dependencies.url] version = "2" optional = true [dependencies.uuid] version = "1" features = ["serde"] optional = true [dev-dependencies.actix-web] version = "4" features = ["macros"] default-features = false [dev-dependencies.assert-json-diff] version = "2" [dev-dependencies.axum] version = "0.7" features = [ "json", "query", ] default-features = false [dev-dependencies.chrono] version = "0.4" features = ["serde"] [dev-dependencies.paste] version = "1" [dev-dependencies.rocket] version = "0.5" features = ["json"] [dev-dependencies.rust_decimal] version = "1" default-features = false [dev-dependencies.serde] version = "1" [dev-dependencies.serde_json] version = "1" [dev-dependencies.serde_with] version = "3.0" [dev-dependencies.smallvec] version = "1.10" features = ["serde"] [dev-dependencies.time] version = "0.3" features = ["serde-human-readable"] [features] actix_extras = [ "regex", "syn/extra-traits", ] auto_into_responses = [] axum_extras = [ "regex", "syn/extra-traits", ] chrono = [] config = [ "dep:fastapi-config", "dep:once_cell", ] debug = ["syn/extra-traits"] decimal = [] decimal_float = [] indexmap = [] non_strict_integers = [] rc_schema = [] repr = [] rocket_extras = [ "regex", "syn/extra-traits", ] smallvec = [] time = [] ulid = ["dep:ulid"] url = ["dep:url"] uuid = ["dep:uuid"] yaml = [] [lints.rust.unexpected_cfgs] level = "warn" priority = 0 check-cfg = ["cfg(doc_cfg)"]