Crates.io | envutil |
lib.rs | envutil |
version | 0.0.4 |
source | src |
created_at | 2023-07-16 19:10:41.31748 |
updated_at | 2023-07-19 02:51:25.959152 |
description | A rust library to encapsulate boilerplate code for handling environment variables |
homepage | |
repository | https://github.com/bpmason1/envutil-rs |
max_upload_size | |
id | 917912 |
size | 10,291 |
A rust library to encapsulate boilerplate code for handling environment variables at startup
use envutil;
fn add_1() {
let num: i64 = envutil::get_int("key"); // assume an environment "key" exists
num + 1
}