spow 0.7.0

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

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

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

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

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

[[bench]]
name = "main"
path = "benches/main.rs"
harness = false

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

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

[dependencies.nom]
version = "8"

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

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

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

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

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

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

[profile.test]
inherits = "release"