summaryrefslogtreecommitdiffstats
path: root/examples
AgeCommit message (Collapse)Author
2023-10-22Added read pem files exampleElsoberanold
Co-authored-by: Brennan Kinney <5098581+polarathene@users.noreply.github.com> Signed-off-by: Elsoberanold <42942305+Elsoberanold@users.noreply.github.com> Signed-off-by: Matthias Beyer <mail@beyermatthias.de>
2023-10-06Fix clippy: Remove redundant closuresMatthias Beyer
Signed-off-by: Matthias Beyer <mail@beyermatthias.de>
2022-11-28Add simple example using lazy_staticMatthias Beyer
Signed-off-by: Matthias Beyer <mail@beyermatthias.de>
2022-08-31Adapt example to new notify interfaceMatthias Beyer
Signed-off-by: Matthias Beyer <mail@beyermatthias.de>
2022-06-01Fix clippy: Derive Eq as wellMatthias Beyer
Signed-off-by: Matthias Beyer <mail@beyermatthias.de>
2022-02-28feat: env contains list of stringssimon-an
Signed-off-by: simon-an <26556185+simon-an@users.noreply.github.com>
2022-01-29use semicolons if nothing returnedDaniel Eades
2021-12-29allow remaining deprecated code in examplesDaniel Eades
2021-12-29remove some deprecated code from examplesDaniel Eades
2021-12-29de-glob importsDaniel Eades
2021-12-29remove 'extern crate' importsDaniel Eades
2021-12-29use explicit imports for macrosDaniel Eades
2021-11-23cargo fmt --allConrad Ludgate
2021-11-23reduce use of outdated languageConrad Ludgate
2021-11-23fix config paths in examplesConrad Ludgate
2021-11-23fix examples to work as cargo expectsConrad Ludgate
2021-11-23rename try_into to try_deserialize to avoid confusionConrad Ludgate
2021-10-23Change FileExtensions (rename, make subtrait)Radosław Kot
2021-10-23Apply clippy lints and formatRadosław Kot
2021-10-23Change FileExtensions signatureRadosław Kot
2021-10-23Add custom_format exampleRadosław Kot
2021-08-21Fix: Import HashMap instead of MapMatthias Beyer
I didn't catch that when merging PR #217. Fixes: be82af2 ("Rename MapImpl to Map") Fixes: 0d3a5c3 ("Merge pull request #217 from dlo9/master") Signed-off-by: Matthias Beyer <mail@beyermatthias.de>
2021-08-21Fix: Import HashMap instead of MapMatthias Beyer
I didn't catch that when merging PR #217. Fixes: be82af2 ("Rename MapImpl to Map") Fixes: 0d3a5c3 ("Merge pull request #217 from dlo9/master") Signed-off-by: Matthias Beyer <mail@beyermatthias.de>
2021-08-21Fix: Import HashMap instead of MapMatthias Beyer
I didn't catch that when merging PR #217. CI should have catched it, but we actually never ran CI for examples. Signed-off-by: Matthias Beyer <mail@beyermatthias.de> Fixes: be82af2 ("Rename MapImpl to Map") Fixes: 0d3a5c3 ("Merge pull request #217 from dlo9/master")
2021-08-15Rename MapImpl to MapDavid Orchard
2021-08-15Move order preservation under a feature gateDavid Orchard
2021-08-15Use LinkedHashMap in place of HashMapDavid Orchard
2021-07-03Simplify example implMatthias Beyer
With this simplification, we save a bit of code on one side, but also showcase that errors from custom AsyncSource implementations are possible because the ConfigError type provides a variant for it. Signed-off-by: Matthias Beyer <mail@beyermatthias.de> Tested-by: Matthias Beyer <mail@beyermatthias.de>
2021-07-03Add example implementation using async sourceRadosław Kot
Signed-off-by: Matthias Beyer <mail@beyermatthias.de> Reviewed-by: Matthias Beyer <mail@beyermatthias.de>
2021-05-07Update lazy_static dependencykpcyrd
2021-05-07Update glob dependencykpcyrd
2021-05-07Update to rust 2018 editionkpcyrd
2020-03-14Clippy fix for examplesFederico Pasqua
2019-01-02Update example deprecated methodAlex Widener
Update deprecated `deserialize` to use the preferred `try_into`.
2018-09-25Fix errors to build watch exampleRyan Leckey
2017-08-05Fix tests and put back .deserialize as deprecated0.7.0Ryan Leckey
2017-07-30Impl Deserializer for Config (to forward Value)Ryan Leckey
2017-07-30Rename examples/pattern -> examples/globRyan Leckey
2017-07-30Remove ConfigResult; close #36Ryan Leckey
2017-06-22Add a watcher exampleRyan Leckey
2017-06-22Correct example; forgot to add glob to depsRyan Leckey
2017-06-22Implement Source for Vec<T: Source> and From<Path> for FileRyan Leckey
2017-06-22Add builder API to ConfigRyan Leckey
2017-06-16Add hierarchial config exampleRyan Leckey
2017-06-01Move things around and get some tests in placeRyan Leckey
2017-03-08Initial work on deep serde integrationRyan Leckey
2017-02-12Remove global APIRyan Leckey
2017-02-03Add support for YAMLThayne McCombs
2017-01-28Use 'Cow' to remove unnecessary allocationsRyan Leckey
2017-01-26Refactor the file source to allow for N formats; implement JSON.Ryan Leckey