# 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 = "cosmodrome" version = "0.2.0" authors = ["Lewin Probst "] build = false autobins = false autoexamples = false autotests = false autobenches = false description = "Access control for your rocket application." homepage = "https://github.com/emirror-de/cosmodrome" documentation = "https://docs.rs/cosmodrome" readme = "README.md" keywords = [ "rocket", "auth", "access-control", ] categories = [ "authentication", "web-programming", ] license = "MIT OR Apache-2.0" repository = "https://github.com/emirror-de/cosmodrome" [lib] name = "cosmodrome" path = "src/lib.rs" [dependencies.anyhow] version = "1" optional = true [dependencies.argon2] version = "0.5.3" optional = true [dependencies.chrono] version = "0.4" features = ["serde"] optional = true [dependencies.cookie] version = "0.18" [dependencies.http] version = "1" [dependencies.jsonwebtoken] version = "9" optional = true [dependencies.log] version = "0.4" optional = true [dependencies.rand] version = "0.8" optional = true [dependencies.rocket] version = "0.5" features = ["secrets"] optional = true [dependencies.serde] version = "1" features = ["derive"] optional = true [dependencies.time] version = "0.3" [features] client = ["serde"] default = [ "server", "client", ] server = [ "dep:rocket", "dep:argon2", "dep:chrono", "dep:jsonwebtoken", "dep:log", "dep:rand", "dep:anyhow", ]