borsa-types 0.2.0

Shared Borsa-specific data transfer objects built on top of paft.
Documentation

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