diff --git a/Cargo.toml b/Cargo.toml index 6528cf63d..c1a8e9967 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -34,7 +34,7 @@ itertools = "0.8" levenshtein_automata = {version="0.1", features=["fst_automaton"]} notify = {version="4", optional=true} bit-set = "0.5" -uuid = { version = "0.7.2", features = ["v4", "serde"] } +uuid = { version = "0.8", features = ["v4", "serde"] } crossbeam = "0.7" futures = "0.1" futures-cpupool = "0.1" diff --git a/src/core/segment_id.rs b/src/core/segment_id.rs index 02a5fdfab..e7c8eea00 100644 --- a/src/core/segment_id.rs +++ b/src/core/segment_id.rs @@ -76,7 +76,7 @@ impl SegmentId { } /// Error type used when parsing a `SegmentId` from a string fails. -pub struct SegmentIdParseError(uuid::parser::ParseError); +pub struct SegmentIdParseError(uuid::Error); impl Error for SegmentIdParseError {}