Files
Notes/notes-service/vendor/axum-core/Cargo.toml
T
2026-08-01 16:11:49 +03:00

164 lines
3.3 KiB
TOML

# 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.78"
name = "axum-core"
version = "0.5.6"
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_check_external_types]
allowed_external_types = [
"futures_core::*",
"tower_layer::*",
"bytes::*",
"http::*",
"http_body::*",
]
[package.metadata.cargo-machete]
ignored = ["tower-http"]
[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.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"
equatable_if_let = "warn"
exit = "warn"
filter_map_next = "warn"
fn_params_excessive_bools = "warn"
if_let_mutex = "warn"
implicit_clone = "warn"
imprecise_flops = "warn"
inefficient_to_string = "warn"
linkedlist = "warn"
lossy_float_literal = "warn"
macro_use_imports = "warn"
manual_let_else = "warn"
match_same_arms = "warn"
match_wildcard_for_single_variants = "warn"
mem_forget = "warn"
must_use_candidate = "warn"
needless_borrow = "warn"
needless_continue = "warn"
needless_pass_by_ref_mut = "warn"
needless_pass_by_value = "warn"
option_option = "warn"
redundant_clone = "warn"
ref_option = "warn"
rest_pat_in_fully_bound_structs = "warn"
return_self_not_must_use = "warn"
single_match_else = "warn"
str_to_string = "warn"
suboptimal_flops = "warn"
todo = "warn"
trivially_copy_pass_by_ref = "warn"
type_complexity = "allow"
uninlined_format_args = "warn"
unnested_or_patterns = "warn"
unused_self = "warn"
use_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