# 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.85.0"
name = "fulgur"
version = "0.30.0"
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "HTML/CSS to PDF conversion library"
homepage = "https://github.com/fulgur-rs/fulgur"
readme = "README.md"
keywords = [
    "pdf",
    "html",
    "css",
    "converter",
]
categories = [
    "text-processing",
    "command-line-utilities",
]
license = "MIT OR Apache-2.0"
repository = "https://github.com/fulgur-rs/fulgur"
resolver = "2"

[features]
parallel = ["dep:rayon"]

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

[dependencies.blitz-dom]
version = "0.2"

[dependencies.blitz-html]
version = "0.2"

[dependencies.blitz-traits]
version = "0.2"

[dependencies.cssparser]
version = "0.37"

[dependencies.image]
version = "0.25"
features = ["png"]
default-features = false

[dependencies.krilla]
version = "0.7.0"

[dependencies.krilla-svg]
version = "0.7.0"

[dependencies.log]
version = "0.4"

[dependencies.lopdf]
version = "0.42.0"

[dependencies.minijinja]
version = "=2.21.0"
features = ["unstable_machinery"]

[dependencies.parley]
version = "0.6"

[dependencies.rayon]
version = "1"
optional = true

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

[dependencies.serde_json]
version = "1"

[dependencies.skrifa]
version = "0.43"

[dependencies.stylo]
version = "0.8.0"

[dependencies.taffy]
version = "0.9"

[dependencies.thiserror]
version = "2"

[dependencies.unicode-properties]
version = "0.1"

[dependencies.unicode-segmentation]
version = "1.13"

[dependencies.usvg]
version = "0.45"

[dependencies.woff2-patched]
version = "0.4"

[dev-dependencies.image]
version = "0.25"
features = ["png"]
default-features = false

[dev-dependencies.tempfile]
version = "3.27.0"

[dev-dependencies.toml]
version = "1.1"

[target.'cfg(target_arch = "wasm32")'.dependencies.getrandom]
version = "0.4"
features = ["wasm_js"]
default-features = false
