3 unstable releases

0.2.1 Apr 23, 2023
0.1.1 Feb 3, 2023
0.1.0 Feb 3, 2023

#2700 in Parser implementations

46 downloads per month

MIT license

11KB
278 lines

Antlir can reproducibly build, test, and run OS images for containers and hosts. Learn more by reading the documentation.

Antlir is licensed under the MIT License. See here.


lib.rs:

CLIs (especially those designed to be called by automation) often take structured data as inputs. This ends up creating a ton of boilerplate where a CLI arg is declared as a [PathBuf] and then is quickly opened, read from and deserialized with some [serde] format crate. This crate provides two newtype wrappers ([Serde] and [SerdeFile]) that can deserialize any Serde-compatible arguments with no extra effort.

Dependencies

~0.8–1.6MB
~37K SLoC