bindings: rust: add version number to dependencies
authorErik Schilling <erik.schilling@linaro.org>
Mon, 12 Jun 2023 11:14:48 +0000 (13:14 +0200)
committerBartosz Golaszewski <bartosz.golaszewski@linaro.org>
Tue, 13 Jun 2023 08:16:03 +0000 (10:16 +0200)
commit99bfbede4a2577e2e0c5d4a1831f3d21da2f63f7
tree3302bded19060e24a1accd6006cf2cbb787b05e1
parentcaabf537b54140e6c9682dd940f1fa9ccf2e2dc3
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>
bindings/rust/libgpiod/Cargo.toml