Skip to content
Discussion options

You must be logged in to vote

You need both, actually. 1.2.0 and 1.3.0 aren't the conflict: cargo vendor puts them in rust-stemmers-1.2.0 and rust-stemmers-1.3.0 without trouble. The problem is that 1.2.0 is in Cargo.lock twice, from the same commit but with two different source strings:

  • tantivy-binding depends on it directly with rev = "3b25452..." → git+...rust-stemmers.git?rev=3b25452...#3b25452...
  • the tantivy-5 (0.21.1-fix4) fork depends on it as a plain git dependency → git+...rust-stemmers.git#3b25452...

Cargo treats those as two different packages, and cargo vendor refuses to put two packages with the same name and version into one directory. Tantivy 0.23 uses 1.3.0 (rev = ac4aee9...), which is unrelated.

I r…

Replies: 1 comment 1 reply

Comment options

You must be logged in to vote
1 reply
@lucasmlp
Comment options

Answer selected by lucasmlp
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
2 participants