Browse Source

0.1.13

master 0.1.13
bean 1 year ago
parent
commit
2d6d17efc7
  1. 2
      Cargo.toml
  2. 4
      RELEASE_NOTE.md
  3. 2
      src/aws/kinesis.rs

2
Cargo.toml

@ -1,6 +1,6 @@
[package]
name = "device-common"
version = "0.1.12"
version = "0.1.13"
edition = "2021"
authors = ["Ryan Bae <jh.bae@anypointmedia.com>"]

4
RELEASE_NOTE.md

@ -1,3 +1,7 @@
0.1.13
======
- bugfix kinesis.rs
0.1.12
======
- kinesis 에 byte array 로 put 하는 함수 추가

2
src/aws/kinesis.rs

@ -34,7 +34,7 @@ async fn get_client() -> Arc<Client> {
pub async fn kinesis_put_record(msg: &String) -> Result<(), DeviceError> {
let blob = msg.as_bytes();
kinesis_put_bytes(blob)
kinesis_put_bytes(blob).await
}
pub async fn kinesis_put_bytes(bytes: &[u8]) -> Result<(), DeviceError> {

Loading…
Cancel
Save