diff options
| -rw-r--r-- | Cargo.toml | 3 | ||||
| -rw-r--r-- | src/lib.rs | 2 |
2 files changed, 2 insertions, 3 deletions
@@ -22,5 +22,4 @@ reqwest = { version = "0.11.9", features = ["json", "blocking"] } const_format = "0.2.22" # Serialization -serde = "1.0.136" -serde_derive = "1.0.136" +serde = { version = "1.0.136", features = ["derive"] } @@ -50,7 +50,7 @@ pub const SENPY_CLUB_API_URL: &str = const_format::formatcp!( ); /// The response of the <https://api.senpy.club/v2/random> route -#[derive(serde_derive::Serialize, serde_derive::Deserialize, Debug)] +#[derive(serde::Serialize, serde::Deserialize, Debug)] pub struct Random { pub language: String, pub image: String, |