Repository navigation
0.1.5 - 2025-03-23
Release Notes
馃殌 Features
Indicatorenum added with variants corresponding to valid values for the Indicator parameter.AreaOrCountryenum added with variants for valid values of the "AreaOrCountry" parameter in BEA requests.ItaFrequencyandItaFrequenciestypes added to represent valid values for the "Frequency" parameter of the ITA dataset in BEA requests.SelectionSetenum added as an alternative abstraction to theSelectionKindenum.Frequency::allmethod added to generate valid request parameters for all frequencies. Only implemented for a subset of datasets.ItaDatumandItaDatatypes added to accomodate data responses for the ITA dataset. Iterator implemented for theItatype.Ita::queueandIta::itermethods added.ITAvariant added to the TryFrom impl forResults.- Convenience method
ParameterValueTable::parameter_fieldsadded to provide access to the value contained within the variant. - Added the
Queue::load_parmethod to enable parallel loading through therayonlibrary. - The
Dataset::initial_load_parmethod implements parallel queue loading for benchmarking purposes.
馃殰 Refactor
- Internal macro impl_json_to_bea_error! added to facilitate conversion of JSON parsing errors to the umbrella internal error type.
- Convenience function
result_to_dataadded to convert aserde_json::Valuerepresenting a BEA result, to aserde_json::Valuerepresenting theDataportion of theResult. Steps a couple levels down the JSON value tree, preventing rightward drift in the caller. lib.rsupdated with added types.- Added
check_indicatorstomod.rsto provide access to unit tests. - ITA variant added to the
download_summaryfunction.
馃摎 Documentation
- Comments added to the
check_datasetstest. - README.md updated with ITA stats.
馃И Testing
- The
check_indicatorstest ensures all values in the BEA response parse to valid Indicator variants. - Added
check_indicatorsto unit tests. - Data download tests temporarily refocued on ITA for active development.
鈿欙笍 Miscellaneous Tasks
- Incremental version to 0.1.4 in Cargo.toml.
- Patch updates to
jiffandreqwestdependencies. - Noise trimmed from tracing logs.
mod.rsupdated to include added types.- ITA variant for
Datasetadded to path generation handling inApp::destinationmethod. - Loading benchmark added to test parallel loading with
rayon. - Update to convenience commands in the
justfile.
Download bears 0.1.5
| File | Platform | Checksum |
|---|---|---|
| bears-aarch64-apple-darwin.tar.xz | Apple Silicon macOS | checksum |
| bears-x86_64-apple-darwin.tar.xz | Intel macOS | checksum |
| bears-x86_64-pc-windows-msvc.zip | x64 Windows | checksum |
| bears-x86_64-unknown-linux-gnu.tar.xz | x64 Linux | checksum |
Verifying GitHub Artifact Attestations
The artifacts in this release have attestations generated with GitHub Artifact Attestations. These can be verified by using the GitHub CLI:
gh attestation verify <file-path of downloaded artifact> --repo crumplecup/bearsYou can also download the attestation from GitHub and verify against that directly:
gh attestation verify <file-path of downloaded artifact> --bundle <file-path of downloaded attestation>