34 lines
691 B
Markdown
34 lines
691 B
Markdown
|
```
|
||
|
__ __ __
|
||
|
____ ____ _____/ /_/ /_ _____/ /_____ ______
|
||
|
/ __ \/ __ \/ ___/ __/ __ \/ ___/ __/ __ `/ ___/
|
||
|
/ / / / /_/ / / / /_/ / / (__ ) /_/ /_/ / /
|
||
|
/_/ /_/\____/_/ \__/_/ /_/____/\__/\__,_/_/
|
||
|
```
|
||
|
|
||
|
- [Documentation](https://docs.rs/northstar)
|
||
|
- [GitHub](https://github.com/panicbit/northstar)
|
||
|
|
||
|
# Usage
|
||
|
|
||
|
Add the latest version of northstar to your `Cargo.toml`.
|
||
|
|
||
|
## Manually
|
||
|
|
||
|
```toml
|
||
|
northstar = "0.1.0" # check crates.io for the latest version
|
||
|
```
|
||
|
|
||
|
## 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
|
||
|
```
|