Skip to content

Commit 7f1788c

Browse files
committed
Upgrade crate versions to match Zephyr
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]>
1 parent 7f368b6 commit 7f1788c

File tree

6 files changed

+10
-10
lines changed

6 files changed

+10
-10
lines changed

README.rst

+2-2
Original file line numberDiff line numberDiff line change
@@ -70,7 +70,7 @@ your application directory, with options set so that it can find the Zephyr supp
7070
that the output will be contained within the Zephyr build directory.
7171

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

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

samples/hello_world/Cargo.toml

+1-1
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
[package]
55
# This must be rustapp for now.
66
name = "rustapp"
7-
version = "0.1.0"
7+
version = "3.7.0"
88
edition = "2021"
99
description = "A sample hello world application in Rust"
1010
license = "Apache-2.0 or MIT"

tests/time/Cargo.toml

+1-1
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
[package]
55
# This must be rustapp for now.
66
name = "rustapp"
7-
version = "0.1.0"
7+
version = "3.7.0"
88
edition = "2021"
99
description = "Tests of time"
1010
license = "Apache-2.0 or MIT"

zephyr-build/Cargo.toml

+1-1
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33

44
[package]
55
name = "zephyr-build"
6-
version = "0.1.0"
6+
version = "3.7.0"
77
edition = "2021"
88
description = """
99
Build-time support for Rust-based applications that run on Zephyr.

zephyr-sys/Cargo.toml

+2-2
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33

44
[package]
55
name = "zephyr-sys"
6-
version = "0.1.0"
6+
version = "3.7.0"
77
edition = "2021"
88
description = """
99
Zephyr low-level API bindings.
@@ -15,4 +15,4 @@ Zephyr low-level API bindings.
1515
[build-dependencies]
1616
anyhow = "1.0"
1717
bindgen = { version = "0.69.4", features = ["experimental"] }
18-
# zephyr-build = { version = "0.1.0", path = "../zephyr-build" }
18+
# zephyr-build = { version = "3.7.0", path = "../zephyr-build" }

zephyr/Cargo.toml

+3-3
Original file line numberDiff line numberDiff line change
@@ -3,14 +3,14 @@
33

44
[package]
55
name = "zephyr"
6-
version = "0.1.0"
6+
version = "3.7.0"
77
edition = "2021"
88
description = """
99
Functionality for Rust-based applications that run on Zephyr.
1010
"""
1111

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

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

0 commit comments

Comments
 (0)