chore: migrate to revolt_optional_struct

This commit is contained in:
Paul Makles
2023-04-22 17:56:24 +01:00
parent bbe1f4936c
commit 633eb78630
4 changed files with 4 additions and 4 deletions

View File

@@ -25,8 +25,8 @@ nanoid = "0.4.0"
# Serialisation
serde_json = "1"
revolt_optional_struct = "0.2.0"
serde = { version = "1", features = ["derive"] }
optional_struct = { git = "https://github.com/insertish/OptionalStruct", rev = "ee56427cee1f007839825d93d07fffd5a5e038c7" }
# Database
mongodb = { optional = true, version = "2.1.0", default-features = false }

View File

@@ -11,7 +11,7 @@ extern crate async_trait;
extern crate log;
#[macro_use]
extern crate optional_struct;
extern crate revolt_optional_struct;
#[macro_use]
extern crate revolt_result;

View File

@@ -26,10 +26,10 @@ default = [ "test" ]
[dependencies]
# Serialisation
revolt_optional_struct = "0.2.0"
serde = { version = "1", features = ["derive"] }
validator = { version = "0.14", features = ["derive"] }
iso8601-timestamp = { version = "0.1.8", features = ["schema", "bson"] }
optional_struct = { git = "https://github.com/insertish/OptionalStruct", rev = "ee56427cee1f007839825d93d07fffd5a5e038c7" }
# Formats
bincode = "1.3.3"

View File

@@ -9,7 +9,7 @@ extern crate log;
#[macro_use]
extern crate impl_ops;
#[macro_use]
extern crate optional_struct;
extern crate revolt_optional_struct;
#[macro_use]
extern crate bitfield;
#[macro_use]