diff options
author | Erik Schilling <erik.schilling@linaro.org> | 2023-06-12 13:14:48 +0200 |
---|---|---|
committer | Bartosz Golaszewski <bartosz.golaszewski@linaro.org> | 2023-06-13 10:16:03 +0200 |
commit | 99bfbede4a2577e2e0c5d4a1831f3d21da2f63f7 (patch) | |
tree | 3302bded19060e24a1accd6006cf2cbb787b05e1 | |
parent | caabf537b54140e6c9682dd940f1fa9ccf2e2dc3 (diff) | |
download | libgpiod-99bfbede4a2577e2e0c5d4a1831f3d21da2f63f7.tar.gz |
bindings: rust: add version number to dependencies
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@mail.gmail.com/
Signed-off-by: Erik Schilling <erik.schilling@linaro.org>
Acked-by: Viresh Kumar <viresh.kumar@linaro.org>
Signed-off-by: Bartosz Golaszewski <bartosz.golaszewski@linaro.org>
-rw-r--r-- | bindings/rust/libgpiod/Cargo.toml | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/bindings/rust/libgpiod/Cargo.toml b/bindings/rust/libgpiod/Cargo.toml index 48681def..b19e888c 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] |