2 unstable releases

Uses new Rust 2024

0.2.0 May 31, 2025
0.1.1 Jan 1, 2025
0.1.0 Jan 1, 2025

#1091 in Web programming

Download history 8/week @ 2025-02-12 15/week @ 2025-02-19 4/week @ 2025-02-26 20/week @ 2025-04-16 2/week @ 2025-04-23 7/week @ 2025-05-07 139/week @ 2025-05-28

146 downloads per month
Used in 7 crates

MIT license

24KB
428 lines

tosho-common

A common shared library used by tosho-* sources crates.

Not recommended to be used by other projects.

Features

  • serde - Enable error type when parsing with serde + serde_json (Also enable the parser for reqwest)
  • protobuf - Enable error type when parsing with protobuf via prost (Also enable the parser for reqwest)
  • image - Enable error type when processing image with image-rs
  • complete-errors - Enable all error types described above
  • id-gen - Enable random token/ID generator
  • all - Enable all features

This is made since not all sources crates will need all of the features.

License

This project is licensed with MIT License (LICENSE or http://opensource.org/licenses/MIT)

Dependencies

~4–18MB
~255K SLoC