Make uuid optional and hide it behind servo feature in malloc_size_of

This commit is contained in:
Kunal Mohan 2019-12-10 21:31:27 +05:30
parent d60f7d87c8
commit a892102d46
No known key found for this signature in database
GPG key ID: 2B475A4524237BAC
2 changed files with 8 additions and 2 deletions

View file

@ -22,6 +22,7 @@ servo = [
"webrender_api",
"xml5ever",
"content-security-policy",
"uuid"
]
[dependencies]
@ -47,4 +48,4 @@ url = { version = "2.0", optional = true }
webrender_api = { git = "https://github.com/servo/webrender", optional = true }
xml5ever = { version = "0.16", optional = true }
void = "1.0.2"
uuid = {version = "0.8", features = ["v4", "serde"]}
uuid = {version = "0.8", features = ["v4"], optional = true}