privatus-analytics 1.0.1

Prints the cookieless Privatus Analytics script tag, event and click map attributes, and page props for Rust web apps. Optional axum and actix-web middleware, askama and maud support.
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 = "2021"
rust-version = "1.75"
name = "privatus-analytics"
version = "1.0.1"
authors = ["Two Phase LLC"]
build = false
include = [
    "src/**/*.rs",
    "tests/**/*.rs",
    "Cargo.toml",
    "README.md",
    "CHANGELOG.md",
    "LICENSE",
]
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Prints the cookieless Privatus Analytics script tag, event and click map attributes, and page props for Rust web apps. Optional axum and actix-web middleware, askama and maud support."
homepage = "https://privatusanalytics.com"
documentation = "https://docs.rs/privatus-analytics"
readme = "README.md"
keywords = [
    "analytics",
    "privacy",
    "cookieless",
    "axum",
    "actix-web",
]
categories = [
    "web-programming",
    "template-engine",
]
license = "MIT"
repository = "https://github.com/Privatus-Analytics/rust"

[package.metadata.docs.rs]
all-features = true
rustdoc-args = [
    "--cfg",
    "docsrs",
]

[features]
actix = ["dep:actix-web"]
askama = ["dep:askama"]
axum = [
    "dep:axum",
    "dep:tower-layer",
    "dep:tower-service",
]
default = []
maud = ["dep:maud"]

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

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

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

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

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

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

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

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

[dependencies.actix-web]
version = "4"
optional = true
default-features = false

[dependencies.askama]
version = "0.16"
features = ["std"]
optional = true
default-features = false

[dependencies.axum]
version = "0.8"
optional = true
default-features = false

[dependencies.maud]
version = "0.27"
optional = true

[dependencies.tower-layer]
version = "0.3"
optional = true

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

[dev-dependencies.actix-web]
version = "4"
features = ["macros"]
default-features = false

[dev-dependencies.askama]
version = "0.16"

[dev-dependencies.axum]
version = "0.8"
default-features = false

[dev-dependencies.maud]
version = "0.27"

[dev-dependencies.tokio]
version = "1"
features = [
    "macros",
    "rt",
]

[dev-dependencies.tower]
version = "0.5"
features = ["util"]
default-features = false