rbp-auth 1.0.0

JWT and Argon2 authentication for robopoker
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 = "2024"
rust-version = "1.90"
name = "rbp-auth"
version = "1.0.0"
authors = ["Kelechi Ukah <ukahkelechi@gmail.com>"]
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "JWT and Argon2 authentication for robopoker"
readme = false
keywords = [
    "authentication",
    "jwt",
    "argon2",
    "security",
]
categories = [
    "authentication",
    "web-programming",
]
license = "MIT"
repository = "https://github.com/krukah/robopoker"
resolver = "2"

[features]
database = [
    "tokio-postgres",
    "const_format",
    "rbp-database",
]
default = []
server = [
    "database",
    "actix-web",
    "serde_json",
]

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

[dependencies.actix-web]
version = "4.4"
optional = true

[dependencies.argon2]
version = "0.5"
features = ["rand"]

[dependencies.const_format]
version = "0.2"
optional = true

[dependencies.jsonwebtoken]
version = "9"

[dependencies.rand]
version = "0.9.1"
features = ["small_rng"]

[dependencies.rbp-core]
version = "1.0"

[dependencies.rbp-database]
version = "1.0"
optional = true

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

[dependencies.serde_json]
version = "1"
optional = true

[dependencies.sha2]
version = "0.10"

[dependencies.tokio-postgres]
version = "0.7"
features = ["with-uuid-1"]
optional = true

[dependencies.uuid]
version = "1"
features = [
    "v7",
    "serde",
]