Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 3 additions & 0 deletions Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -23,3 +23,6 @@ repository = "https://github.com/getsentry/sentry-rust"
homepage = "https://sentry.io/welcome/"
edition = "2021"
rust-version = "1.88"

[workspace.lints.rust]
unexpected_cfgs = { level = "warn", check-cfg = ['cfg(doc_cfg)'] }
3 changes: 3 additions & 0 deletions sentry-actix/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,9 @@ Sentry integration for actix-web 4.
edition = { workspace = true }
rust-version = { workspace = true }

[lints]
workspace = true

[features]
default = ["release-health"]
release-health = ["sentry-core/release-health"]
Expand Down
3 changes: 3 additions & 0 deletions sentry-anyhow/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,9 @@ Sentry integration for anyhow.
edition = { workspace = true }
rust-version = { workspace = true }

[lints]
workspace = true

[features]
default = ["backtrace"]
backtrace = []
Expand Down
3 changes: 3 additions & 0 deletions sentry-backtrace/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,9 @@ Sentry integration and utilities for dealing with stacktraces.
edition = { workspace = true }
rust-version = { workspace = true }

[lints]
workspace = true

[dependencies]
backtrace = "0.3.44"
regex = { version = "1.5.5", default-features = false, features = [
Expand Down
3 changes: 3 additions & 0 deletions sentry-contexts/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,9 @@ build = "build.rs"
edition = { workspace = true }
rust-version = { workspace = true }

[lints]
workspace = true

[dependencies]
sentry-core = { version = "0.48.1", path = "../sentry-core" }
libc = "0.2.66"
Expand Down
3 changes: 3 additions & 0 deletions sentry-core/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,9 @@ Core Sentry library used for instrumentation and integration development.
edition = { workspace = true }
rust-version = { workspace = true }

[lints]
workspace = true

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

Expand Down
3 changes: 3 additions & 0 deletions sentry-debug-images/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,9 @@ Sentry integration that adds the list of loaded libraries to events.
edition = { workspace = true }
rust-version = { workspace = true }

[lints]
workspace = true

[dependencies]
findshlibs = "=0.10.2"
sentry-core = { version = "0.48.1", path = "../sentry-core" }
3 changes: 3 additions & 0 deletions sentry-log/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,9 @@ Sentry integration for the log and env_logger crates.
edition = { workspace = true }
rust-version = { workspace = true }

[lints]
workspace = true

[features]
default = []
logs = ["sentry-core/logs"]
Expand Down
3 changes: 3 additions & 0 deletions sentry-opentelemetry/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,9 @@ Sentry integration for OpenTelemetry.
edition = { workspace = true }
rust-version = { workspace = true }

[lints]
workspace = true

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

Expand Down
3 changes: 3 additions & 0 deletions sentry-panic/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,9 @@ Sentry integration for capturing panics.
edition = { workspace = true }
rust-version = { workspace = true }

[lints]
workspace = true

[dependencies]
sentry-core = { version = "0.48.1", path = "../sentry-core", features = ["client"] }
sentry-backtrace = { version = "0.48.1", path = "../sentry-backtrace" }
Expand Down
3 changes: 3 additions & 0 deletions sentry-slog/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,9 @@ Sentry integration for the slog crate.
edition = { workspace = true }
rust-version = { workspace = true }

[lints]
workspace = true

[dependencies]
sentry-core = { version = "0.48.1", path = "../sentry-core" }
slog = { version = "2.5.2", features = ["nested-values"] }
Expand Down
3 changes: 3 additions & 0 deletions sentry-tower/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,9 @@ Sentry integration for tower-based crates.
edition = { workspace = true }
rust-version = { workspace = true }

[lints]
workspace = true

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

Expand Down
3 changes: 3 additions & 0 deletions sentry-tracing/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,9 @@ Sentry integration for the tracing and tracing-subscriber crates.
edition = { workspace = true }
rust-version = { workspace = true }

[lints]
workspace = true

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

Expand Down
3 changes: 3 additions & 0 deletions sentry-types/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,9 @@ keywords = ["sentry", "protocol"]
edition = { workspace = true }
rust-version = { workspace = true }

[lints]
workspace = true

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

Expand Down
4 changes: 2 additions & 2 deletions sentry/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -107,8 +107,8 @@ tower = { version = "0.5.2", features = ["util"] }
tracing = { version = "0.1" }
tracing-subscriber = { version = "0.3", features = ["fmt", "tracing-log"] }

[lints.rust]
unexpected_cfgs = { level = "warn", check-cfg = ['cfg(doc_cfg)'] }
[lints]
workspace = true

[build-dependencies]
cfg_aliases = "0.2.1"
Loading