# 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.73" name = "sentry-core" version = "0.35.0" authors = ["Sentry "] build = false autobins = false autoexamples = false autotests = false autobenches = false description = """ Core sentry library used for instrumentation and integration development. """ homepage = "https://sentry.io/welcome/" readme = "README.md" license = "Apache-2.0" repository = "https://github.com/getsentry/sentry-rust" [package.metadata.docs.rs] all-features = true [lib] name = "sentry_core" path = "src/lib.rs" [[bench]] name = "scope_benchmark" path = "benches/scope_benchmark.rs" harness = false [dependencies.cadence] version = "1.4.0" optional = true [dependencies.crc32fast] version = "1.4.0" optional = true [dependencies.log] version = "0.4.8" features = ["std"] optional = true [dependencies.once_cell] version = "1" [dependencies.rand] version = "0.8.1" optional = true [dependencies.regex] version = "1.7.3" optional = true [dependencies.sentry-types] version = "0.35.0" [dependencies.serde] version = "1.0.104" features = ["derive"] [dependencies.serde_json] version = "1.0.46" [dependencies.uuid] version = "1.0.0" features = [ "v4", "serde", ] optional = true [dev-dependencies.anyhow] version = "1.0.30" [dev-dependencies.criterion] version = "0.5" [dev-dependencies.futures] version = "0.3.24" [dev-dependencies.rayon] version = "1.5.3" [dev-dependencies.thiserror] version = "1.0.15" [dev-dependencies.tokio] version = "1.0" features = [ "rt", "rt-multi-thread", "macros", ] [features] client = ["rand"] debug-logs = ["dep:log"] default = [] metrics = [ "sentry-types/metrics", "regex", "crc32fast", ] metrics-cadence1 = [ "dep:cadence", "metrics", ] test = ["client"]