# 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 = "typst-preview" version = "0.11.7" authors = ["The Typst Project Developers"] build = "build.rs" include = [ "src/**/*", "/LICENSE", "/README.md", "build.rs", ] description = "A previewer for the Typst typesetting system." readme = "README.md" keywords = ["typst"] license = "MIT" repository = "https://github.com/Enter-tainer/typst-preview" [profile.release] debug = 2 [[bin]] name = "typst-preview" path = "src/main.rs" test = false doctest = false bench = false doc = false required-features = ["cli"] [dependencies.await-tree] version = "0.1.2" [dependencies.clap] version = "4.5.4" features = [ "derive", "env", ] optional = true [dependencies.comemo] version = "0.4" [dependencies.elsa] version = "1.10" [dependencies.env_logger] version = "0.11.3" [dependencies.futures] version = "0.3.30" [dependencies.hyper] version = "0.14" features = ["full"] optional = true [dependencies.indexmap] version = "2" [dependencies.log] version = "0.4.21" [dependencies.memmap2] version = "0.9.4" [dependencies.notify] version = "6" [dependencies.once_cell] version = "1" [dependencies.open] version = "5.1.3" optional = true [dependencies.serde] version = "1.0.202" [dependencies.serde_json] version = "1.0.117" [dependencies.tiny-skia] version = "0.11" [dependencies.tokio] version = "1.37.0" features = ["full"] [dependencies.tokio-tungstenite] version = "0.21.0" [dependencies.typst] version = "0.11.1" [dependencies.typst-assets] version = "0.11.1" features = ["fonts"] [dependencies.typst-ts-compiler] version = "0.5.0-rc4" optional = true [dependencies.typst-ts-core] version = "0.5.0-rc4" features = [ "flat-vector", "vector-bbox", ] default-features = false [dependencies.typst-ts-svg-exporter] version = "0.5.0-rc4" [build-dependencies.anyhow] version = "1.0.83" [build-dependencies.clap] version = "4.5.4" features = [ "derive", "string", ] [build-dependencies.clap_complete] version = "4.5.2" [build-dependencies.clap_mangen] version = "0.2.20" [build-dependencies.vergen] version = "8.3.1" features = [ "build", "cargo", "git", "git2", "rustc", ] [features] cli = [ "hyper", "clap", "open", "typst-ts-compiler", "no-content-hint", "embed-html", ] default = [ "embed-fonts", "cli", ] embed-fonts = ["typst-assets/fonts"] embed-html = [] no-content-hint = ["typst-ts-core/no-content-hint"]