# 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 = "2021"
name = "reflexo-vec2dom"
version = "0.5.0-rc7"
build = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Export a frame of Typst document into dom element."
homepage = "https://myriad-dreamin.github.io/typst.ts/"
readme = "README.md"
license = "Apache-2.0"
repository = "https://github.com/Myriad-Dreamin/typst.ts"

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

[dependencies.async-recursion]
version = "1.0.4"

[dependencies.comemo]
version = "0.4"

[dependencies.js-sys]
version = "^0.3"

[dependencies.log]
version = "0.4.17"

[dependencies.reflexo]
version = "0.5.0-rc7"
default-features = false

[dependencies.reflexo-typst2vec]
version = "0.5.0-rc7"

[dependencies.reflexo-vec2bbox]
version = "0.5.0-rc7"

[dependencies.reflexo-vec2canvas]
version = "0.5.0-rc7"

[dependencies.reflexo-vec2sema]
version = "0.5.0-rc7"

[dependencies.reflexo-vec2svg]
version = "0.5.0-rc7"

[dependencies.svgtypes]
version = "0.13"

[dependencies.tiny-skia]
version = "0.11"

[dependencies.tiny-skia-path]
version = "0.11"

[dependencies.typst]
version = "0.11.1"

[dependencies.wasm-bindgen]
version = "^0.2"

[dependencies.wasm-bindgen-futures]
version = "^0.4"

[dependencies.web-sys]
version = "^0.3"
features = [
    "console",
    "HtmlDivElement",
    "HtmlTemplateElement",
    "SvgElement",
    "SvgGraphicsElement",
    "SvgsvgElement",
    "HtmlElement",
    "Window",
    "Document",
    "DocumentFragment",
    "CssStyleDeclaration",
]

[features]
aggresive-browser-rasterization = []
debug_attach = []
debug_recalc_stage = []
debug_relayout = []
debug_repaint = []
debug_repaint_canvas = []
debug_repaint_semantics = []
debug_repaint_svg = []
default = []
experimental-ligature = ["reflexo-typst2vec/experimental-ligature"]
no-content-hint = ["reflexo-typst2vec/no-content-hint"]
