diff options
author | David Tolnay <dtolnay@gmail.com> | 2023-12-28 14:38:35 -0800 |
---|---|---|
committer | David Tolnay <dtolnay@gmail.com> | 2024-02-08 15:55:30 -0800 |
commit | 1a54c9bf6ddb1daf649e193c1262c28d86ddcc43 (patch) | |
tree | ead5efe1f5f5d5269057e84e1d767fddb2744c08 /src | |
parent | 95993cf37e4c7bd242f1a156ae405aec65da7e8c (diff) |
Eliminate dependency on serde's "derive" feature
Diffstat (limited to 'src')
-rw-r--r-- | src/assets/assets_metadata.rs | 2 | ||||
-rw-r--r-- | src/assets/lazy_theme_set.rs | 3 |
2 files changed, 2 insertions, 3 deletions
diff --git a/src/assets/assets_metadata.rs b/src/assets/assets_metadata.rs index 700c4c3b..cfc7a9e0 100644 --- a/src/assets/assets_metadata.rs +++ b/src/assets/assets_metadata.rs @@ -3,7 +3,7 @@ use std::path::Path; use std::time::SystemTime; use semver::Version; -use serde::{Deserialize, Serialize}; +use serde_derive::{Deserialize, Serialize}; use crate::error::*; diff --git a/src/assets/lazy_theme_set.rs b/src/assets/lazy_theme_set.rs index bf749154..fcc3eb46 100644 --- a/src/assets/lazy_theme_set.rs +++ b/src/assets/lazy_theme_set.rs @@ -3,8 +3,7 @@ use super::*; use std::collections::BTreeMap; use std::convert::TryFrom; -use serde::Deserialize; -use serde::Serialize; +use serde_derive::{Deserialize, Serialize}; use once_cell::unsync::OnceCell; |