#secret #running #embed

secret_rs

a library to embed a secret value into a running binary

1 unstable release

0.3.1 Oct 11, 2024

#16 in #embed

Download history 66/week @ 2024-10-06 1452/week @ 2024-10-13 3459/week @ 2024-10-20

4,977 downloads per month

Custom license

33KB
625 lines

secret_rs

This workspace contains a library to manage k8s secrets in a running microservice.

local development

To run tasks in this repository install rust:

# unix
curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | sh

or on windows the instructions on the official page.

Install also some cargo plugins

cargo install --force cargo-release

which will help tasks such as running e2e tests and tag a new version of subpackages.

build

To build the whole package with default features (i.e., support for mongodb as database) run:

cargo build --all-targets

unit tests

cargo test

Dependencies

~2.4–3.5MB
~67K SLoC