[package] name = "origin_check" version = "0.2.2" authors = ["Ben Weinstein-Raun "] edition = "2021" description = "A minimal Tower middleware layer for mitigating CSRF attacks" documentation = "https://docs.rs/origin_check/latest/origin_check/" repository = "https://github.com/benwr/origin_check" keywords = ["csrf", "tower", "middleware", "http"] categories = ["network-programming", "web-programming", "web-programming::http-server"] license = "CC0-1.0 OR Apache-2.0" [dependencies] cidr = "0.2" http = "1" pin-project = "1" tower = "0.4" tower-layer = { version = "0.3", optional = true } [dev-dependencies] tower-test = "0.4" [features] default = ["tower-layer"]