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

Support rename-dependency cargo feature #20

Closed
jonhoo opened this issue May 22, 2018 · 2 comments
Closed

Support rename-dependency cargo feature #20

jonhoo opened this issue May 22, 2018 · 2 comments

Comments

@jonhoo
Copy link

jonhoo commented May 22, 2018

Cargo recently got support for renaming dependencies. That is, you can do:

cargo-features = ["rename-dependency"]
# ...
[dependencies]
bar = { version = "0.1", package = "foo" }

To import the crate foo under the name bar. However, this seems to confuse cargo-bloat, which reports:

error: failed to parse manifest at `/home/jon/dev/projects/distributary/benchmarks/Cargo.toml`

Caused by:
  unknown cargo feature `rename-dependency`
@RazrFalcon
Copy link
Owner

Probably I should bump cargo to 0.27.

@RazrFalcon
Copy link
Owner

Turns out that 0.27 has tons of breaking changes and it will take some time to port everything.

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

No branches or pull requests

2 participants