Crates.io | syno_api |
lib.rs | syno_api |
version | |
source | src |
created_at | 2024-04-22 15:24:09.474328 |
updated_at | 2024-12-09 10:48:31.07353 |
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 |
Cargo.toml error: | TOML parse error at line 23, column 1 | 23 | autolib = false | ^^^^^^^ unknown field `autolib`, expected one of `name`, `version`, `edition`, `authors`, `description`, `readme`, `license`, `repository`, `homepage`, `documentation`, `build`, `resolver`, `links`, `default-run`, `default_dash_run`, `rust-version`, `rust_dash_version`, `rust_version`, `license-file`, `license_dash_file`, `license_file`, `licenseFile`, `license_capital_file`, `forced-target`, `forced_dash_target`, `autobins`, `autotests`, `autoexamples`, `autobenches`, `publish`, `metadata`, `keywords`, `categories`, `exclude`, `include` |
size | 0 |
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.