Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update Cargo.toml to fix "stats" feature issue #11

Merged
merged 1 commit into from
Nov 28, 2023

Conversation

dizda
Copy link
Contributor

@dizda dizda commented Nov 28, 2023

Hi,

I've this error since tokio v1.33.0:

    Updating crates.io index
error: failed to select a version for `tokio`.
    ... required by package `tokio-metrics v0.2.2`
    ... which satisfies dependency `tokio-metrics = "^0.2.2"` of package `tokio-metrics-collector v0.2.0`
    ... which satisfies dependency `tokio-metrics-collector = "^0.2.0"` of package `pr0m3th3us v0.1.0 (/Users/j/www/lopez/pr0m3th3us)`
    ... which satisfies path dependency `pr0m3th3us` (locked to 0.1.0) of package `node v0.5.1 (/Users/j/www/lopez/node)`
versions that meet the requirements `^1.26.0` are: 1.32.0, 1.34.0, 1.33.0, 1.31.0, 1.30.0, 1.29.1, 1.29.0, 1.28.2, 1.28.1, 1.28.0, 1.27.0, 1.26.0

the package `tokio-metrics` depends on `tokio`, with features: `stats` but `tokio` does not have these features.


all possible versions conflict with previously selected packages.

  previously selected package `tokio v1.34.0`
    ... which satisfies dependency `tokio = "^1.34.0"` of package `node v0.5.1 (/Users/j/www/lopez/node)`

failed to select a version for `tokio` which could resolve this conflict

cf. tokio-rs/tokio-metrics#55

This PR should fix the issue.

Copy link

codecov bot commented Nov 28, 2023

Codecov Report

All modified and coverable lines are covered by tests ✅

Comparison is base (9eb5863) 93.02% compared to head (de2f50e) 92.99%.

Additional details and impacted files
@@            Coverage Diff             @@
##           master      #11      +/-   ##
==========================================
- Coverage   93.02%   92.99%   -0.04%     
==========================================
  Files           3        3              
  Lines         588      585       -3     
==========================================
- Hits          547      544       -3     
  Misses         41       41              

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

@Hanaasagi Hanaasagi merged commit 9c29953 into Hanaasagi:master Nov 28, 2023
2 of 3 checks passed
@Hanaasagi
Copy link
Owner

Thank you!

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.

None yet

2 participants