# 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 = "firebase-auth" version = "0.3.3" authors = ["Chop Tr "] description = "Firebase authentication extractor for Actix Web and Axum" homepage = "https://github.com/trchopan/firebase-auth" documentation = "https://docs.rs/firebase-auth" readme = "README.md" keywords = [ "firebase", "actix", "web", "framework", "authentication", ] categories = ["web-programming::http-server"] license = "MIT" repository = "https://github.com/trchopan/firebase-auth.git" [lib] name = "firebase_auth" path = "src/lib.rs" [dependencies.actix-web] version = "4" optional = true [dependencies.actix-web-httpauth] version = "0.8.0" optional = true [dependencies.axum] version = "0.6" optional = true [dependencies.futures] version = "0.3" [dependencies.jsonwebtoken] version = "9.1.0" [dependencies.reqwest] version = "0.11" features = ["json"] [dependencies.serde] version = "1.0" [dependencies.serde_json] version = "1.0" [dependencies.tokio] version = "1.33.0" features = [ "macros", "rt", "rt-multi-thread", ] [dependencies.tracing] version = "0.1" [dev-dependencies.chrono] version = "0.4.31" [dev-dependencies.env_logger] version = "0.10.0" [dev-dependencies.sqlx] version = "0.7.2" features = [ "runtime-tokio", "json", "sqlite", ] [dev-dependencies.tower-http] version = "0.4.4" features = ["trace"] [features] actix-web = [ "dep:actix-web", "dep:actix-web-httpauth", ] axum = ["dep:axum"] default = [ "actix-web", "axum", ]