2020-10-31 20:05:10 +00:00
|
|
|
```
|
|
|
|
__ __ __
|
|
|
|
____ ____ _____/ /_/ /_ _____/ /_____ ______
|
|
|
|
/ __ \/ __ \/ ___/ __/ __ \/ ___/ __/ __ `/ ___/
|
|
|
|
/ / / / /_/ / / / /_/ / / (__ ) /_/ /_/ / /
|
|
|
|
/_/ /_/\____/_/ \__/_/ /_/____/\__/\__,_/_/
|
|
|
|
```
|
|
|
|
|
|
|
|
=> https://docs.rs/northstar Documentation
|
|
|
|
=> https://github.com/panicbit/northstar GitHub
|
|
|
|
|
|
|
|
# Usage
|
|
|
|
|
|
|
|
Add the latest version of northstar to your `Cargo.toml`.
|
|
|
|
|
|
|
|
## Manually
|
|
|
|
|
|
|
|
```toml
|
2020-11-14 03:50:36 +00:00
|
|
|
northstar = "0.3.0" # check crates.io for the latest version
|
2020-10-31 20:05:10 +00:00
|
|
|
```
|
|
|
|
|
|
|
|
## Automatically
|
|
|
|
|
|
|
|
```sh
|
|
|
|
cargo add northstar
|
|
|
|
```
|
|
|
|
|
|
|
|
# Generating a key & certificate
|
|
|
|
|
|
|
|
```sh
|
|
|
|
mkdir cert && cd cert
|
|
|
|
openssl req -x509 -nodes -newkey rsa:4096 -keyout key.pem -out cert.pem -days 365
|
|
|
|
```
|