document-svg 2.0.2

Convert PDF, Word, Excel, PowerPoint, diagram and CAD files into one SVG per page, locally — a Rust library and the docsvg command
Documentation
# THIS FILE IS AUTOMATICALLY GENERATED BY CARGO
#
# When uploading crates to the registry Cargo will automatically
# "normalize" Cargo.toml files for maximal compatibility
# with all versions of Cargo and also rewrite `path` dependencies
# to registry (e.g., crates.io) dependencies.
#
# If you are reading this file be aware that the original Cargo.toml
# will likely look very different (and much more reasonable).
# See Cargo.toml.orig for the original contents.

[package]
edition = "2024"
rust-version = "1.88"
name = "document-svg"
version = "2.0.2"
build = false
include = [
    "/src/**",
    "/tests/*.rs",
    "/tests/common/**",
    "/tests/fixtures/**",
    "/examples/custom_ir.rs",
    "/Cargo.toml",
    "/Cargo.lock",
    "/LICENSE",
    "/LICENSE-MIT",
    "/LICENSE-APACHE",
    "/README.md",
    "/THIRD_PARTY_NOTICES.md",
    "/THIRD_PARTY_LICENSES.txt",
    "/licenses/**",
    "/docs/DEPENDENCY_LICENSES.json",
    "/docs/LICENSE_AUDIT.md",
    "/docs/SUPPORT.md",
    "/docs/ARCHITECTURE.md",
    "/docs/AI_USAGE_GUIDE.md",
]
publish = ["crates-io"]
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Convert PDF, Word, Excel, PowerPoint, diagram and CAD files into one SVG per page, locally — a Rust library and the docsvg command"
homepage = "https://ryusui-hiro.github.io/document-svg/"
documentation = "https://docs.rs/document-svg"
readme = "README.md"
keywords = [
    "svg",
    "pdf",
    "office",
    "document-conversion",
    "cad",
]
categories = [
    "command-line-utilities",
    "multimedia::images",
]
license = "MIT OR Apache-2.0"
repository = "https://github.com/ryusui-hiro/document-svg"

[lib]
name = "document_svg"
path = "src/lib.rs"

[[bin]]
name = "docsvg"
path = "src/main.rs"

[[example]]
name = "custom_ir"
path = "examples/custom_ir.rs"

[[test]]
name = "conversion"
path = "tests/conversion.rs"

[[test]]
name = "hub_architecture"
path = "tests/hub_architecture.rs"

[[test]]
name = "in_memory_conversion"
path = "tests/in_memory_conversion.rs"

[[test]]
name = "reverse"
path = "tests/reverse.rs"

[[test]]
name = "text_to_svg"
path = "tests/text_to_svg.rs"

[[test]]
name = "transform_error"
path = "tests/transform_error.rs"

[[test]]
name = "visual_verification"
path = "tests/visual_verification.rs"

[dependencies.anyhow]
version = "1.0.104"

[dependencies.base64]
version = "0.23.1"

[dependencies.calamine]
version = "0.36.1"

[dependencies.cfb]
version = "0.14.0"

[dependencies.chrono]
version = "0.4.45"
features = ["std"]
default-features = false

[dependencies.clap]
version = "4.6.6"
features = ["derive"]

[dependencies.e57]
version = "0.11.13"
default-features = false

[dependencies.emf-core]
version = "0.1.0"
features = ["svg"]
default-features = false

[dependencies.encoding_rs]
version = "0.8.35"

[dependencies.flate2]
version = "1.1.9"
features = ["zlib-rs"]
default-features = false

[dependencies.gif]
version = "0.14.2"

[dependencies.hayro-ccitt]
version = "0.3.0"

[dependencies.image]
version = "0.25.10"
features = [
    "jpeg",
    "png",
]
default-features = false

[dependencies.image-webp]
version = "0.2.4"

[dependencies.jpeg-decoder]
version = "0.3.2"

[dependencies.jpeg-encoder]
version = "0.6.1"

[dependencies.las]
version = "0.11.1"
features = ["laz"]

[dependencies.lopdf]
version = "0.44.0"
default-features = false

[dependencies.mail-parser]
version = "0.11.9"

[dependencies.png]
version = "0.18.1"

[dependencies.quick-xml]
version = "0.41.0"

[dependencies.resvg]
version = "0.48.1"

[dependencies.serde]
version = "1.0.229"
features = ["derive"]

[dependencies.serde_json]
version = "1.0.151"

[dependencies.skrifa]
version = "0.44.0"
features = ["std"]
default-features = false

[dependencies.stet-fonts]
version = "0.4.1"

[dependencies.tempfile]
version = "3.27.0"

[dependencies.tiff]
version = "0.11.3"

[dependencies.toml]
version = "1.1.6"
features = [
    "parse",
    "serde",
]
default-features = false

[dependencies.url]
version = "2.5.8"

[dependencies.yaml-rust2]
version = "0.13.0"
default-features = false

[dependencies.zip]
version = "8.1.0"
features = ["deflate-flate2-zlib-rs"]
default-features = false

[target.'cfg(not(target_arch = "wasm32"))'.dependencies.dicom-encoding]
version = "0.10.0"

[target.'cfg(not(target_arch = "wasm32"))'.dependencies.dicom-object]
version = "0.10.0"

[target.'cfg(not(target_arch = "wasm32"))'.dependencies.dicom-parser]
version = "0.10.0"

[target.'cfg(not(target_arch = "wasm32"))'.dependencies.dicom-pixeldata]
version = "0.10.0"
features = [
    "image",
    "jpeg",
    "rle",
    "openjp2",
]
default-features = false

[target.'cfg(not(target_arch = "wasm32"))'.dependencies.dicom-transfer-syntax-registry]
version = "0.10.0"
default-features = false

[target.'cfg(not(target_arch = "wasm32"))'.dependencies.jpeg2k]
version = "0.10.1"
features = ["openjp2"]
default-features = false

[target.'cfg(not(target_arch = "wasm32"))'.dependencies.rayon]
version = "1.12.0"

[target.'cfg(not(target_arch = "wasm32"))'.dependencies.rusqlite]
version = "0.40.2"
features = [
    "bundled",
    "limits",
    "hooks",
]

[target.'cfg(target_arch = "wasm32")'.dependencies.getrandom]
version = "0.4.3"
features = ["wasm_js"]

[target.'cfg(target_arch = "wasm32")'.dependencies.web-time]
version = "1.1.0"

[lints.clippy]
all = "warn"

[lints.rust]
unsafe_code = "forbid"

[profile.release]
lto = "thin"
codegen-units = 1
panic = "unwind"
strip = "symbols"