From 46caec1040386bba4c5fe29182d734090fc20164 Mon Sep 17 00:00:00 2001 From: Paul Masurel Date: Fri, 25 Oct 2019 09:02:00 +0900 Subject: [PATCH] Updating uuid to 0.8 (#674) --- Cargo.toml | 2 +- src/core/segment_id.rs | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) 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 {}