scalar_api_reference 0.1.5

Embed Scalar API documentation in Rust web applications
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 = "2021"
name = "scalar_api_reference"
version = "0.1.5"
build = false
exclude = [
    "package.json",
    "CHANGELOG.md",
]
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Embed Scalar API documentation in Rust web applications"
readme = "README.md"
keywords = [
    "api",
    "documentation",
    "openapi",
    "swagger",
]
categories = [
    "web-programming",
    "development-tools",
]
license = "MIT"
repository = "https://github.com/scalar/scalar"

[features]
actix-web = ["dep:actix-web"]
axum = [
    "dep:axum",
    "dep:axum-extra",
    "dep:tokio",
]
default = []
warp = [
    "dep:warp",
    "dep:tokio",
]

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

[[example]]
name = "actix"
path = "examples/actix.rs"
required-features = ["actix-web"]

[[example]]
name = "axum"
path = "examples/axum.rs"
required-features = ["axum"]

[[example]]
name = "warp"
path = "examples/warp.rs"
required-features = ["warp"]

[dependencies.actix-web]
version = "4.12.1"
optional = true

[dependencies.axum]
version = "0.8.8"
optional = true

[dependencies.axum-extra]
version = "0.12.5"
optional = true

[dependencies.rust-embed]
version = "8.11.0"

[dependencies.serde]
version = "1.0"
features = ["derive"]

[dependencies.serde_json]
version = "1.0.149"

[dependencies.tokio]
version = "1.49.0"
features = ["full"]
optional = true

[dependencies.warp]
version = "0.4.2"
features = ["server"]
optional = true