Skip to content

[exocrate] Re-export toml_const for parse_remote_archive - #3546

Open
Sagartaunk wants to merge 1 commit into
google:mainfrom
Sagartaunk:main
Open

[exocrate] Re-export toml_const for parse_remote_archive#3546
Sagartaunk wants to merge 1 commit into
google:mainfrom
Sagartaunk:main

Conversation

@Sagartaunk

Copy link
Copy Markdown
Contributor

Update parse_remote_archive to call toml_const via $crate::toml_const instead of ::toml_const. As, toml_const version 1.3.1 removes the need for downstream crates to depend on it solely to use the macro.

Take advantage of this by dropping toml_const as a dependency from anneal.

Fixes: #3409

@chatgpt-codex-connector

Copy link
Copy Markdown

Codex usage limits have been reached for code reviews. Please check with the admins of this repo to increase the limits by adding credits.
Repo admins can enable using credits for code reviews in their settings.

Update `parse_remote_archive` to call `toml_const` via `$crate::toml_const`
instead of `::toml_const`. As, `toml_const` version `1.3.1` removes
the need for downstream crates to depend on it solely to use the macro.

Take advantage of this by dropping `toml_const` as a dependency from
`anneal`.

Fixes: google#3409
@codecov-commenter

Copy link
Copy Markdown

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 91.85%. Comparing base (6dc429c) to head (244d548).

Additional details and impacted files
@@           Coverage Diff           @@
##             main    #3546   +/-   ##
=======================================
  Coverage   91.85%   91.85%           
=======================================
  Files          20       20           
  Lines        6093     6093           
=======================================
  Hits         5597     5597           
  Misses        496      496           

☔ View full report in Codecov by Harness.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

exocrate::parse_remote_archive: Lift requirement that calling crate depend on toml_const directly

2 participants