1
0
Fork 0
mirror of https://github.com/tokio-rs/axum.git synced 2025-04-26 13:56:22 +02:00

Note which crates in our public API are 1.0

So we know at least which other crates have to 1.0 before axum can be,
or which we have to remove from our public API.
This commit is contained in:
David Pedersen 2023-11-27 11:53:05 +01:00
parent 9d0e634285
commit 89bba9489a
2 changed files with 15 additions and 7 deletions

View file

@ -47,11 +47,14 @@ tower-http = { version = "0.5.0", features = ["limit"] }
[package.metadata.cargo-public-api-crates]
allowed = [
# not 1.0
"futures_core",
"http",
"bytes",
"http_body",
"tower_layer",
# >=1.0
"bytes",
"http",
"http_body",
]
[package.metadata.docs.rs]

View file

@ -179,19 +179,24 @@ features = [
[package.metadata.cargo-public-api-crates]
allowed = [
"async_trait",
# our crates
"axum_core",
"axum_macros",
"bytes",
# not 1.0
"futures_core",
"futures_sink",
"futures_util",
"tower_layer",
"tower_service",
# >=1.0
"async_trait",
"bytes",
"http",
"http_body",
"serde",
"tokio",
"tower_layer",
"tower_service",
]
[[bench]]