onlivfe_net

Crates.ioonlivfe_net
lib.rsonlivfe_net
version0.0.0-alpha.0
sourcesrc
created_at2023-03-04 01:58:20.223215
updated_at2023-03-04 01:58:20.223215
descriptionNetwork connection handling of onlivfe
homepagehttps://onlivfe.com
repositoryhttps://github.com/onlivfe/core
max_upload_size
id800266
size11,382
LJ (ljoonal)

documentation

https://docs.rs/onlivfe_net

README

onlivfe_net

The network interaction parts of onlivfe.

API considerations

serde by default fails at deserializing the whole response if even a single part is unexpected. Which is why we should generally allow data to just be missing, and use serde_with's VecSkipError and DefaultOnError.

Beyond that, we should try to respect the platforms that we interact with, and generally follow rate limits and/or wishes of said platforms developers, up to a reasonable extent. However, as our application is meant for interoperability, which some platforms may not like, thus we must not bow down to any singular platform too much either.

Commit count: 37

cargo fmt