prisma_auth 0.2.1

A simple authentication crate supporting both Rocket backend API and Yew frontend authentication components
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"
name = "prisma_auth"
version = "0.2.1"
authors = ["Aitor Astorga Saez de Vicuña <a.astorga.sdv@protonmail.com>"]
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "A simple authentication crate supporting both Rocket backend API and Yew frontend authentication components"
homepage = "https://git.prisma.moe/aichan/prisma_auth"
readme = "README.md"
keywords = [
    "auth",
    "authentication",
    "rocket",
    "yew",
]
categories = [
    "authentication",
    "wasm",
    "web-programming",
]
license-file = "LICENSE"
repository = "https://git.prisma.moe/aichan/prisma_auth"

[features]
default = []
rocket_backend = [
    "rocket",
    "uuid",
    "argon2",
    "rand",
]
yew_frontend = [
    "yew",
    "web-sys",
    "gloo",
    "wasm-bindgen",
    "wasm-bindgen-futures",
    "gloo-net",
    "yew-router",
]

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

[dependencies.argon2]
version = "0.5"
optional = true

[dependencies.base64ct]
version = "=1.8.0"

[dependencies.gloo]
version = "0.11"
features = ["storage"]
optional = true

[dependencies.gloo-net]
version = "0.6.0"
features = ["http"]
optional = true

[dependencies.rand]
version = "0.9.2"
optional = true

[dependencies.rocket]
version = "0.5"
features = ["json"]
optional = true

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

[dependencies.serde_json]
version = "1.0.145"

[dependencies.thiserror]
version = "2.0.17"

[dependencies.time-core]
version = "=0.1.6"

[dependencies.uuid]
version = "1.0"
features = ["v4"]
optional = true

[dependencies.wasm-bindgen]
version = "0.2.104"
optional = true

[dependencies.wasm-bindgen-futures]
version = "0.4.54"
optional = true

[dependencies.web-sys]
version = "0.3"
optional = true

[dependencies.yew]
version = "0.21"
optional = true

[dependencies.yew-router]
version = "0.18"
optional = true