ferristseng / rust-ipfs-api

IPFS HTTP client in Rust
Apache License 2.0
246 stars 68 forks source link

Upgrade workspace to Cargo resolver 2 #139

Closed iamjpotts closed 10 months ago

iamjpotts commented 11 months ago

The crates imply resolver v2 based on their use of edition 2021, but the workspace defaults to v1. Make them match on v2.

Background:

https://doc.rust-lang.org/edition-guide/rust-2021/default-cargo-resolver.html

https://nickb.dev/blog/cargo-workspace-and-the-feature-unification-pitfall/

Also resolves this warning:

warning: some crates are on edition 2021 which defaults to `resolver = "2"`, but virtual workspaces default to `resolver = "1"`
ferristseng commented 10 months ago

Thanks!