spow 0.5.0

Proof of Work for the Server and Client + WASM
Documentation
[[bench]]
harness = false
name = "main"
path = "benches/main.rs"

[[bin]]
name = "spow"
path = "src/main.rs"

[dependencies.base64]
optional = true
version = "0.22.1"

[dependencies.chrono]
optional = true
version = "0.4.31"

[dependencies.nom]
version = "8"

[dependencies.serde]
features = ["derive"]
optional = true
version = "1.0.193"

[dependencies.sha2]
features = []
version = "0.10.8"

[dependencies.thiserror]
optional = true
version = "2"

[dev-dependencies.criterion]
features = ["html_reports"]
version = "0.5.1"

[features]
asm = ["sha2/asm"]
client = []
default = []
server = ["dep:base64", "dep:chrono", "dep:serde", "dep:thiserror", "dep:getrandom"]

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

[package]
authors = ["Sebastian Dobe <sebastiandobe@mailbox.org"]
autobenches = false
autobins = false
autoexamples = false
autolib = false
autotests = false
build = false
categories = ["algorithms", "wasm", "web-programming"]
description = "Proof of Work for the Server and Client + WASM"
edition = "2021"
keywords = ["hash", "security", "utility", "wasm", "web"]
license = "Apache-2.0"
name = "spow"
readme = "README.md"
repository = "https://github.com/sebadob/spow"
rust-version = "1.70.0"
version = "0.5.0"

[package.metadata.docs.rs]
targets = ["x86_64-unknown-linux-musl", "aarch64-unknown-linux-musl", "wasm32-unknown-unknown"]

[profile.test]
inherits = "release"

[target.'cfg(not(target_arch = "wasm32"))'.dependencies.getrandom]
version = "0.3"

[target.'cfg(target_arch = "wasm32")'.dependencies.getrandom]
features = ["wasm_js"]
optional = true
version = "0.3"