When publishing to crates.io, all dependencies need to have a version number. When building from crates.io the version number will be used, otherwise the `path` is effective for builds when checking out the repository. As discussed on the maillinglist [1], each crate will have their own version number (like the other language bindings) that will be bumped as needed to fulfill the Rust SemVer requirements. [1] https://lore.kernel.org/r/CACMJSes5+vT=NBqSe7xpSEPAEMmkgrZvJ8iKx7oBCKZQaGB_rg@xxxxxxxxxxxxxx/ Signed-off-by: Erik Schilling <erik.schilling@xxxxxxxxxx> --- bindings/rust/libgpiod/Cargo.toml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/bindings/rust/libgpiod/Cargo.toml b/bindings/rust/libgpiod/Cargo.toml index 48681de..b19e888 100644 --- a/bindings/rust/libgpiod/Cargo.toml +++ b/bindings/rust/libgpiod/Cargo.toml @@ -18,7 +18,7 @@ edition = "2021" errno = "0.2.8" intmap = "2.0.0" libc = "0.2.39" -libgpiod-sys = { path = "../libgpiod-sys" } +libgpiod-sys = { version = "0.1", path = "../libgpiod-sys" } thiserror = "1.0" [dev-dependencies] -- 2.40.1