Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Rethink #376

Draft
wants to merge 18 commits into
base: master
Choose a base branch
from
Draft

Rethink #376

wants to merge 18 commits into from

Commits on May 20, 2022

  1. Remove world, to start from a clean slate

    Signed-off-by: Matthias Beyer <[email protected]>
    matthiasbeyer committed May 20, 2022
    Configuration menu
    Copy the full SHA
    8688608 View commit details
    Browse the repository at this point in the history

Commits on Sep 17, 2022

  1. Add first mockup

    Signed-off-by: Matthias Beyer <[email protected]>
    matthiasbeyer committed Sep 17, 2022
    Configuration menu
    Copy the full SHA
    9d6be62 View commit details
    Browse the repository at this point in the history
  2. Add ConfigObject::new() for creating config objects in tests

    Signed-off-by: Matthias Beyer <[email protected]>
    matthiasbeyer committed Sep 17, 2022
    Configuration menu
    Copy the full SHA
    140d740 View commit details
    Browse the repository at this point in the history
  3. Add tests for loading sources

    Signed-off-by: Matthias Beyer <[email protected]>
    matthiasbeyer committed Sep 17, 2022
    Configuration menu
    Copy the full SHA
    9e2a845 View commit details
    Browse the repository at this point in the history
  4. Add Accessor implementation

    Signed-off-by: Matthias Beyer <[email protected]>
    matthiasbeyer committed Sep 17, 2022
    Configuration menu
    Copy the full SHA
    f1c7662 View commit details
    Browse the repository at this point in the history
  5. Add StringSource

    This patch adds a type for a String buffer as a source for the
    configuration as well as format parser interfaces.
    
    Signed-off-by: Matthias Beyer <[email protected]>
    matthiasbeyer committed Sep 17, 2022
    Configuration menu
    Copy the full SHA
    b2ba820 View commit details
    Browse the repository at this point in the history
  6. Add TOML parser backend

    Signed-off-by: Matthias Beyer <[email protected]>
    matthiasbeyer committed Sep 17, 2022
    Configuration menu
    Copy the full SHA
    65561da View commit details
    Browse the repository at this point in the history
  7. Add tests for layered configuration

    Signed-off-by: Matthias Beyer <[email protected]>
    matthiasbeyer committed Sep 17, 2022
    Configuration menu
    Copy the full SHA
    db442a6 View commit details
    Browse the repository at this point in the history
  8. Make Accessor type an index helper

    This patch changes the Accessor type to be a helper over a list of
    AccessType objects.
    
    Signed-off-by: Matthias Beyer <[email protected]>
    matthiasbeyer committed Sep 17, 2022
    Configuration menu
    Copy the full SHA
    87a6205 View commit details
    Browse the repository at this point in the history
  9. Move traversal to ConfigElement impl

    Signed-off-by: Matthias Beyer <[email protected]>
    matthiasbeyer committed Sep 17, 2022
    Configuration menu
    Copy the full SHA
    0daf2b0 View commit details
    Browse the repository at this point in the history
  10. Add test for nested TOML configuration

    Signed-off-by: Matthias Beyer <[email protected]>
    matthiasbeyer committed Sep 17, 2022
    Configuration menu
    Copy the full SHA
    f1293c0 View commit details
    Browse the repository at this point in the history
  11. Add test for array-nested TOML configuration

    Signed-off-by: Matthias Beyer <[email protected]>
    matthiasbeyer committed Sep 17, 2022
    Configuration menu
    Copy the full SHA
    024d97e View commit details
    Browse the repository at this point in the history
  12. Split config into several submodules

    Signed-off-by: Matthias Beyer <[email protected]>
    matthiasbeyer committed Sep 17, 2022
    Configuration menu
    Copy the full SHA
    9bf609f View commit details
    Browse the repository at this point in the history
  13. Add async config builder

    This patch also removes the associated error type from the ConfigSource
    trait, as we figured out that this can be simply a SourceError.
    
    Signed-off-by: Matthias Beyer <[email protected]>
    matthiasbeyer committed Sep 17, 2022
    Configuration menu
    Copy the full SHA
    4866d79 View commit details
    Browse the repository at this point in the history
  14. Rewrite to store loaders _and_ loaded config

    Signed-off-by: Matthias Beyer <[email protected]>
    matthiasbeyer committed Sep 17, 2022
    Configuration menu
    Copy the full SHA
    a234c08 View commit details
    Browse the repository at this point in the history
  15. Remove asyncness

    This patch removes the async loading.
    The async loading makes everything awefully complicated and in fact it
    should rather be solved on the user side of things, not within this
    crate.
    
    Signed-off-by: Matthias Beyer <[email protected]>
    matthiasbeyer committed Sep 17, 2022
    Configuration menu
    Copy the full SHA
    6de1c4b View commit details
    Browse the repository at this point in the history
  16. cargo-fmt

    Signed-off-by: Matthias Beyer <[email protected]>
    matthiasbeyer committed Sep 17, 2022
    Configuration menu
    Copy the full SHA
    c45b213 View commit details
    Browse the repository at this point in the history
  17. Rework visibility and export types that are required for working with…

    … the crate
    
    Signed-off-by: Matthias Beyer <[email protected]>
    matthiasbeyer committed Sep 17, 2022
    Configuration menu
    Copy the full SHA
    42a2b26 View commit details
    Browse the repository at this point in the history