syno_api

Crates.iosyno_api
lib.rssyno_api
version0.3.1
sourcesrc
created_at2024-04-22 15:24:09.474328
updated_at2024-06-14 13:41:00.781404
descriptionAn incomplete set of DTOs and errors for Synology DSM APIs
homepage
repositoryhttps://github.com/caleb9/syno_api
max_upload_size
id1216301
size22,145
Piotr KarasiƄski (Caleb9)

documentation

README

syno_api

Crates.io Version

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 APIs
  • error - provides enums implementing Error and Display traits, and From/TryFrom for u16 to convert from error codes returned by the API to enum values
  • serde - adds Serialize and Deserialize trait implementations to DTOs (adds dependency on serde library).

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.

Commit count: 8

cargo fmt