ferriki 1.3.0

Reusable native Rust syntax highlighter with TextMate grammars
Documentation
# 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 = "2024"
rust-version = "1.94"
name = "ferriki"
version = "1.3.0"
authors = ["Sebastian Software GmbH"]
build = "build.rs"
include = [
    "/build.rs",
    "/src",
    "/tests",
    "/examples",
    "/assets/catalog.json",
    "/README.md",
    "/LICENSE-MIT",
    "/LICENSE-APACHE",
]
publish = ["crates-io"]
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Reusable native Rust syntax highlighter with TextMate grammars"
homepage = "https://ferriki.dev"
documentation = "https://docs.rs/ferriki"
readme = "README.md"
keywords = [
    "syntax-highlighting",
    "textmate",
    "shiki",
    "tokenizer",
    "ferramenta",
]
categories = [
    "text-processing",
    "parser-implementations",
    "development-tools",
]
license = "MIT OR Apache-2.0"
repository = "https://github.com/sebastian-software/ferriki"
resolver = "2"

[features]
remote = [
    "dep:ureq",
    "dep:rustls",
    "dep:rustls-webpki",
    "dep:webpki-root-certs",
]

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

[[example]]
name = "class_highlighting_probe"
path = "examples/class_highlighting_probe.rs"

[[example]]
name = "remote_assets"
path = "examples/remote_assets.rs"
required-features = ["remote"]

[[example]]
name = "rust_consumer"
path = "examples/rust_consumer.rs"

[[test]]
name = "asset_sources"
path = "tests/asset_sources.rs"

[[test]]
name = "precompiled_assets"
path = "tests/precompiled_assets.rs"

[[test]]
name = "public_api"
path = "tests/public_api.rs"

[[test]]
name = "release_manifest"
path = "tests/release_manifest.rs"

[[test]]
name = "remote_assets"
path = "tests/remote_assets.rs"

[dependencies.ferriki-asset-gen]
version = "1.3.0"

[dependencies.ferriki-textmate]
version = "1.3.0"

[dependencies.serde]
version = "1"
features = [
    "derive",
    "rc",
]

[dependencies.serde_json]
version = "1"

[dependencies.sha2]
version = "0.11.1"

[build-dependencies.ferriki-asset-gen]
version = "1.3.0"

[build-dependencies.serde_json]
version = "1"

[target.'cfg(not(target_arch = "wasm32"))'.dependencies.rustls]
version = "0.23.46"
features = [
    "ring",
    "std",
    "tls12",
]
optional = true
default-features = false

[target.'cfg(not(target_arch = "wasm32"))'.dependencies.rustls-webpki]
version = "0.103.16"
optional = true
default-features = false

[target.'cfg(not(target_arch = "wasm32"))'.dependencies.ureq]
version = "3"
features = [
    "rustls-no-provider",
    "platform-verifier",
    "gzip",
]
optional = true
default-features = false

[target.'cfg(not(target_arch = "wasm32"))'.dependencies.webpki-root-certs]
version = "1.0.10"
optional = true
default-features = false

[lints.clippy.all]
level = "warn"
priority = -1

[lints.rust]
unreachable_pub = "warn"
unsafe_code = "warn"

[profile.release]
lto = "fat"
codegen-units = 1
debug = 0
strip = "symbols"