mirror of
https://github.com/aome510/hackernews-TUI.git
synced 2026-04-26 09:25:56 +03:00
[PR #39] [MERGED] Implement config_parser crates to allow optional configurations #63
Labels
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
starred/hackernews-TUI#63
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
📋 Pull Request Information
Original PR: https://github.com/aome510/hackernews-TUI/pull/39
Author: @aome510
Created: 6/9/2021
Status: ✅ Merged
Merged: 6/12/2021
Merged by: @aome510
Base:
main← Head:add-config-parser📝 Commits (10+)
216b4c2move lazy_loading_comments to client config optiona0220efmove binary package to hackernews_tui folder0206fd7implement proc_macro for config_parser in config_parser_derive lib crate55a407bimplement config_parser4f3d496use workspaces with multiple crates instead of single binary cratecc2f46cintegrate ConfigParser trait and macros into the binary crate21d0f3duse config_parser when reading from a config file4f39dc6add more primitive types in config_parser8328617use if let instead of match3803543remove cargo_parser_derive dependency from binary crate📊 Changes
31 files changed (+1727 additions, -138 deletions)
View changed files
📝
Cargo.lock(+72 -54)📝
Cargo.toml(+2 -32)📝
README.md(+6 -13)➕
config_parser/Cargo.toml(+10 -0)➕
config_parser/src/lib.rs(+37 -0)➕
config_parser/tests/test.rs(+107 -0)➕
config_parser_derive/Cargo.lock(+76 -0)➕
config_parser_derive/Cargo.toml(+13 -0)➕
config_parser_derive/src/lib.rs(+13 -0)➕
config_parser_derive/src/parser.rs(+44 -0)➕
hackernews_tui/Cargo.lock(+1264 -0)➕
hackernews_tui/Cargo.toml(+35 -0)📝
hackernews_tui/src/config.rs(+20 -20)📝
hackernews_tui/src/hn-tui-default.toml(+8 -9)📝
hackernews_tui/src/hn_client.rs(+4 -1)📝
hackernews_tui/src/keybindings.rs(+11 -6)📝
hackernews_tui/src/main.rs(+0 -0)📝
hackernews_tui/src/prelude.rs(+0 -0)📝
hackernews_tui/src/utils.rs(+0 -0)📝
hackernews_tui/src/view/article_view.rs(+0 -0)...and 11 more files
📄 Description
Brief description of changes
hackernews_tuifolder and use[workspaces]option inCargo.tomlconfig_parserandconfig_parser_derivecrates for config parsing🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.