salvo 0.11.0

A simple web framework
Documentation
[package]

name = "salvo"

version = "0.11.0"

authors = [ "Chrislearn Young <chrislearn@hotmail.com>" ]

edition = "2018"

description = """
A simple web framework
"""

homepage = "https://github.com/salvo-rs/salvo"

repository = "https://github.com/salvo-rs/salvo"

documentation = "https://docs.rs/salvo/"

readme = "./README.md"

keywords = [ "salvo", "web", "framework", "server" ]

license = "MIT OR Apache-2.0"

categories = [ "web-programming::http-server" ]

autoexamples = true



[package.metadata.docs.rs]

all-features = true



[badges]

codecov = { repository = "salvo-rs/salvo", branch = "master", service = "github" }



[lib]

name = "salvo"

path = "src/lib.rs"



[features]

default = []

full = [ "extra", "tls", "anyhow"]

tls = [ "salvo_core/tls" ]

anyhow = [ "salvo_core/anyhow" ]

extra = [ "basic_auth", "jwt_auth", "compression", "cors", "proxy", "serve", "sse", "ws", "size_limiter" ]

basic_auth = ["salvo_extra/basic_auth"]

jwt_auth = ["salvo_extra/jwt_auth"]

compression = ["salvo_extra/compression"]

cors = ["salvo_extra/cors"]

proxy = ["salvo_extra/proxy"]

serve = ["salvo_extra/serve"]

sse = ["salvo_extra/sse"]

ws = ["salvo_extra/ws"]

size_limiter = ["salvo_extra/size_limiter"]



[workspace]

members = [

  ".",

  "core",

  "extra",

  "macros",

]



[dependencies]

salvo_core = { version = "0.11.0", default-features = false, path="./core" }

salvo_extra = {version = "0.11.0", default-features = false, optional = true, path="./extra" }



[dev-dependencies]

futures = { version = "0.3", features = [ "std" ] }

once_cell = "1"

reqwest = "0.11"

serde = "1"

serde_derive = "1"

salvo = { path = ".", features = ["full"] }

tokio = { version = "1", features = [ "full" ] }

tokio-stream = { version = "0.1", features = [ "net" ] }

tracing = "0.1"

tracing-futures = "0.2"

tracing-log = "0.1"

tracing-subscriber = "0.2"



[profile.dev]

codegen-units = 4

split-debuginfo = "unpacked"