[package]
edition = "2021"
name = "altcha"
version = "0.1.0"
authors = ["Daniel Regeci <536331+ovx@users.noreply.github.com>"]
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "The official Rust implementation of the ALTCHA Proof-of-Work (v2) protocol."
readme = "README.md"
license = "MIT"
repository = "https://github.com/altcha-org/altcha-lib-rs"
[features]
argon2 = ["dep:argon2"]
scrypt = ["dep:scrypt"]
[lib]
name = "altcha"
path = "src/lib.rs"
[[example]]
name = "http_server"
path = "examples/http_server.rs"
[[test]]
name = "integration"
path = "tests/integration.rs"
[dependencies.argon2]
version = "0.5"
optional = true
[dependencies.digest]
version = "0.10"
[dependencies.hex]
version = "0.4"
[dependencies.hmac]
version = "0.12"
[dependencies.pbkdf2]
version = "0.12"
[dependencies.rand]
version = "0.8"
[dependencies.scrypt]
version = "0.11"
optional = true
[dependencies.serde]
version = "1"
features = ["derive"]
[dependencies.serde_json]
version = "1"
[dependencies.sha2]
version = "0.10"
[dependencies.subtle]
version = "2"
[dependencies.thiserror]
version = "2"
[dev-dependencies.axum]
version = "0.8"
[dev-dependencies.base64]
version = "0.22"
[dev-dependencies.tokio]
version = "1"
features = ["full"]
[dev-dependencies.tower-http]
version = "0.6"
features = ["cors"]