Crates.io | syno_api |
lib.rs | syno_api |
version | 0.3.1 |
source | src |
created_at | 2024-04-22 15:24:09.474328 |
updated_at | 2024-06-14 13:41:00.781404 |
description | An incomplete set of DTOs and errors for Synology DSM APIs |
homepage | |
repository | https://github.com/caleb9/syno_api |
max_upload_size | |
id | 1216301 |
size | 22,145 |
An incomplete set of data transfer objects (DTOs) and errors for Synology DSM APIs.
By default, all of the following features are enabled.
dto
- provides DTOs for various JSON responses produced by
Synology DSM APIserror
- provides enums implementing Error
and Display
traits,
and From
/TryFrom
for u16
to convert from error codes returned
by the API to enum valuesserde
- adds Serialize
and Deserialize
trait implementations
to DTOs (adds dependency on serde
library).I would very much welcome pull requests adding more types / functionality. Current set is driven by what my other projects need from the APIs.