api-version 0.3.5

Axum middleware to add a version prefix to request paths based on a set of versions and an optional `x-api-version` header
Documentation
# 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 = "2024"
name = "api-version"
version = "0.3.5"
authors = ["Heiko Seeberger <git@heikoseeberger.de>"]
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Axum middleware to add a version prefix to request paths based on a set of versions and an optional `x-api-version` header"
homepage = "https://github.com/hseeberger/api-version"
documentation = "https://github.com/hseeberger/api-version"
readme = "README.md"
license = "Apache-2.0"
repository = "https://github.com/hseeberger/api-version"

[lib]
name = "api_version"
path = "src/lib.rs"

[[example]]
name = "test"
path = "examples/test.rs"

[[test]]
name = "integration_test"
path = "tests/integration_test.rs"

[dependencies.axum]
version = "0.8"

[dependencies.axum-extra]
version = "0.12"
features = ["typed-header"]

[dependencies.futures]
version = "0.3"

[dependencies.regex]
version = "1.12"

[dependencies.tower]
version = "0.5"

[dependencies.tracing]
version = "0.1"

[dev-dependencies.anyhow]
version = "1.0"

[dev-dependencies.assert_matches]
version = "1.5"

[dev-dependencies.futures]
version = "0.3"

[dev-dependencies.tokio]
version = "1"
features = [
    "macros",
    "rt-multi-thread",
]