borsa-types

Crates.ioborsa-types
lib.rsborsa-types
version0.2.0
created_at2025-10-23 14:29:32.086446+00
updated_at2025-10-23 14:29:32.086446+00
descriptionShared Borsa-specific data transfer objects built on top of paft.
homepagehttps://github.com/borsaorg/borsa
repositoryhttps://github.com/borsaorg/borsa
max_upload_size
id1897177
size83,898
G. Ramistella (gramistella)

documentation

https://docs.rs/borsa-types

README

borsa-types

Shared data transfer objects and configuration types for the Borsa ecosystem, built on top of the paft primitives.

This crate centralizes:

  • Error type: borsa_types::BorsaError
  • Report envelopes: InfoReport, SearchReport, DownloadReport
  • Attribution helpers: Attribution, Span
  • Orchestrator configuration: BorsaConfig, FetchStrategy, MergeStrategy, Resampling, BackoffConfig

Most users only depend on borsa or borsa-core, which re-export these types for convenience. Depend on borsa-types directly if you:

  • Serialize/deserialize reports or errors directly
  • Share types across binaries/services without pulling router or connector traits
  • Need to construct configuration types without borsa

Install

[dependencies]
borsa-types = "0.2.0"

Documentation

Commit count: 0

cargo fmt