aboutsummaryrefslogtreecommitdiff
path: root/Cargo.lock
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.lock
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.lock')
-rw-r--r--Cargo.lock10
1 files changed, 10 insertions, 0 deletions
diff --git a/Cargo.lock b/Cargo.lock
index fca495c..c546287 100644
--- a/Cargo.lock
+++ b/Cargo.lock
@@ -855,6 +855,7 @@ version = "0.1.0"
dependencies = [
"anyhow",
"clap",
+ "relative-path",
"reqwest",
"serde",
"serde_json",
@@ -1062,6 +1063,15 @@ dependencies = [
]
[[package]]
+name = "relative-path"
+version = "2.0.1"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "bca40a312222d8ba74837cb474edef44b37f561da5f773981007a10bbaa992b0"
+dependencies = [
+ "serde",
+]
+
+[[package]]
name = "reqwest"
version = "0.13.2"
source = "registry+https://github.com/rust-lang/crates.io-index"