Skip to content

Commit c29c01f

Browse files
liskinlcian
andauthored
build(panic): Fix build without other dependencies (#883)
Co-authored-by: lcian <[email protected]>
1 parent 0336a02 commit c29c01f

File tree

2 files changed

+7
-2
lines changed

2 files changed

+7
-2
lines changed

CHANGELOG.md

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22

33
## Unreleased
44

5-
## Features
5+
### Features
66

77
- feat(core): add Response context ([#874](https://github.com/getsentry/sentry-rust/pull/874)) by @lcian
88
- The `Response` context can now be attached to events, to include information about HTTP responses such as headers, cookies and status code.
@@ -21,6 +21,11 @@
2121
.insert("response".to_owned(), response.into());
2222
```
2323

24+
### Fixes
25+
26+
- build(panic): Fix build without other dependencies ([#883](https://github.com/getsentry/sentry-rust/pull/883)) by @liskin
27+
- The `sentry-panic` crate now builds successfully when used as a standalone dependency.
28+
2429
## 0.42.0
2530

2631
### Features

sentry-panic/Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ edition = "2021"
1313
rust-version = "1.81"
1414

1515
[dependencies]
16-
sentry-core = { version = "0.42.0", path = "../sentry-core" }
16+
sentry-core = { version = "0.42.0", path = "../sentry-core", features = ["client"] }
1717
sentry-backtrace = { version = "0.42.0", path = "../sentry-backtrace" }
1818

1919
[dev-dependencies]

0 commit comments

Comments
 (0)