Skip to content
This repository has been archived by the owner on Aug 2, 2020. It is now read-only.

get rid of the dummy crates #1

Open
oli-obk opened this issue Apr 24, 2018 · 1 comment
Open

get rid of the dummy crates #1

oli-obk opened this issue Apr 24, 2018 · 1 comment

Comments

@oli-obk
Copy link

oli-obk commented Apr 24, 2018

rust-lang/cargo#4953 suggests that it should be possible to support importing different versions of the same crate.

@shepmaster
Copy link

I would recommend against this. Renaming dependencies in the manifest is the "correct" way to import multiple versions of a crate, but it does not work on versions of Rust before 1.31.0 (2018-12-06).

Using a renamed dependency in your library's Cargo.toml will force any user to upgrade to 1.31+ (or they choose to not use that crate, instead).

To me, the point of this legacy crate is to allow older versions of Rust to use multiple versions of serde. This crate could encourage people that already rely on newer Rust versions to use renaming instead of this crate, however.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Development

No branches or pull requests

2 participants