api_bindium

Crates.ioapi_bindium
lib.rsapi_bindium
version0.3.0
created_at2026-01-07 13:43:18.333157+00
updated_at2026-01-21 08:40:06.16166+00
descriptionFramework for api binding crates
homepage
repositoryhttps://github.com/RustyNova016/api_bindium
max_upload_size
id2028270
size127,881
RustyNova (RustyNova016)

documentation

README

api_bindium

A lightweight crate to provide foundations for creating API binding crates. This aim to provide "batteries included" level of features while keeping itself lightweight

The async api is runtime agnostic (tokio isn't even in the tree!)

Usage examples

You can find example crates at:

Feature flags

Async:

  • sync: Enable the sync api
  • async: Enable the async api (Sync and Async aren't mutually exclusive)

Fetching:

  • native_tls: Use the system's native TLS. By default, Rustls is used to not have to depend on the system's tls
  • rustls (default): Use rustls as tls provider.
  • rate_limit: Add a rate limiter to the requests, using the governor crate. Please note that it only affect async variants of functions, as governor is made to work in async functions only. If you know a ratelimit crate that does both sync and async, feel free to submit an issue

Parsing:

  • image: Add an image parser using image

Debuging:

  • backtrace: Enable error backtraces
  • tracing: Enable tracing
  • hotpath, hotpath-alloc, hotpath-off: Enable hotpath debuging / perf analysis.
Commit count: 60

cargo fmt