diff --git a/README.rst b/README.rst index 2900a59b..21fa7e69 100644 --- a/README.rst +++ b/README.rst @@ -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. @@ -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: diff --git a/docgen/Cargo.toml b/docgen/Cargo.toml index 5588550d..3e384c26 100644 --- a/docgen/Cargo.toml +++ b/docgen/Cargo.toml @@ -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" @@ -13,4 +13,4 @@ license = "Apache-2.0 or MIT" crate-type = ["staticlib"] [dependencies] -zephyr = "3.7.0" +zephyr = "0.1.0" diff --git a/samples/hello_world/Cargo.toml b/samples/hello_world/Cargo.toml index 09c1eada..d75b920e 100644 --- a/samples/hello_world/Cargo.toml +++ b/samples/hello_world/Cargo.toml @@ -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" @@ -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" diff --git a/samples/philosophers/Cargo.toml b/samples/philosophers/Cargo.toml index bb0cdf30..af2dcd45 100644 --- a/samples/philosophers/Cargo.toml +++ b/samples/philosophers/Cargo.toml @@ -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" @@ -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 diff --git a/tests/time/Cargo.toml b/tests/time/Cargo.toml index ffcba92b..360788e3 100644 --- a/tests/time/Cargo.toml +++ b/tests/time/Cargo.toml @@ -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" @@ -13,4 +13,4 @@ license = "Apache-2.0 or MIT" crate-type = ["staticlib"] [dependencies] -zephyr = "3.7.0" +zephyr = "0.1.0" diff --git a/tests/timer/Cargo.toml b/tests/timer/Cargo.toml index 52edcd20..3bfe0fc0 100644 --- a/tests/timer/Cargo.toml +++ b/tests/timer/Cargo.toml @@ -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" @@ -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" diff --git a/zephyr-build/Cargo.toml b/zephyr-build/Cargo.toml index a31eaa8e..c73a95e6 100644 --- a/zephyr-build/Cargo.toml +++ b/zephyr-build/Cargo.toml @@ -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. diff --git a/zephyr-sys/Cargo.toml b/zephyr-sys/Cargo.toml index 385dcd5f..62e2256d 100644 --- a/zephyr-sys/Cargo.toml +++ b/zephyr-sys/Cargo.toml @@ -3,7 +3,7 @@ [package] name = "zephyr-sys" -version = "3.7.0" +version = "0.1.0" edition = "2021" description = """ Zephyr low-level API bindings. @@ -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" } diff --git a/zephyr/Cargo.toml b/zephyr/Cargo.toml index ad9da71b..15d183c4 100644 --- a/zephyr/Cargo.toml +++ b/zephyr/Cargo.toml @@ -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" @@ -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" }