diff options
| author | Flaise <[email protected]> | 2019-08-02 20:30:48 -0500 |
|---|---|---|
| committer | Matthew Collins <[email protected]> | 2019-08-03 09:08:03 +0100 |
| commit | f109df710c3715b1bf863c5b3f1ac1f8a53b39ed (patch) | |
| tree | 6927c655417ede7c48e168892bf3cae32512cc80 /src/remote_storage.rs | |
| parent | Implemented Serialize, Deserialize and other common traits where appropriate (diff) | |
| download | steamworks-rs-f109df710c3715b1bf863c5b3f1ac1f8a53b39ed.tar.xz steamworks-rs-f109df710c3715b1bf863c5b3f1ac1f8a53b39ed.zip | |
Made serde dependency optional
Diffstat (limited to 'src/remote_storage.rs')
| -rw-r--r-- | src/remote_storage.rs | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/remote_storage.rs b/src/remote_storage.rs index eddf3b8..0772ca8 100644 --- a/src/remote_storage.rs +++ b/src/remote_storage.rs @@ -250,7 +250,8 @@ impl <Manager> std::io::Seek for SteamFileReader<Manager> { } /// Name and size information about a file in the steam cloud -#[derive(Clone, Debug, Serialize, Deserialize)] +#[derive(Clone, Debug)] +#[cfg_attr(feature = "serde", derive(Serialize, Deserialize))] pub struct SteamFileInfo { /// The file name pub name: String, |