# 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_firebase_auth" version = "0.5.0" authors = ["Haruki Jay Shimada "] include = [ "src/*", "./Cargo.toml", "./LICENSE", "./README.md", ] description = "Encode/decode firebase tokens in rocket apps with ease" readme = "README.md" keywords = [ "firebase", "rocket", "jsonwebtokens", "auth", "firebase-auth", ] license = "MIT" repository = "https://github.com/DrPoppyseed/rocket-firebase-auth" [lib] path = "src/lib.rs" [dependencies.chrono] version = "0.4" features = ["serde"] optional = true [dependencies.dotenvy] version = "0.15.7" optional = true [dependencies.jsonwebtoken] version = "9.2" features = ["use_pem"] [dependencies.reqwest] version = "0.11" features = ["json"] [dependencies.rocket] version = "0.5.0" features = ["json"] optional = true [dependencies.serde] version = "1.0" [dependencies.serde_json] version = "1.0" optional = true [dev-dependencies.once_cell] version = "1" [dev-dependencies.test-case] version = "3" [dev-dependencies.tokio] version = "1" features = ["full"] [dev-dependencies.toml] version = "0.8" [dev-dependencies.wiremock] version = "0.6" [features] default = [ "env", "rocket", ] encode = ["dep:chrono"] env = [ "dep:dotenvy", "dep:serde_json", ] rocket = ["dep:rocket"]