Skip to content

Commit

Permalink
Upgrade crate versions to match Zephyr
Browse files Browse the repository at this point in the history
Upgrade the versions of all crates in this module to match the current
Zephyr version of 3.7.0.  It isn't completely clear if this is the right
thing to do, as Zephyr doesn't maintain semantic versioning.  But having
the numbers match will help make it clear which version of Zephyr goes
with which version of this crate.

Signed-off-by: David Brown <[email protected]>
  • Loading branch information
d3zd3z committed Oct 8, 2024
1 parent 7f368b6 commit 7f1788c
Show file tree
Hide file tree
Showing 6 changed files with 10 additions and 10 deletions.
4 changes: 2 additions & 2 deletions README.rst
Original file line number Diff line number Diff line change
Expand Up @@ -70,7 +70,7 @@ your application directory, with options set so that it can find the Zephyr supp
that the output will be contained within the Zephyr build directory.

The :file:`Cargo.toml` will need to have a ``[lib]`` section that sets ``crate-type =
["staticlib"]``, and will need to include ``zephyr = "0.1.0"`` as a dependency. You can use
["staticlib"]``, and will need to include ``zephyr = "3.7.0"`` as a dependency. You can use
crates.io and the Crate ecosystem to include any other dependencies you need. Just make sure that
you use crates that support building with no-std.

Expand Down Expand Up @@ -115,7 +115,7 @@ To your ``Cargo.toml`` file, add the following:
.. code-block:: toml
[build-dependencies]
zephyr-build = "0.1.0"
zephyr-build = "3.7.0"
Then, you will need a ``build.rs`` file to call the support function. The following will work:

Expand Down
2 changes: 1 addition & 1 deletion samples/hello_world/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
[package]
# This must be rustapp for now.
name = "rustapp"
version = "0.1.0"
version = "3.7.0"
edition = "2021"
description = "A sample hello world application in Rust"
license = "Apache-2.0 or MIT"
Expand Down
2 changes: 1 addition & 1 deletion tests/time/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
[package]
# This must be rustapp for now.
name = "rustapp"
version = "0.1.0"
version = "3.7.0"
edition = "2021"
description = "Tests of time"
license = "Apache-2.0 or MIT"
Expand Down
2 changes: 1 addition & 1 deletion zephyr-build/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@

[package]
name = "zephyr-build"
version = "0.1.0"
version = "3.7.0"
edition = "2021"
description = """
Build-time support for Rust-based applications that run on Zephyr.
Expand Down
4 changes: 2 additions & 2 deletions zephyr-sys/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@

[package]
name = "zephyr-sys"
version = "0.1.0"
version = "3.7.0"
edition = "2021"
description = """
Zephyr low-level API bindings.
Expand All @@ -15,4 +15,4 @@ Zephyr low-level API bindings.
[build-dependencies]
anyhow = "1.0"
bindgen = { version = "0.69.4", features = ["experimental"] }
# zephyr-build = { version = "0.1.0", path = "../zephyr-build" }
# zephyr-build = { version = "3.7.0", path = "../zephyr-build" }
6 changes: 3 additions & 3 deletions zephyr/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -3,14 +3,14 @@

[package]
name = "zephyr"
version = "0.1.0"
version = "3.7.0"
edition = "2021"
description = """
Functionality for Rust-based applications that run on Zephyr.
"""

[dependencies]
zephyr-sys = { version = "0.1.0", path = "../zephyr-sys" }
zephyr-sys = { version = "3.7.0", path = "../zephyr-sys" }

[dependencies.fugit]
version = "0.3.7"
Expand Down Expand Up @@ -39,4 +39,4 @@ features = ["alloc"]
# Whether these need to be vendored is an open question. They are not
# used by the core Zephyr tree, but are needed by zephyr applications.
[build-dependencies]
zephyr-build = { version = "0.1.0", path = "../zephyr-build" }
zephyr-build = { version = "3.7.0", path = "../zephyr-build" }

0 comments on commit 7f1788c

Please sign in to comment.