Skip to content

Commit

Permalink
deps: update to uuid 1.0 (#457)
Browse files Browse the repository at this point in the history
  • Loading branch information
poliorcetics committed Apr 26, 2022
1 parent 7e6df65 commit 2243fa5
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion sentry-actix/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -299,7 +299,7 @@ where
if inner.emit_header {
res.response_mut().headers_mut().insert(
"x-sentry-event".parse().unwrap(),
event_id.to_simple_ref().to_string().parse().unwrap(),
event_id.simple().to_string().parse().unwrap(),
);
}
}
Expand Down
4 changes: 2 additions & 2 deletions sentry-types/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -20,12 +20,12 @@ default = ["protocol"]
protocol = []

[dependencies]
debugid = { version = "0.7.2", features = ["serde"] }
debugid = { version = "0.8.0", features = ["serde"] }
getrandom = "0.2.3"
hex = "0.4.3"
serde = { version = "1.0.104", features = ["derive"] }
serde_json = "1.0.46"
thiserror = "1.0.15"
time = { version = "0.3.5", features = ["formatting", "parsing"] }
url = { version = "2.1.1", features = ["serde"] }
uuid = { version = "0.8.1", features = ["v4", "serde"] }
uuid = { version = "1.0.0", features = ["v4", "serde"] }
2 changes: 1 addition & 1 deletion sentry-types/src/protocol/v7.rs
Original file line number Diff line number Diff line change
Expand Up @@ -1482,7 +1482,7 @@ mod event {
}

pub fn serialize_id<S: Serializer>(uuid: &Uuid, serializer: S) -> Result<S::Ok, S::Error> {
serializer.serialize_some(&uuid.to_simple_ref().to_string())
serializer.serialize_some(&uuid.as_simple().to_string())
}

pub fn default_level() -> Level {
Expand Down

0 comments on commit 2243fa5

Please sign in to comment.