authifier 1.0.16

Opinionated Rust authentication library
Documentation
# 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 = "authifier"
version = "1.0.16"
authors = ["Pawel Makles <me@insrt.uk>"]
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Opinionated Rust authentication library"
readme = "README.md"
license = "Apache-2.0"
repository = "https://github.com/authifier/authifier"
resolver = "1"

[features]
async-std-runtime = ["async-std"]
database-mongodb = [
    "mongodb",
    "bson",
]
default = [
    "async-std-runtime",
    "database-mongodb",
    "default_inbuilts",
]
default_inbuilts = [
    "pwned100k",
    "hcaptcha",
    "shield",
    "easypwned",
]
easypwned = ["reqwest"]
have_i_been_pwned = []
hcaptcha = ["reqwest"]
okapi_impl = [
    "revolt_rocket_okapi",
    "revolt_okapi",
    "schemas",
]
pwned100k = []
revolt_source_list = []
rocket_impl = ["rocket"]
schemas = ["schemars"]
shield = ["reqwest"]

[lib]
name = "authifier"
path = "src/lib.rs"

[dependencies.async-std]
version = "1.9.0"
features = [
    "tokio02",
    "tokio1",
    "attributes",
]
optional = true

[dependencies.async-trait]
version = "0.1.56"

[dependencies.base32]
version = "0.4.0"

[dependencies.bson]
version = "2.2.0"
optional = true

[dependencies.chrono]
version = "0.4.19"

[dependencies.futures]
version = "0.3.21"

[dependencies.handlebars]
version = "4.3.0"

[dependencies.iso8601-timestamp]
version = "0.2.10"

[dependencies.lazy_static]
version = "1.4.0"

[dependencies.lettre]
version = "0.10.0-alpha.4"

[dependencies.log]
version = "0.4"

[dependencies.mongodb]
version = "3.1"
optional = true

[dependencies.nanoid]
version = "0.4.0"

[dependencies.rand]
version = "0.8.5"

[dependencies.regex]
version = "1.3.9"

[dependencies.reqwest]
version = "0.11.10"
features = ["json"]
optional = true

[dependencies.revolt_okapi]
version = "0.9.1"
optional = true

[dependencies.revolt_rocket_okapi]
version = "0.10.0"
features = ["swagger"]
optional = true

[dependencies.rocket]
version = "0.5.1"
features = ["json"]
optional = true
default-features = false

[dependencies.rust-argon2]
version = "1.0.0"

[dependencies.schemars]
version = "0.8.8"
optional = true

[dependencies.serde]
version = "1.0.116"
features = ["derive"]

[dependencies.serde_json]
version = "1.0.81"

[dependencies.sha1]
version = "0.10.6"

[dependencies.totp-lite]
version = "2.0.0"

[dependencies.ulid]
version = "0.5.0"
features = ["serde"]

[dependencies.validator]
version = "0.15.0"