Update to uuid 0.7 (#340)
This commit is contained in:
committed by
Sean McArthur
parent
a205128f03
commit
99b52f949b
@@ -31,7 +31,7 @@ serde_urlencoded = "0.5"
|
|||||||
tokio = "0.1.7"
|
tokio = "0.1.7"
|
||||||
tokio-io = "0.1"
|
tokio-io = "0.1"
|
||||||
url = "1.2"
|
url = "1.2"
|
||||||
uuid = { version = "0.6", features = ["v4"] }
|
uuid = { version = "0.7", features = ["v4"] }
|
||||||
|
|
||||||
[dev-dependencies]
|
[dev-dependencies]
|
||||||
env_logger = "0.5"
|
env_logger = "0.5"
|
||||||
|
|||||||
@@ -23,7 +23,7 @@ impl Form {
|
|||||||
/// Creates a new Form without any content.
|
/// Creates a new Form without any content.
|
||||||
pub fn new() -> Form {
|
pub fn new() -> Form {
|
||||||
Form {
|
Form {
|
||||||
boundary: format!("{}", Uuid::new_v4().simple()),
|
boundary: format!("{}", Uuid::new_v4().to_simple()),
|
||||||
fields: Vec::new(),
|
fields: Vec::new(),
|
||||||
headers: Vec::new(),
|
headers: Vec::new(),
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user