# 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 = "axum-core" version = "0.5.2" build = false autolib = false autobins = false autoexamples = false autotests = false autobenches = false description = "Core types and traits for axum" homepage = "https://github.com/tokio-rs/axum" readme = "README.md" keywords = [ "http", "web", "framework", ] categories = [ "asynchronous", "network-programming", "web-programming", ] license = "MIT" repository = "https://github.com/tokio-rs/axum" [package.metadata.cargo-machete] ignored = ["tower-http"] [package.metadata.cargo-public-api-crates] allowed = [ "futures_core", "tower_layer", "bytes", "http", "http_body", ] [package.metadata.docs.rs] all-features = true [features] __private_docs = ["dep:tower-http"] tracing = ["dep:tracing"] [lib] name = "axum_core" path = "src/lib.rs" [dependencies.bytes] version = "1.2" [dependencies.futures-core] version = "0.3" [dependencies.http] version = "1.0.0" [dependencies.http-body] version = "1.0.0" [dependencies.http-body-util] version = "0.1.0" [dependencies.mime] version = "0.3.16" [dependencies.pin-project-lite] version = "0.2.7" [dependencies.rustversion] version = "1.0.9" [dependencies.sync_wrapper] version = "1.0.0" [dependencies.tower-http] version = "0.6.0" features = ["limit"] optional = true [dependencies.tower-layer] version = "0.3" [dependencies.tower-service] version = "0.3" [dependencies.tracing] version = "0.1.37" optional = true default-features = false [dev-dependencies.hyper] version = "1.0.0" [dev-dependencies.tokio] version = "1.25.0" features = ["macros"] [dev-dependencies.tower-http] version = "0.6.0" features = ["limit"] [lints.clippy] await_holding_lock = "warn" dbg_macro = "warn" empty_enum = "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_on_vec_items = "warn" match_wildcard_for_single_variants = "warn" mem_forget = "warn" needless_borrow = "warn" needless_continue = "warn" option_option = "warn" rest_pat_in_fully_bound_structs = "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