enve
[]
= "0.3"
enve
helps you work with environment variables and convert it to any type
using only type annotations.
All standard environment variable types are included, but enve
under the hood
uses estring, so you can easily create
your own type.
Documentation
Look at the examples to see the power!
Usage
Basic
You can use predefined structs like SepVec
if you enable structs
feature.
Note: You can use custom types as annotations! Just implement ParseFragment
.
use SepVec;
type PlusVec<T> = ;
type MulVec<T> = ;
You can also use predefined aggregators if you enable aggs
feature.
use ;
type PlusVec<T> = ;
type MulVec<T> = ;
Contact Us
Join us in:
License
MIT. See LICENSE to see the full text.
Contributors
pleshevskiy (Dmitriy Pleshevskiy) – creator, maintainer.