# 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 = "rocket-errors" version = "0.1.0" authors = ["yuk1ty "] description = "A library for handling errors with anyhow and eyre in Rocket applications." readme = "README.md" keywords = [ "rocket", "error-handling", ] categories = [ "web-programming::http-server", "web-programming::rocket", ] license = "MIT" repository = "https://github.com/yuk1ty/rocket-errors" [[example]] name = "anyhow-rocket" path = "examples/anyhow_rocket.rs" [[example]] name = "eyre-rocket" path = "examples/eyre_rocket.rs" [[example]] name = "handling" path = "examples/handling.rs" [dependencies.anyhow] version = "1" optional = true [dependencies.eyre] version = "0.6" optional = true [dependencies.rocket] version = "0.5" [dev-dependencies.thiserror] version = "1" [features] anyhow = ["dep:anyhow"] default = ["anyhow"] eyre = ["dep:eyre"]