peekapi 0.1.0

API analytics SDK — buffers request events and flushes them to an ingestion endpoint
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"
name = "peekapi"
version = "0.1.0"
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "API analytics SDK — buffers request events and flushes them to an ingestion endpoint"
readme = "README.md"
license = "MIT"
repository = "https://github.com/peekapi-dev/sdk-rust"

[features]
actix = [
    "dep:actix-web",
    "dep:actix-service",
]
axum-middleware = [
    "dep:axum",
    "dep:tower",
    "dep:tower-layer",
    "dep:http",
    "dep:pin-project-lite",
]
default = []
rocket-fairing = ["dep:rocket"]

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

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

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

[dependencies.actix-service]
version = "2"
optional = true

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

[dependencies.axum]
version = "0.8"
optional = true

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

[dependencies.pin-project-lite]
version = "0.2"
optional = true

[dependencies.rocket]
version = "0.5"
optional = true

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

[dependencies.serde_json]
version = "1"

[dependencies.sha2]
version = "0.10"

[dependencies.tower]
version = "0.5"
optional = true

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

[dependencies.ureq]
version = "2"

[dev-dependencies.tempfile]
version = "3"