The /etc/resolv.conf file parser in rust
The line numbers stored in the ParseError struct are 0-indexed, which is reasonable as an internal representation but very confusing in displayed error messages. Co-authored-by: Olivia Lee <olivia@computer.surgery> Signed-off-by: June Clementine Strawberry <june@3.dog> |
||
---|---|---|
.github/workflows | ||
examples | ||
src | ||
tests | ||
.gitignore | ||
.rustfmt.toml | ||
Cargo.toml | ||
deny.toml | ||
LICENSE-APACHE | ||
LICENSE-MIT | ||
README.md |
Resolv-conf
Status: Beta
A /etc/resolv.conf
parser crate for rust.
Why?
- There is no bare file parser in the crates.io at the moment
- I needed one to make dns resolver for rotor
License
Licensed under either of
- Apache License, Version 2.0, (./LICENSE-APACHE or http://www.apache.org/licenses/LICENSE-2.0)
- MIT license (./LICENSE-MIT or http://opensource.org/licenses/MIT)
at your option.
Contribution
Unless you explicitly state otherwise, any contribution intentionally submitted for inclusion in the work by you, as defined in the Apache-2.0 license, shall be dual licensed as above, without any additional terms or conditions.