From 633eb786308364af738a1c5b1ef3fade7f20518d Mon Sep 17 00:00:00 2001 From: Paul Makles Date: Sat, 22 Apr 2023 17:56:24 +0100 Subject: [PATCH] chore: migrate to revolt_optional_struct --- crates/core/database/Cargo.toml | 2 +- crates/core/database/src/lib.rs | 2 +- crates/quark/Cargo.toml | 2 +- crates/quark/src/lib.rs | 2 +- 4 files changed, 4 insertions(+), 4 deletions(-) diff --git a/crates/core/database/Cargo.toml b/crates/core/database/Cargo.toml index b17ddb45..a0cc695e 100644 --- a/crates/core/database/Cargo.toml +++ b/crates/core/database/Cargo.toml @@ -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 } diff --git a/crates/core/database/src/lib.rs b/crates/core/database/src/lib.rs index e53c8231..4796b684 100644 --- a/crates/core/database/src/lib.rs +++ b/crates/core/database/src/lib.rs @@ -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; diff --git a/crates/quark/Cargo.toml b/crates/quark/Cargo.toml index 5b37b88e..eeffa630 100644 --- a/crates/quark/Cargo.toml +++ b/crates/quark/Cargo.toml @@ -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" diff --git a/crates/quark/src/lib.rs b/crates/quark/src/lib.rs index 13b1ce82..f57d9127 100644 --- a/crates/quark/src/lib.rs +++ b/crates/quark/src/lib.rs @@ -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]