bugwatch 0.4.0

Official Rust SDK for Bugwatch - AI-Powered Error Tracking
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 = "bugwatch"
version = "0.4.0"
authors = ["Bugwatch Team <support@bugwatch.io>"]
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Official Rust SDK for Bugwatch - AI-Powered Error Tracking"
homepage = "https://bugwatch.io"
documentation = "https://docs.bugwatch.io/sdk/rust"
readme = "README.md"
keywords = [
    "bugwatch",
    "error-tracking",
    "monitoring",
    "logging",
    "observability",
]
categories = [
    "development-tools::debugging",
    "development-tools::profiling",
]
license = "MIT"
repository = "https://github.com/bugwatch/bugwatch"

[features]
actix = [
    "dep:actix-web",
    "dep:actix-service",
    "dep:futures-util",
    "async",
]
async = [
    "tokio",
    "reqwest",
]
axum = [
    "dep:axum",
    "dep:tower",
    "dep:http",
    "dep:pin-project-lite",
    "async",
]
blocking = ["reqwest/blocking"]
default = [
    "async",
    "blocking",
]
full = [
    "async",
    "blocking",
    "actix",
    "axum",
]

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

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

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

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

[dependencies.backtrace]
version = "0.3"

[dependencies.chrono]
version = "0.4"
features = ["serde"]

[dependencies.futures-util]
version = "0.3"
optional = true

[dependencies.hex]
version = "0.4"

[dependencies.hostname]
version = "0.4"

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

[dependencies.lazy_static]
version = "1.4"

[dependencies.once_cell]
version = "1.19"

[dependencies.parking_lot]
version = "0.12"

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

[dependencies.regex]
version = "1.10"

[dependencies.reqwest]
version = "0.12"
features = [
    "json",
    "rustls-tls",
]
optional = true
default-features = false

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

[dependencies.serde_json]
version = "1.0"

[dependencies.sha2]
version = "0.10"

[dependencies.thiserror]
version = "1.0"

[dependencies.tokio]
version = "1.0"
features = [
    "rt-multi-thread",
    "sync",
]
optional = true

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

[dependencies.tracing]
version = "0.1"

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

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

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