Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Move to semantic versioning #44

Open
wants to merge 1 commit into
base: main
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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 = "3.7.0"`` as a dependency. You can use
["staticlib"]``, and will need to include ``zephyr = "0.1.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 = "3.7.0"
zephyr-build = "0.1.0"

Then, you will need a ``build.rs`` file to call the support function. The following will work:

Expand Down
4 changes: 2 additions & 2 deletions docgen/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 = "3.7.0"
version = "0.1.0"
edition = "2021"
description = "A small application to generate documentation"
license = "Apache-2.0 or MIT"
Expand All @@ -13,4 +13,4 @@ license = "Apache-2.0 or MIT"
crate-type = ["staticlib"]

[dependencies]
zephyr = "3.7.0"
zephyr = "0.1.0"
4 changes: 2 additions & 2 deletions 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 = "3.7.0"
version = "0.1.0"
edition = "2021"
description = "A sample hello world application in Rust"
license = "Apache-2.0 or MIT"
Expand All @@ -13,5 +13,5 @@ license = "Apache-2.0 or MIT"
crate-type = ["staticlib"]

[dependencies]
zephyr = "3.7.0"
zephyr = "0.1.0"
log = "0.4.22"
6 changes: 3 additions & 3 deletions samples/philosophers/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 = "3.7.0"
version = "0.1.0"
edition = "2021"
description = "A sample hello world application in Rust"
license = "Apache-2.0 or MIT"
Expand All @@ -13,11 +13,11 @@ license = "Apache-2.0 or MIT"
crate-type = ["staticlib"]

[dependencies]
zephyr = "3.7.0"
zephyr = "0.1.0"

# Dependencies that are used by build.rs.
[build-dependencies]
zephyr-build = "3.7.0"
zephyr-build = "0.1.0"

[profile.release]
debug-assertions = true
Expand Down
4 changes: 2 additions & 2 deletions 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 = "3.7.0"
version = "0.1.0"
edition = "2021"
description = "Tests of time"
license = "Apache-2.0 or MIT"
Expand All @@ -13,4 +13,4 @@ license = "Apache-2.0 or MIT"
crate-type = ["staticlib"]

[dependencies]
zephyr = "3.7.0"
zephyr = "0.1.0"
4 changes: 2 additions & 2 deletions tests/timer/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 = "3.7.0"
version = "0.1.0"
edition = "2021"
description = "Tests of timeers"
license = "Apache-2.0 or MIT"
Expand All @@ -15,4 +15,4 @@ crate-type = ["staticlib"]
[dependencies]
rand = { version = "0.8", default-features = false }
rand_pcg = { version = "0.3.1", default-features = false }
zephyr = "3.7.0"
zephyr = "0.1.0"
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 = "3.7.0"
version = "0.1.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 = "3.7.0"
version = "0.1.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 = "3.7.0", path = "../zephyr-build" }
# zephyr-build = { version = "0.1.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 = "3.7.0"
version = "0.1.0"
edition = "2021"
description = """
Functionality for Rust-based applications that run on Zephyr.
"""

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

# Although paste is brought in, it is a compile-time macro, and is not linked into the application.
paste = "1.0"
Expand Down Expand Up @@ -48,4 +48,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 = "3.7.0", path = "../zephyr-build" }
zephyr-build = { version = "0.1.0", path = "../zephyr-build" }