# 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" rust-version = "1.77" name = "typst" version = "0.12.0" authors = ["The Typst Project Developers"] build = false autobins = false autoexamples = false autotests = false autobenches = false description = "A new markup-based typesetting system that is powerful and easy to learn." homepage = "https://typst.app" readme = "README.md" keywords = [ "markup", "typesetting", "typst", ] categories = [ "compilers", "science", ] license = "Apache-2.0" repository = "https://github.com/typst/typst" [lib] name = "typst" path = "src/lib.rs" [dependencies.arrayvec] version = "0.7.4" [dependencies.az] version = "1.2" [dependencies.bitflags] version = "2" features = ["serde"] [dependencies.bumpalo] version = "3" features = [ "boxed", "collections", ] [dependencies.chinese-number] version = "0.7.2" features = ["number-to-chinese"] default-features = false [dependencies.ciborium] version = "0.2.1" [dependencies.comemo] version = "0.4" [dependencies.csv] version = "1" [dependencies.ecow] version = "0.2" features = ["serde"] [dependencies.flate2] version = "1" [dependencies.fontdb] version = "0.21" default-features = false [dependencies.hayagriva] version = "0.8" [dependencies.hypher] version = "0.1.4" [dependencies.icu_properties] version = "1.4" features = ["serde"] [dependencies.icu_provider] version = "1.4" features = ["sync"] [dependencies.icu_provider_adapters] version = "1.4" [dependencies.icu_provider_blob] version = "1.4" [dependencies.icu_segmenter] version = "1.4" features = ["serde"] [dependencies.if_chain] version = "1" [dependencies.image] version = "0.25.2" features = [ "png", "jpeg", "gif", ] default-features = false [dependencies.indexmap] version = "2" features = ["serde"] [dependencies.kamadak-exif] version = "0.5" [dependencies.kurbo] version = "0.11" [dependencies.lipsum] version = "0.9" [dependencies.log] version = "0.4" [dependencies.once_cell] version = "1" [dependencies.palette] version = "0.7.3" features = [ "approx", "libm", ] default-features = false [dependencies.phf] version = "0.11" features = ["macros"] [dependencies.png] version = "0.17" [dependencies.portable-atomic] version = "1.6" [dependencies.qcms] version = "0.3.0" [dependencies.rayon] version = "1.7.0" [dependencies.regex] version = "1" [dependencies.roxmltree] version = "0.20" [dependencies.rust_decimal] version = "1.36.0" features = ["maths"] default-features = false [dependencies.rustybuzz] version = "0.18" [dependencies.serde] version = "1.0.184" features = ["derive"] [dependencies.serde_json] version = "1" [dependencies.serde_yaml] version = "0.9" [dependencies.siphasher] version = "1" [dependencies.smallvec] version = "1.11.1" features = [ "union", "const_generics", "const_new", ] [dependencies.syntect] version = "5" features = [ "parsing", "regex-fancy", "plist-load", "yaml-load", ] default-features = false [dependencies.time] version = "0.3.20" features = [ "formatting", "macros", "parsing", ] [dependencies.toml] version = "0.8" features = [ "parse", "display", ] default-features = false [dependencies.ttf-parser] version = "0.24.1" [dependencies.two-face] version = "0.4.0" features = ["syntect-fancy"] default-features = false [dependencies.typed-arena] version = "2" [dependencies.typst-assets] version = "0.12.0" [dependencies.typst-macros] version = "0.12.0" [dependencies.typst-syntax] version = "0.12.0" [dependencies.typst-timing] version = "0.12.0" [dependencies.typst-utils] version = "0.12.0" [dependencies.unicode-bidi] version = "0.3.13" [dependencies.unicode-math-class] version = "0.1" [dependencies.unicode-script] version = "0.5" [dependencies.unicode-segmentation] version = "1" [dependencies.unscanny] version = "0.1" [dependencies.usvg] version = "0.43" features = ["text"] default-features = false [dependencies.wasmi] version = "0.35.0" [dependencies.xmlwriter] version = "0.1.0" [dev-dependencies] [target.'cfg(not(target_arch = "wasm32"))'.dependencies.stacker] version = "0.1.15" [lints.clippy] blocks_in_conditions = "allow" mutable_key_type = "allow" uninlined_format_args = "warn"