-
Notifications
You must be signed in to change notification settings - Fork 63
Open
Description
Please add this to lib.rs
pub extern crate rusqlite;otherwise, this error will happen even with rusqlite = "0.24.2" (same version that sqlite-zstd uses) in Cargo.toml
error: failed to select a version for `libsqlite3-sys-le`.
... required by package `rusqlite-le v0.24.2`
... which satisfies dependency `rusqlite = "^0.24.2"` of package `sqlite-zstd v0.3.2 (/home/inferno/.dev/OtherAlien/sqlite-zstd)`
... which satisfies path dependency `sqlite-zstd` (locked to 0.3.2) of package `dictd v0.1.0 (/home/inferno/.dev/dictd)`
versions that meet the requirements `^0.21.0` are: 0.21.0
the package `libsqlite3-sys-le` links to the native library `sqlite3`, but it conflicts with a previous package which links to `sqlite3` as well:
package `libsqlite3-sys v0.20.1`
... which satisfies dependency `libsqlite3-sys = "^0.20.1"` of package `rusqlite v0.24.2`
... which satisfies dependency `rusqlite = "^0.24.2"` of package `dictd v0.1.0 (/home/inferno/.dev/dictd)`
Only one package in the dependency graph may specify the same links value. This helps ensure that only one copy of a native library is linked in the final binary. Try to adjust your dependencies so that only one package uses the links ='libsqlite3-sys-le' value. For more information, see https://doc.rust-lang.org/cargo/reference/resolver.html#links.
Chaoses-Ib, Benjamin-Lee and 1298345095AndrewKvalheim and egemengol
Metadata
Metadata
Assignees
Labels
No labels