eclipse-ankaios / eclipse-ankaios/ank-sdk-rust

Examples - prod mode

Open
#10 0 comments 0 reactions 0 assignees View on GitHub
enhancement good first issue
Dominant language
Rust
Stars
5
Forks
1
PR merge metrics
No merged PRs in 30d

Description

## Description

Currently, when running the examples, the entire Rust SDK is copied from the local machine into the workload, allowing the developer to properly test the changes. A new mode, for production, should allow the examples to install instead the Rust SDK from crates.io.

A similar solution is already present in the Rust SDK. An example of how to run is bellow:
```
# Install the SDK from crates.io
./run_example.sh hello_ankaios

# Copy the local Rust SDK into the workload
./run_example.sh hello_ankaios dev
```

## Goals

There should be a way to be able to choose if the example runs with the SDK from crates.io, or with the locally cloned SDK.

## Final result

### Summary

**To be filled when the final solution is sketched.**

### Tasks

- [ ] Inspect the Python SDK
- [ ] Implementation
- [ ] Test
- [ ] Review

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.