potenv 0.2.0

Rust implementation of the POSIX-compliant dotenv file format specification.
Documentation
1
2
3
4
5
6
7
8
9
10
11
#[derive(Debug, Default, Clone, Copy, PartialEq, Eq, PartialOrd, Ord)]
pub struct Position {
    pub line: usize,
    pub column: usize,
}

impl Position {
    pub fn new(line: usize, column: usize) -> Self {
        Self { line, column }
    }
}