Add macchina backend

* Remove `qwqfetch` TODOs as that project is unmaintained
This commit is contained in:
Teoh Han Hui 2024-07-21 23:36:43 +08:00
parent c7295ebed8
commit fe7d902dac
No known key found for this signature in database
GPG key ID: D43E2BABAF97DCAE
9 changed files with 494 additions and 221 deletions

View file

@ -12,6 +12,7 @@ default-run = "hyfetch"
[dependencies]
aho-corasick = { workspace = true, features = ["perf-literal", "std"] }
ansi_colours = { workspace = true, features = [] }
anstream = { workspace = true, features = [], optional = true }
anyhow = { workspace = true, features = ["std"] }
bpaf = { workspace = true, features = [] }
deranged = { workspace = true, features = ["serde", "std"] }
@ -32,6 +33,7 @@ terminal-colorsaurus = { workspace = true, features = [] }
terminal_size = { workspace = true, features = [] }
thiserror = { workspace = true, features = [] }
time = { workspace = true, features = ["local-offset", "std"] }
toml_edit = { workspace = true, features = [], optional = true }
tracing = { workspace = true, features = ["attributes", "std"] }
tracing-subscriber = { workspace = true, features = ["ansi", "fmt", "smallvec", "std", "tracing-log"] }
unicode-segmentation = { workspace = true, features = [] }
@ -47,6 +49,7 @@ normpath = { workspace = true, features = [] }
same-file = { workspace = true, features = [] }
[features]
default = ["autocomplete", "color"]
default = ["autocomplete", "color", "macchina"]
autocomplete = ["bpaf/autocomplete"]
color = ["bpaf/dull-color"]
macchina = ["dep:anstream", "dep:toml_edit", "toml_edit/display"]