Update to uuid 0.7 (#340)

This commit is contained in:
Lucas Kent
2018-09-12 06:31:52 +10:00
committed by Sean McArthur
parent a205128f03
commit 99b52f949b
2 changed files with 2 additions and 2 deletions

View File

@@ -31,7 +31,7 @@ serde_urlencoded = "0.5"
tokio = "0.1.7"
tokio-io = "0.1"
url = "1.2"
uuid = { version = "0.6", features = ["v4"] }
uuid = { version = "0.7", features = ["v4"] }
[dev-dependencies]
env_logger = "0.5"

View File

@@ -23,7 +23,7 @@ impl Form {
/// Creates a new Form without any content.
pub fn new() -> Form {
Form {
boundary: format!("{}", Uuid::new_v4().simple()),
boundary: format!("{}", Uuid::new_v4().to_simple()),
fields: Vec::new(),
headers: Vec::new(),
}