Skip to content

Commit

Permalink
update templates
Browse files Browse the repository at this point in the history
  • Loading branch information
npmenard committed Jun 14, 2024
1 parent ad31cf1 commit 61d3135
Show file tree
Hide file tree
Showing 5 changed files with 15 additions and 31 deletions.
9 changes: 6 additions & 3 deletions examples/micro-rdk-esp32-sensor-examples/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,13 +1,16 @@
[package]
name = "micro-rdk-esp32-sensor-examples"
version = "0.1.0"
resolver = "2"
version = "0.2.0"
edition = "2021"
authors = ["Andrew Morrow <andrew.morrow@viam.com>"]
authors = ["Viam, inc. <contact@viam.com>"]
resolver = "2"
rust-version = "1.75"
license = "AGPL-3.0"

[dependencies]
log = "0.4"
micro-rdk = {version = "0.2.0", git = "https://github.com/viamrobotics/micro-rdk.git", features = ["esp32"], rev = "56615f4"}
micro-rdk = {version = "0.2.0", git = "https://github.com/viamrobotics/micro-rdk.git", features = ["esp32"], rev = "ad31cf1"}

[package.metadata.com.viam]
module = true
8 changes: 5 additions & 3 deletions examples/micro-rdk-modular-driver-examples/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,13 +1,15 @@
[package]
name = "micro-rdk-modular-driver-examples"
version = "0.1.0"
version = "0.2.0"
edition = "2021"
authors = ["Matthew J Perez <matt@mperez.io>"]
authors = ["Viam, inc. <contact@viam.com>"]
resolver = "2"
rust-version = "1.75"
license = "AGPL-3.0"

[dependencies]
log = "0.4"
micro-rdk = {git = "https://github.com/viamrobotics/micro-rdk.git", version = "0.2.0", rev = "4f0814a"}
micro-rdk = {git = "https://github.com/viamrobotics/micro-rdk.git", version = "0.2.0", rev = "ad31cf1"}

[package.metadata.com.viam]
module = true
2 changes: 1 addition & 1 deletion templates/module/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ resolver = "2"
rust-version = "1.75"

[dependencies]
micro-rdk = {git = "https://github.com/viamrobotics/micro-rdk.git", features = ["{{mcu}}"], version = "0.2.0", rev = "4f0814a"}
micro-rdk = {git = "https://github.com/viamrobotics/micro-rdk.git", features = ["{{mcu}}"], version = "0.2.0", rev = "ad31cf1"}

[package.metadata.com.viam]
module = true
25 changes: 2 additions & 23 deletions templates/project/Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion templates/project/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ embedded-hal = { version = "0.2.7", features = ["unproven"]}
log = "0.4"
async-channel = "2"
futures-lite = "1"
micro-rdk = {version = "0.2.0", git = "https://github.com/viamrobotics/micro-rdk.git", features = ["esp32", "binstart","provisioning"], rev = "4f0814a" }
micro-rdk = {version = "0.2.0", git = "https://github.com/viamrobotics/micro-rdk.git", features = ["esp32", "binstart","provisioning"], rev = "ad31cf1" }

[build-dependencies]
cargo_metadata = "0.18"
Expand Down

0 comments on commit 61d3135

Please sign in to comment.