altcha-lib 0.1.0

Community implementation of the Altcha library in Rust for your own server application to create and validate challenges and responses.
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 = "altcha-lib"
version = "0.1.0"
authors = [
    "developer@danilo.info",
    "jmic <jmic@users.noreply.github.com>",
]
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Community implementation of the Altcha library in Rust for your own server application to create and validate challenges and responses."
readme = "README.md"
license = "Apache-2.0"
repository = "https://github.com/dnp1/altcha-lib-rs"

[features]
default = []
json = ["dep:serde_json"]

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

[[example]]
name = "server"
path = "examples/server.rs"
required-features = ["json"]

[dependencies.base16ct]
version = "1.0.0"
features = ["alloc"]

[dependencies.hmac]
version = "~0.13"

[dependencies.jiff]
version = "0.2.23"

[dependencies.rand]
version = "~0.10"

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

[dependencies.serde_json]
version = "~1.0.149"
optional = true

[dependencies.sha2]
version = "~0.11"

[dependencies.thiserror]
version = "~2.0.18"

[dev-dependencies.actix-web]
version = "~4.13.0"

[dev-dependencies.base64]
version = "0.22"