Skip to content

Commit

Permalink
Added initial code for adding SVG files to page
Browse files Browse the repository at this point in the history
  • Loading branch information
fschutt committed Dec 8, 2021
1 parent 0c770ed commit 0db5d9a
Show file tree
Hide file tree
Showing 10 changed files with 735 additions and 238 deletions.
221 changes: 221 additions & 0 deletions Cargo.lock

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

2 changes: 2 additions & 0 deletions Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,7 @@ lopdf = { version = "0.26", default-features = false }
owned_ttf_parser = "0.12"
time = { version = "0.2.11", default-features = false, features = ["std"] }
log = { version = "0.4.8", optional = true }
svg2pdf = { version = "0.1.0", optional = true }

[dependencies.image]
version = "0.23"
Expand All @@ -36,6 +37,7 @@ dxt = ["image/dxt"]
dds = ["image/dds"]
webp = ["image/webp"]
less-optimization = []
svg = ["svg2pdf"]

[target.'cfg(all(target_arch="wasm32",target_os="unknown"))'.dependencies]
js-sys = "0.3.40"
Expand Down
Loading

0 comments on commit 0db5d9a

Please sign in to comment.