11 unstable releases (5 breaking)
Uses new Rust 2024
| 0.6.0 | Oct 23, 2025 |
|---|---|
| 0.5.0 | Jun 25, 2025 |
| 0.4.0 | Jun 23, 2025 |
| 0.3.5 | Jan 24, 2025 |
| 0.3.1 | Jun 14, 2024 |
#1413 in Encoding
Used in 2 crates
25KB
540 lines
syno_api
An incomplete set of data transfer objects (DTOs) and errors for Synology DSM APIs.
Features
By default, all of the following features are enabled.
dto- provides DTOs for various JSON responses produced by Synology DSM APIserror- provides enums implementingErrorandDisplaytraits, andFrom/TryFromforu16to convert from error codes returned by the API to enum valuesserde- addsSerializeandDeserializetrait implementations to DTOs (adds dependency onserdelibrary).
Contributing
I would very much welcome pull requests adding more types / functionality. Current set is driven by what my other projects need from the APIs.
Disclaimer
This project is an independent, open-source library and is not affiliated, associated, authorized, endorsed by, or in any way officially connected with Synology Inc. "Synology" and any related product names, logos, and trademarks are the property of Synology Inc.
The use of Synology APIs in this project is solely for interoperability purposes, and the project does not provide any official support from Synology. All trademarks, product names, and company names mentioned in this repository belong to their respective owners.
Dependencies
~0.3–1MB
~21K SLoC