# 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 = "tf-actix-web"
version = "0.1.4"
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "TrustForge middleware for Actix web. Provides drop-in zero-trust request verification, capability delegation, and policy enforcement for Actix web servers."
readme = "README.md"
license = "Apache-2.0"
repository = "https://github.com/KodyDennon/TrustForge"

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

[dependencies.actix-service]
version = "2"

[dependencies.actix-web]
version = "4"
features = ["macros"]
default-features = false

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

[dependencies.serde_json]
version = "1"

[dependencies.tf-decide-client]
version = "0.1.4"

[dependencies.tokio]
version = "1"
features = [
    "rt",
    "macros",
]

[dev-dependencies.actix-rt]
version = "2"

[dev-dependencies.actix-web]
version = "4"
features = ["macros"]
default-features = false

[dev-dependencies.http-body-util]
version = "0.1"

[dev-dependencies.hyper]
version = "1"
features = [
    "server",
    "http1",
]

[dev-dependencies.hyper-util]
version = "0.1"
features = ["tokio"]

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