dregs 1.0.0

The official Rust client for Dregs, which scores the users of your application for fraud and abuse.
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"
name = "dregs"
version = "1.0.0"
build = false
include = [
    "src/**/*.rs",
    "examples/**/*.rs",
    "Cargo.toml",
    "README.md",
    "CHANGELOG.md",
    "LICENSE",
]
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "The official Rust client for Dregs, which scores the users of your application for fraud and abuse."
homepage = "https://dregs.com"
documentation = "https://docs.rs/dregs"
readme = "README.md"
keywords = [
    "fraud",
    "abuse",
    "risk",
    "scoring",
    "dregs",
]
categories = [
    "api-bindings",
    "web-programming::http-client",
]
license = "MIT"
repository = "https://github.com/dregs-sdk/dregs-sdk-rust"

[features]
default = ["rustls"]
native-tls = ["reqwest/native-tls"]
rustls = ["reqwest/rustls"]

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

[[example]]
name = "read_scores"
path = "examples/read_scores.rs"

[[example]]
name = "track_event"
path = "examples/track_event.rs"

[dependencies.chrono]
version = "0.4.42"
features = [
    "std",
    "clock",
]
default-features = false

[dependencies.fastrand]
version = "2.3"

[dependencies.futures-util]
version = "0.3.31"
default-features = false

[dependencies.hex]
version = "0.4.3"

[dependencies.hmac]
version = "0.13.0"

[dependencies.percent-encoding]
version = "2.3"

[dependencies.reqwest]
version = "0.13"
features = [
    "http2",
    "system-proxy",
]
default-features = false

[dependencies.serde]
version = "1.0"

[dependencies.serde_json]
version = "1.0"

[dependencies.sha2]
version = "0.11.0"

[dependencies.thiserror]
version = "2.0"

[dependencies.tokio]
version = "1.40"
features = ["time"]

[dependencies.uuid]
version = "1.10"
features = ["v4"]

[dev-dependencies.serde]
version = "1.0"
features = ["derive"]

[dev-dependencies.tokio]
version = "1.40"
features = [
    "macros",
    "rt-multi-thread",
    "net",
    "io-util",
]

[dev-dependencies.wiremock]
version = "0.6"