# 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 = "brize_auth"
version = "0.4.0"
authors = ["Jonathan Karrer <karrerjon@gmail.com>"]
description = "A minimal async auth and session library for MySql and SurrealDB"
readme = "README.md"
keywords = ["auth"]
categories = ["software"]
license = "MIT/Apache-2.0"
repository = "https://github.com/xbrize/brize_auth"

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

[dependencies.jsonwebtoken]
version = "8.3.0"

[dependencies.redis]
version = "0.23.3"
features = [
    "aio",
    "tokio-comp",
]

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

[dependencies.serde_json]
version = "1.0.107"

[dependencies.sqlx]
version = "0.7.2"
features = [
    "runtime-tokio",
    "mysql",
]

[dependencies.surrealdb]
version = "1.0.0"

[dependencies.tokio]
version = "1.32.0"
features = [
    "macros",
    "rt-multi-thread",
]

[dependencies.uuid]
version = "1.4.1"
features = [
    "v4",
    "fast-rng",
]
