#type #api #finance #api-bindings #borsa

borsa-types

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

1 unstable release

Uses new Rust 2024

0.2.0 Oct 23, 2025

#2466 in Data structures


Used in 5 crates (2 directly)

MIT license

52KB
1K SLoC

Borsa-specific data transfer objects and configuration primitives built on top of paft.


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

Dependencies

~14MB
~188K SLoC