errsight 0.1.1

Rust client for ErrSight error tracking — captures panics, errors, and log/tracing events and ships them to the ErrSight API from a background thread.
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 = "errsight"
version = "0.1.1"
authors = ["Jijo Bose <bosejijo@gmail.com>"]
build = false
include = [
    "/src",
    "/examples",
    "README.md",
    "CHANGELOG.md",
    "LICENSE",
]
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Rust client for ErrSight error tracking — captures panics, errors, and log/tracing events and ships them to the ErrSight API from a background thread."
homepage = "https://errsight.com"
documentation = "https://docs.rs/errsight"
readme = "README.md"
keywords = [
    "error",
    "monitoring",
    "errsight",
    "logging",
    "observability",
]
categories = ["development-tools::debugging"]
license = "MIT"
repository = "https://github.com/ErrSight/errsight-rust"

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

[features]
anyhow = ["dep:anyhow"]
default = []
log = ["dep:log"]
tracing = [
    "dep:tracing",
    "dep:tracing-subscriber",
]

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

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

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

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

[dependencies.backtrace]
version = "0.3"

[dependencies.log]
version = "0.4"
features = ["std"]
optional = true

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

[dependencies.serde_json]
version = "1"

[dependencies.time]
version = "0.3"
features = ["formatting"]

[dependencies.tracing]
version = "0.1"
optional = true

[dependencies.tracing-subscriber]
version = "0.3"
features = [
    "registry",
    "std",
]
optional = true
default-features = false

[dependencies.ureq]
version = "2"
features = [
    "tls",
    "gzip",
]
default-features = false

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

[dev-dependencies.anyhow]
version = "1"

[dev-dependencies.log]
version = "0.4"

[dev-dependencies.tracing]
version = "0.1"

[dev-dependencies.tracing-subscriber]
version = "0.3"
features = [
    "registry",
    "std",
]
default-features = false