sword 0.3.0

Structured web framework built on top of tokio ecosystem, providing powerful features for building robust web applications.
# 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"
rust-version = "1.95"
name = "sword"
version = "0.3.0"
authors = ["luciano revillod <lrevillod2022@alu.uct.cl>"]
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Structured web framework built on top of tokio ecosystem, providing powerful features for building robust web applications."
homepage = "https://sword-web.github.io"
documentation = "https://docs.rs/sword"
readme = "README.md"
keywords = [
    "sword",
    "web",
    "framework",
    "axum",
    "microservices",
]
categories = [
    "web-programming",
    "web-programming::http-server",
]
license = "MIT"
repository = "https://github.com/sword-web/sword"
resolver = "2"

[package.metadata.docs.rs]
all-features = true
rustdoc-args = [
    "--cfg",
    "docsrs",
]

[features]
default = []
events-in-memory = [
    "dep:sword-events",
    "sword-macros/event-handlers",
]
grpc = ["dep:sword-grpc"]
grpc-reflection = [
    "dep:sword-grpc",
    "sword-grpc/reflection",
]
hot-reload = [
    "dep:subsecond",
    "dep:dioxus-devtools",
    "sword-macros/hot-reload",
]
socketio = [
    "web",
    "dep:sword-socketio",
]
validation-validator = [
    "sword-web/validation-validator",
    "sword-socketio?/validation-validator",
]
web = ["dep:sword-web"]
web-multipart = ["sword-web/multipart"]
web-swagger-ui = ["sword-web/swagger-ui"]

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

[dependencies.dioxus-devtools]
version = "0.7.2"
features = ["serve"]
optional = true

[dependencies.futures-lite]
version = "2.6"

[dependencies.inventory]
version = "0.3.21"

[dependencies.subsecond]
version = "0.7.2"
optional = true

[dependencies.sword-core]
version = "0.3.0"

[dependencies.sword-events]
version = "0.3.0"
optional = true

[dependencies.sword-grpc]
version = "0.3.0"
optional = true

[dependencies.sword-layers]
version = "0.3.0"
features = ["tracing"]

[dependencies.sword-macros]
version = "0.3.0"
features = [
    "web-controllers",
    "socketio-controllers",
    "grpc-controllers",
]

[dependencies.sword-socketio]
version = "0.3.0"
optional = true

[dependencies.sword-web]
version = "0.3.0"
optional = true

[dependencies.tokio]
version = "^1.0"
features = ["full"]

[dependencies.toml]
version = "0.9"

[dependencies.tracing]
version = "0.1.41"