runlight 0.3.2

Privacy friendly web analytics that lives inside your Rust app: mount a route, add a script tag, read your stats at /runlight
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.88"
name = "runlight"
version = "0.3.2"
authors = ["Jon C. Phillips"]
build = false
include = [
    "src/**/*",
    "assets/**/*",
    "Cargo.toml",
    "README.md",
    "LICENSE",
]
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Privacy friendly web analytics that lives inside your Rust app: mount a route, add a script tag, read your stats at /runlight"
homepage = "https://runlight.sh"
readme = "README.md"
keywords = [
    "analytics",
    "privacy",
    "web-analytics",
    "short-links",
]
categories = [
    "web-programming",
    "asynchronous",
]
license = "MIT"
repository = "https://github.com/runlightsh/runlight"

[package.metadata.docs.rs]
all-features = true

[features]
axum = [
    "tower",
    "dep:axum",
]
default = ["transport"]
tower = [
    "dep:http",
    "dep:http-body",
    "dep:http-body-util",
    "dep:bytes",
    "dep:tower-service",
]
transport = [
    "dep:reqwest",
    "dep:tokio-rustls",
    "dep:rustls-platform-verifier",
]

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

[dependencies.aes-gcm]
version = "0.11"

[dependencies.axum]
version = "0.8.4"
features = [
    "original-uri",
    "tokio",
]
optional = true
default-features = false

[dependencies.base64]
version = "0.23"

[dependencies.bytes]
version = "1.7.1"
optional = true

[dependencies.getrandom]
version = "0.4"

[dependencies.ghash]
version = "0.6"

[dependencies.hmac]
version = "0.13"

[dependencies.http]
version = "1.1"
optional = true

[dependencies.http-body]
version = "1"
optional = true

[dependencies.http-body-util]
version = "0.1.2"
optional = true

[dependencies.jiff]
version = "0.2.15"

[dependencies.pbkdf2]
version = "0.13"
features = ["hmac"]
default-features = false

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

[dependencies.regex]
version = "1.10"
features = [
    "std",
    "unicode",
    "perf",
]
default-features = false

[dependencies.reqwest]
version = "0.13"
features = [
    "rustls-no-provider",
    "gzip",
]
optional = true
default-features = false

[dependencies.rustls-platform-verifier]
version = "0.7"
optional = true

[dependencies.scrypt]
version = "0.12"
default-features = false

[dependencies.sha1]
version = "0.11"

[dependencies.sha2]
version = "0.11"

[dependencies.tokio]
version = "1.44"
features = [
    "rt",
    "time",
    "sync",
    "net",
    "io-util",
]
default-features = false

[dependencies.tokio-rustls]
version = "0.26"
features = [
    "ring",
    "tls12",
]
optional = true
default-features = false

[dependencies.tower-service]
version = "0.3.3"
optional = true

[dependencies.url]
version = "2.5.4"

[dev-dependencies.tokio]
version = "1.44"
features = [
    "full",
    "test-util",
]

[lints.rust]
unsafe_code = "forbid"