17 releases (8 stable)

4.1.0 Jun 28, 2023
4.0.0 Jan 20, 2023
3.1.2 Jan 6, 2023
3.0.0 Dec 23, 2022
0.2.5 Jan 31, 2022

#186 in Concurrency

Download history 31/week @ 2023-06-03 16/week @ 2023-06-10 28/week @ 2023-06-17 59/week @ 2023-06-24 58/week @ 2023-07-01 19/week @ 2023-07-08 8/week @ 2023-07-15 12/week @ 2023-07-22 3/week @ 2023-07-29 6/week @ 2023-08-05 7/week @ 2023-08-12 20/week @ 2023-08-19 19/week @ 2023-08-26 21/week @ 2023-09-02 24/week @ 2023-09-09 4/week @ 2023-09-16

69 downloads per month

Apache-2.0

63KB
1.5K SLoC

iotics-grpc-client-rs

Crates Crates.io CI dependency status license
IOTICS gRPC client in Rust.

Usage and Version Compatibility with Iotics host

iotics-grpc-client-rs iotics-host
iotics-grpc-client = "4.x.x" >= 6
iotics-grpc-client = "3.x.x" >= 5
iotics-grpc-client = "2.x.x" >= 5
iotics-grpc-client = "0.3.x" >= 4

API Docs

Running the examples

Rename .env-sample to .env and give values to the environment variables.

git clone --recurse-submodules git@github.com:Iotic-Labs/iotics-grpc-client-rs.git
cargo run --features tls --example search

Contributing

Proto files

Incrementing the API version

Run

cd api
git fetch --all --tags
git checkout tags/vX.X.X
cd ..
git add api

git commit -m "Updated api to vX.X.X"
git push

Updating the API version

git submodule update --remote

Building

You will need to ensure you have the appropriate packages installed on your system to compile protobuf. On Ubuntu systems, for example:

sudo apt install protobuf-compiler libprotobuf-dev

PRs

Commands to run before creating a PR

cargo make format
cargo make clippy

Should contain a summary of the changes in CHANGELOG.md under the Unreleased section.

Releasing

    git push
    git tag -a vX.X.X -m "vX.X.X"
    git push origin vX.X.X

OSS Review

  cargo install cargo-license
  cargo license -t --avoid-build-deps --avoid-dev-deps --direct-deps-only

Dependencies

~7–21MB
~264K SLoC