Skip to content

Commit

Permalink
bump version
Browse files Browse the repository at this point in the history
  • Loading branch information
npmenard committed Aug 15, 2024
1 parent 63519b7 commit a400ef2
Show file tree
Hide file tree
Showing 7 changed files with 20 additions and 12 deletions.
12 changes: 6 additions & 6 deletions 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 Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ description = "Viam RDK for microcontroller"
edition = "2021"
license = "AGPL-3.0"
repository = "https://github.com/viamrobotics/micro-rdk"
version = "0.2.4"
version = "0.2.5"
rust-version = "1.75"

[profile.release]
Expand Down
2 changes: 1 addition & 1 deletion micro-rdk-ffi/micrordklib-idf-component/CMakeLists.txt
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
idf_component_register(INCLUDE_DIRS "${CMAKE_CURRENT_SOURCE_DIR}")
idf_build_set_property(INCLUDE_DIRECTORIES "${CMAKE_CURRENT_BINARY_DIR}/assets" APPEND)

set(LIBMICRORDK_VERSION v0.2.4)
set(LIBMICRORDK_VERSION v0.2.5)
set(LIBMICRORDK_URL https://github.com/viamrobotics/micro-rdk/releases/download/${LIBMICRORDK_VERSION}/micro-rdk-lib.zip)
set(LIBMICRORDK_PATH ${CMAKE_BINARY_DIR}/import/micro-rdk-lib.zip)

Expand Down
2 changes: 1 addition & 1 deletion micro-rdk-ffi/micrordklib-idf-component/idf_component.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
version: "0.2.4"
version: "0.2.5"
description: "Micro-RDK lib"
dependencies:
## Required IDF version
Expand Down
10 changes: 9 additions & 1 deletion micro-rdk-ffi/src/ffi/sensor.rs
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ use micro_rdk::{
sensor::{GenericReadingsResult, Readings, Sensor, SensorError},
status::Status,
},
google::protobuf::{value, Value},
google::protobuf::{value, ListValue, Value},
DoCommand,
};
use std::{
Expand Down Expand Up @@ -235,6 +235,14 @@ fn into_value(kind: Kind) -> value::Kind {
Kind::NullValue(n) => value::Kind::NullValue(n),
Kind::NumberValue(f) => value::Kind::NumberValue(f),
Kind::StringValue(s) => value::Kind::StringValue(s),
Kind::VecValue(v) => value::Kind::ListValue(ListValue {
values: v
.into_iter()
.map(|v| Value {
kind: Some(into_value(v)),
})
.collect(),
}),
_ => value::Kind::NullValue(0),
}
}
Expand Down
2 changes: 1 addition & 1 deletion templates/module/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "{{project-name}}"
version = "0.2.4"
version = "0.2.5"
edition = "2021"
authors = ["{{authors}}"]
resolver = "2"
Expand Down
2 changes: 1 addition & 1 deletion templates/project/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "{{project-name}}"
version = "0.2.4"
version = "0.2.5"
edition = "2021"
authors = ["{{authors}}"]
resolver = "2"
Expand Down

0 comments on commit a400ef2

Please sign in to comment.