aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorFuwn <[email protected]>2022-03-16 23:20:10 -0700
committerFuwn <[email protected]>2022-03-16 23:20:10 -0700
commit88a7bdac01cf8e4fd2aa526655cf0bec87213948 (patch)
tree45b872649b679ceaf7e7c0300cf2709eab23c315 /src
parentdocs(readme): add senpy-ffi info (diff)
downloadsenpy-rs-88a7bdac01cf8e4fd2aa526655cf0bec87213948.tar.xz
senpy-rs-88a7bdac01cf8e4fd2aa526655cf0bec87213948.zip
refactor(src): use derive from serde
Diffstat (limited to 'src')
-rw-r--r--src/lib.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/lib.rs b/src/lib.rs
index 1288e4a..bc7fcaa 100644
--- a/src/lib.rs
+++ b/src/lib.rs
@@ -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,