[go: up one dir, main page]

sentry 0.10.0

Sentry (getsentry.com) client for rust ;)
[package]
name = "sentry"
version = "0.10.0"
authors = ["Sentry <hello@sentry.io>"]
license = "Apache-2.0"
readme = "README.md"
repository = "https://github.com/getsentry/sentry-rust"
homepage = "https://github.com/getsentry/sentry-rust"
documentation = "https://docs.rs/sentry"
description = """
Sentry (getsentry.com) client for rust ;)
"""
build = "build.rs"

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

[features]
default = ["with_client_implementation", "with_panic", "with_failure", "with_log", "with_env_logger", "with_device_info", "with_rust_info"]
with_client_implementation = ["reqwest", "im", "url", "with_backtrace"]
with_backtrace = ["backtrace", "regex"]
with_panic = ["with_backtrace"]
with_failure = ["failure", "with_backtrace"]
with_log = ["log", "with_backtrace"]
with_env_logger = ["with_log", "env_logger"]
with_error_chain = ["error-chain", "with_backtrace"]
with_device_info = ["libc", "hostname", "uname", "with_client_implementation"]
with_rust_info = ["rustc_version", "with_client_implementation"]
with_debug_meta = ["findshlibs", "with_client_implementation"]
with_test_support = []

[dependencies]
backtrace = { version = "0.3.9", optional = true }
url = { version = "1.7.1", optional = true }
failure = { version = "0.1.2", optional = true }
log = { version = "0.4.5", optional = true, features = ["std"] }
sentry-types = "0.7.1"
env_logger = { version = "0.5.13", optional = true }
reqwest = { version = "0.8.8", optional = true }
uuid = { version = "0.6.5", features = ["v4"] }
lazy_static = "1.1.0"
regex = { version = "1.0.5", optional = true }
error-chain = { version = "0.12.0", optional = true }
im = { version = "12.0.0", optional = true }
libc = { version = "0.2.43", optional = true }
hostname = { version = "0.1.5", optional = true }
findshlibs = { version = "0.4.0", optional = true }
rand = "0.5.5"

[target."cfg(not(windows))".dependencies]
uname = { version = "0.1.1", optional = true }

[build-dependencies]
rustc_version = { version = "0.2.3", optional = true }

[dev-dependencies]
failure_derive = "0.1.2"
pretty_env_logger = "0.2.4"
actix-web = { version = "0.7.7", default-features = false }

[[example]]
name = "error-chain-demo"
required-features = ["with_error_chain"]

# TODO: Remove these once autoexamples are stable
[[example]]
name = "failure-demo"
[[example]]
name = "log-demo"
[[example]]
name = "message-demo"
[[example]]
name = "panic-demo"
[[example]]
name = "thread-demo"
[[example]]
name = "init-with-client"
[[example]]
name = "event-processors"
[[example]]
name = "before-send"

[workspace]
members = [".", "integrations/sentry-actix"]