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

Completions don't work for library crate with different lib name #449

Open
jwilm opened this issue Dec 17, 2015 · 1 comment
Open

Completions don't work for library crate with different lib name #449

jwilm opened this issue Dec 17, 2015 · 1 comment

Comments

@jwilm
Copy link
Collaborator

jwilm commented Dec 17, 2015

I encountered this when integrating multirust-rs. The crate's name is multirust-rs, and the Cargo.toml for the crate has

[lib]
name = "multirust"

In the consumer's code, we use an extern crate multirust; due to the name config. No completions are provided for the multirust:: namespace.

@jwilm
Copy link
Collaborator Author

jwilm commented Dec 27, 2015

Another example here is the rust-crypto crate which has lib.name = "crypto"

phildawes added a commit that referenced this issue Jan 21, 2016
Read packages source when library name is different from package name
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

1 participant