[package] name = "typst-ts-core" description = "Core function of Typst.ts." authors.workspace = true version.workspace = true license.workspace = true edition.workspace = true homepage.workspace = true repository.workspace = true [dependencies] typst.workspace = true reflexo.workspace = true comemo.workspace = true elsa.workspace = true ttf-parser.workspace = true path-clean.workspace = true ecow.workspace = true base64.workspace = true hex.workspace = true siphasher.workspace = true sha2.workspace = true byteorder.workspace = true base64-serde.workspace = true fxhash.workspace = true once_cell.workspace = true rustc-hash.workspace = true crossbeam-queue = "0.3.10" dashmap.workspace = true parking_lot = { workspace = true } bitvec = { version = "1" } serde.workspace = true serde_json.workspace = true serde_repr = "0.1" tiny-skia.workspace = true log.workspace = true flate2.workspace = true xmlparser.workspace = true serde_with.workspace = true rayon.workspace = true rkyv = { workspace = true, optional = true } tiny-skia-path.workspace = true svgtypes.workspace = true wasm-bindgen = { workspace = true, optional = true } web-sys = { workspace = true, optional = true } js-sys = { workspace = true, optional = true } [features] flat-vector = ["reflexo/flat-vector"] debug-gc = [] experimental-ligature = [] no-content-hint = [] glyph2vec = [] vector-bbox = [] __web = ["dep:wasm-bindgen", "dep:js-sys", "dep:web-sys"] web = ["__web", "reflexo/web"] full = ["web", "glyph2vec", "flat-vector"] default = ["full"]