aboutsummaryrefslogtreecommitdiff
path: root/Cargo.toml
diff options
context:
space:
mode:
authorA Farzat <a@farzat.xyz>2026-03-04 21:14:32 +0300
committerA Farzat <a@farzat.xyz>2026-03-04 21:14:32 +0300
commita31db5a182c7d45ca6720a99c409b5c35fad69bb (patch)
treec590e42fb84847fd4639124a28174fb9306abb7b /Cargo.toml
parentd34403eddc75188b1657a7076442b48da76bb727 (diff)
downloadoreilly-epub-a31db5a182c7d45ca6720a99c409b5c35fad69bb.tar.gz
oreilly-epub-a31db5a182c7d45ca6720a99c409b5c35fad69bb.zip
Convert URLs pointing upstream to local relative
EPUB standard only recognizes relative paths. Fixes image rendering.
Diffstat (limited to 'Cargo.toml')
-rw-r--r--Cargo.toml1
1 files changed, 1 insertions, 0 deletions
diff --git a/Cargo.toml b/Cargo.toml
index 9966c5a..c57e6ac 100644
--- a/Cargo.toml
+++ b/Cargo.toml
@@ -6,6 +6,7 @@ edition = "2024"
[dependencies]
anyhow = "1.0.102"
clap = { version = "4.5.60", features = ["derive"] }
+relative-path = "2.0.1"
reqwest = { version = "0.13.2", features = ["cookies", "json"] }
serde = { version = "1.0.228", features = ["derive"] }
serde_json = "1.0.149"