# 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.80" name = "axum-macros" version = "0.5.1" build = false autolib = false autobins = false autoexamples = false autotests = false autobenches = false description = "Macros for axum" homepage = "https://github.com/tokio-rs/axum" readme = "README.md" keywords = ["axum"] categories = [ "asynchronous", "network-programming", "web-programming", ] license = "MIT" repository = "https://github.com/tokio-rs/axum" [package.metadata.cargo-public-api-crates] allowed = [] [package.metadata.docs.rs] all-features = true [features] __private = ["syn/visit-mut"] default = [] [lib] name = "axum_macros" path = "src/lib.rs" proc-macro = true [dependencies.proc-macro2] version = "1.0" [dependencies.quote] version = "1.0" [dependencies.syn] version = "2.0" features = [ "full", "parsing", "extra-traits", ] [dev-dependencies.rustversion] version = "1.0" [dev-dependencies.serde] version = "1.0" features = ["derive"] [dev-dependencies.serde_json] version = "1.0" [dev-dependencies.syn] version = "2.0" features = [ "full", "extra-traits", ] [dev-dependencies.tokio] version = "1.25.0" features = ["full"] [dev-dependencies.trybuild] version = "1.0.63" [lints.clippy] await_holding_lock = "warn" dbg_macro = "warn" empty_enums = "warn" enum_glob_use = "warn" exit = "warn" filter_map_next = "warn" fn_params_excessive_bools = "warn" if_let_mutex = "warn" imprecise_flops = "warn" inefficient_to_string = "warn" linkedlist = "warn" lossy_float_literal = "warn" macro_use_imports = "warn" match_wildcard_for_single_variants = "warn" mem_forget = "warn" must_use_candidate = "warn" needless_borrow = "warn" needless_continue = "warn" option_option = "warn" rest_pat_in_fully_bound_structs = "warn" return_self_not_must_use = "warn" str_to_string = "warn" suboptimal_flops = "warn" todo = "warn" type_complexity = "allow" uninlined_format_args = "warn" unnested_or_patterns = "warn" unused_self = "warn" verbose_file_reads = "warn" [lints.rust] missing_debug_implementations = "warn" missing_docs = "warn" unreachable_pub = "warn" unsafe_code = "forbid" [lints.rust.rust_2018_idioms] level = "warn" priority = -1