Skip to content

Commit

Permalink
refactor(cbz): Even simpler api, add metadata support
Browse files Browse the repository at this point in the history
  • Loading branch information
gaku-sei committed Nov 4, 2023
1 parent a503c90 commit 420637c
Show file tree
Hide file tree
Showing 16 changed files with 874 additions and 441 deletions.
75 changes: 71 additions & 4 deletions Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

4 changes: 4 additions & 0 deletions Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -14,9 +14,11 @@ base64 = "0.21.2"
camino = "1.1.4"
clap = { version = "4.3.5", features = ["derive"] }
cli-table = "0.4.7"
chrono = "0.4.31"
dialoguer = "0.10.4"
dioxus = "0.4.0"
dioxus-desktop = "0.4.0"
dunce = "1.0.4"
eco-cbz = { path = "./eco-cbz" }
eco-pack = { path = "./eco-pack" }
futures = "0.3.28"
Expand All @@ -35,6 +37,8 @@ reqwest-middleware = "0.2.2"
reqwest-retry = "0.2.2"
sanitize-filename = "0.4.0"
serde = "1.0.164"
serde_json = "1.0.108"
serde_repr = "0.1.17"
tl = "0.7.7"
thiserror = "1.0.40"
tokio = { version = "1.28.2", features = ["full"] }
Expand Down
5 changes: 5 additions & 0 deletions eco-cbz/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -7,12 +7,17 @@ rust-version.workspace = true
[dependencies]
clap = { workspace = true, optional = true }
camino.workspace = true
chrono = { workspace = true, features = ["serde"], optional = true }
image.workspace = true
sanitize-filename.workspace = true
serde = { workspace = true, features = ["derive"], optional = true }
serde_json = { workspace = true, optional = true }
serde_repr = { workspace = true, optional = true }
thiserror.workspace = true
tracing.workspace = true
zip.workspace = true

[features]
default = []
clap = ["dep:clap"]
metadata = ["dep:chrono", "dep:serde", "dep:serde_json", "dep:serde_repr"]
Loading

0 comments on commit 420637c

Please sign in to comment.