Skip to content

Commit 7ba4b45

Browse files
authored
build: include sentry-actix optionally when release-health is enabled (#806)
* build: pull in `sentry-actix` optionally when `release-health` is enabled * changelog * Update CHANGELOG.md
1 parent 1c9558c commit 7ba4b45

File tree

3 files changed

+23
-15
lines changed

3 files changed

+23
-15
lines changed

CHANGELOG.md

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,13 @@
11
# Changelog
22

3+
## Unreleased
4+
5+
### Fixes
6+
7+
- build: include `sentry-actix` optionally when `release-health` is enabled (#806) by @lcian
8+
- `sentry-actix` is now being included as a dependency only when explicitly added, either as a direct dependency or through the `actix` feature flag of the `sentry` crate.
9+
- Due to a mistake in the `Cargo.toml`, it was previously being included as a dependency by default when using just the `sentry` crate with default features.
10+
311
## 0.38.0
412

513
### OpenTelemetry integration

Cargo.lock

Lines changed: 14 additions & 14 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

sentry/Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -48,7 +48,7 @@ opentelemetry = ["sentry-opentelemetry"]
4848
# other features
4949
test = ["sentry-core/test"]
5050
debug-logs = ["dep:log", "sentry-core/debug-logs"]
51-
release-health = ["sentry-core/release-health", "sentry-actix/release-health"]
51+
release-health = ["sentry-core/release-health", "sentry-actix?/release-health"]
5252
# transports
5353
transport = ["reqwest", "native-tls"]
5454
reqwest = ["dep:reqwest", "httpdate", "tokio"]

0 commit comments

Comments
 (0)