# anstyle-ls
> Parse LS_COLORS Style Descriptions
[][Documentation]

[](https://crates.io/crates/anstyle-ls)
## References
Information about the `LS_COLORS` environment variable is sparse. Here is a short list of useful references:
- [`LS_COLORS` implementation in the GNU coreutils version of `ls`](https://github.com/coreutils/coreutils/blob/17983b2cb3bccbb4fa69691178caddd99269bda9/src/ls.c#L2507-L2647) (the reference implementation)
- [`LS_COLORS` implementation in `bfs`](https://github.com/tavianator/bfs/blob/2d3b03183c9f1cdb685977f349bf4bbc74a2038d/color.c#L308) by [**@tavianator**](https://github.com/tavianator)
- [The `DIR_COLORS(5)` man page](https://linux.die.net/man/5/dir_colors)
## License
Licensed under either of
* Apache License, Version 2.0, ([LICENSE-APACHE](LICENSE-APACHE) or http://www.apache.org/licenses/LICENSE-2.0)
* MIT license ([LICENSE-MIT](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.
### Special Thanks
sharkdp for [ls_colors](https://github.com/sharkdp/lscolors)
[Crates.io]: https://crates.io/crates/anstyle-ls
[Documentation]: https://docs.rs/anstyle-ls