Skip to content

0.1.8 - 2025-04-14

Choose a tag to compare

@github-actions github-actions released this 14 Apr 00:51

Release Notes

馃殌 Features

  • Component enum added for the IIP dataset.
  • InputOutputTable type added to keys module of bears_species to provide variants for keys in the InputOutput dataset.
  • AocSta type added for AreaOrCountry keys in the IntlServSTA dataset.
  • Added the Channel enum to represent valid keys for the Channel parameter of the IntlServSTA dataset.
  • Added the IipIndustry enum to represent valid keys for the Industry parameter of the IntlServSTA dataset.
  • Added the NaicsSector, NaicsSubsector and NaicsCategory enums to represent different levels of NAICS code categories.
  • The NaicsSector::from_key method is now NaicsSector::from_code.
  • Added the NaicsSubcategory type to represent Naics industry codes with a length of five digits.

馃悰 Bug Fixes

  • Explicit version numbers added to workspace members.
  • NaicsSubcategory variants and method values corrected in response to unit testing.
  • NaicsCategory variants and methods corrected in response to unit testing.

馃殰 Refactor

  • Library structure changed from crate to workspace.
  • Library types moved to bears_species crate.
  • Core library functionality moved to the bears_ecology crate.
  • Tests moved to the bears_health crate.
  • Stub cli moved to the eponymous bears crate.
  • Tracker type moved from queue to tracker module.
  • Iip key set moved to the key_sets module of the bears_species crate.
  • ApiMetada moved to the key_sets module of the bears_species crate.
  • InputOutput key set moved to the key_sets module of the bears_ecology crate.
  • IntlServSta, IntlServTrade and Regional key sets moved to the key_sets module of the bears_species crate.
  • Naics.rs and naics_codes.csv removed.
  • Naics codes by classification added to the cave directory of bears_health.
  • NaicsItem moved to the keys module of bears_species.
  • Data module updated to use the new name for NaicsItems.

馃摎 Documentation

  • Descriptions added for member crates.

馃И Testing

  • Unused tests for json removed.
  • Tests added for Component and AocSta types validating enum variants against the BEA response.
  • Verification testings for Naics types added validating variant names, description and codes against the .csv files in the cave.

鈿欙笍 Miscellaneous Tasks

  • Version incremented to 0.1.7.
  • Patch update to the clap dependency.
  • Unused json and validate modules removed.
  • Patch update to the tokio dependency.
  • Increment version to 0.1.8.
  • Rust fmt changes.
  • Naics types added to mod and lib files.
  • Clippy corrected manual implementation of ok corrected to use the ok method.

Download bears 0.1.8

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/bears

You 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>