syno_api

Crates.iosyno_api
lib.rssyno_api
version
sourcesrc
created_at2024-04-22 15:24:09.474328
updated_at2024-12-09 10:48:31.07353
descriptionAn incomplete set of DTOs and errors for Synology DSM APIs
homepage
repositoryhttps://github.com/caleb9/syno_api
max_upload_size
id1216301
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`
size0
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: 10

cargo fmt