# 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.83"
name = "crityp"
version = "0.13.4"
authors = [
    "Myriad-Dreamin <camiyoru@gmail.com>",
    "Nathan Varner",
]
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Benchmark support for typst."
homepage = "https://github.com/Myriad-Dreamin/tinymist"
readme = "README.md"
keywords = [
    "language",
    "typst",
]
categories = [
    "compilers",
    "command-line-utilities",
]
license = "Apache-2.0"
repository = "https://github.com/Myriad-Dreamin/tinymist"

[features]
cli = [
    "clap",
    "clap/wrap_help",
]
default = [
    "cli",
    "embed-fonts",
    "no-content-hint",
]
embed-fonts = ["tinymist-project/fonts"]
no-content-hint = ["tinymist-project/no-content-hint"]

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

[[bin]]
name = "crityp"
path = "src/main.rs"
test = false
doctest = false
bench = false
doc = false
required-features = ["cli"]

[dependencies.anyhow]
version = "1"

[dependencies.base64]
version = "0.22"

[dependencies.clap]
version = "4.5"
features = [
    "derive",
    "env",
    "unicode",
]
optional = true

[dependencies.comemo]
version = "0.4"

[dependencies.criterion]
version = "0.5.1"

[dependencies.ecow]
version = "0.2.3"

[dependencies.tinymist-project]
version = "0.13.2"
features = ["lsp"]

[dependencies.tinymist-std]
version = "0.13.2"
default-features = false

[dependencies.typst]
version = "0.13.0"

[dependencies.typst-syntax]
version = "0.13.0"

[dev-dependencies.insta]
version = "1.39"
features = ["glob"]

[lints.clippy]
missing_safety_doc = "warn"
undocumented_unsafe_blocks = "warn"
uninlined_format_args = "warn"

[lints.rust]
missing_docs = "warn"

[lints.rust.unexpected_cfgs]
level = "allow"
priority = 0
check-cfg = [
    "cfg(wasm_bindgen_unstable_test_coverage)",
    "cfg(noop)",
    "cfg(used_linker)",
]

[lints.rustdoc]
broken_intra_doc_links = "warn"
