[package] name = "resterror-derive" authors = ["Dimitri Timoz , INSAgenda "] repository = "https://github.com/INSAgenda/resterror" description = "A simple library to handle REST errors, with a derive macro to generate the error type. It also provides a compatibility layer with actix-web." version = "0.1.3" edition = "2021" readme = "../README.md" license = "MIT" categories = ["actix", "rest", "api", "web-programming", "error"] # See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html [lib] proc-macro = true [features] actix = ["actix-web"] po = ["poreader"] verbose = [] json = [ "serde", "serde_json"] [dependencies] darling = "0.14" proc-macro2 = { version = "1.0" } syn = { version = "1.0", features = ["full"] } actix-web = { version = "4.2", optional = true } convert_case = "0.6" poreader = { version = "1.1", optional = true} serde = { version = "1.0", optional = true } serde_json = { version = "1.0", optional = true }