fingerprintd 0.0.1

Framework-free device-fingerprinting compute and storage traits shared by the fingerprintd server and its edge WASM engine.
# 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.96.0"
name = "fingerprintd"
version = "0.0.1"
authors = ["cdlab"]
build = false
publish = true
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Framework-free device-fingerprinting compute and storage traits shared by the fingerprintd server and its edge WASM engine."
homepage = "https://github.com/WuChenDi/fingerprintd"
readme = "README.md"
keywords = [
    "fingerprinting",
    "anti-fraud",
    "device-id",
    "fuzzy-matching",
]
categories = [
    "algorithms",
    "authentication",
]
license = "Apache-2.0"
repository = "https://github.com/WuChenDi/fingerprintd"

[features]
default = ["rng"]
rng = ["dep:rand"]

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

[[test]]
name = "cloakbrowser_fixtures"
path = "tests/cloakbrowser_fixtures.rs"

[[test]]
name = "engine_behavior"
path = "tests/engine_behavior.rs"

[dependencies.async-trait]
version = "0.1"

[dependencies.hex]
version = "0.4"

[dependencies.hmac]
version = "0.13"

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

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

[dependencies.serde_json]
version = "1"

[dependencies.sha2]
version = "0.11"

[dependencies.tracing]
version = "0.1"

[dev-dependencies.tokio]
version = "1"
features = [
    "rt-multi-thread",
    "macros",
    "net",
    "signal",
    "rt",
    "macros",
]

[lints.clippy]
dbg_macro = "deny"
expect_used = "deny"
missing_errors_doc = "allow"
missing_panics_doc = "allow"
module_name_repetitions = "allow"
must_use_candidate = "allow"
panic = "deny"
todo = "warn"
unwrap_used = "deny"

[lints.clippy.pedantic]
level = "warn"
priority = -1

[lints.rust]
elided_lifetimes_in_paths = "warn"
missing_debug_implementations = "warn"
missing_docs = "warn"
unreachable_pub = "warn"
unsafe_code = "forbid"

[lints.rust.warnings]
level = "deny"
priority = -2