Fix the problem of compilation failure.

This commit is contained in:
Sunli 2020-05-22 13:38:46 +08:00
parent 1461210df7
commit 19803ccc61
2 changed files with 2 additions and 4 deletions

View File

@ -14,7 +14,7 @@ categories = ["network-programming", "asynchronous"]
readme = "README.md"
[features]
default = ["bson", "uuid", "url", "chrono-tz"]
default = ["bson", "url", "chrono-tz"]
[dependencies]
async-graphql-parser = { path = "async-graphql-parser", version = "1.13.1" }
@ -47,7 +47,7 @@ async-stream = "0.2.1"
multer = "1.2.0"
log = "0.4.8"
bson = { version = "0.14.1", optional = true }
uuid = { version = "0.8.1", optional = true, features = ["v4"] }
uuid = { version = "0.8.1", features = ["v4"] }
url = { version = "2.1.1", optional = true }
chrono-tz = { version = "0.5.1", optional = true }

View File

@ -15,8 +15,6 @@ mod bson;
mod chrono_tz;
#[cfg(feature = "uuid")]
mod url;
#[cfg(feature = "uuid")]
mod uuid;
pub use any::Any;
pub use id::ID;