[package] name = "error-http" version = "0.2.2" edition = "2021" license = "MIT" readme = "README.md" authors = ["Emil Majchrzak "] description = """ Procedural macro for associating error enums with HTTP codes. """ keywords = ["enum", "actix-web", "rocket", "axum", "error"] homepage = "https://github.com/majchrzamemil/error-http" repository = "https://github.com/majchrzamemil/error-http" documentation = "https://docs.rs/error-http" [lib] proc-macro = true [dependencies] cfg-if = "1.0.0" syn = { version = "1.0", features = ["full"] } quote = "1.0" proc-macro2 = "1.0" proc-macro-error = "1.0.4" [dev-dependencies] actix-web = "4.4.0" axum = "0.7.2" rocket = "0.5.0" [features] # Implements axums IntoResponse axum = [] # Implements rockets Responder rocket = [] # Implements actix-webs ResponseError actix = []