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"
name = "glyf"
version = "0.2.1"
authors = ["J. Adly <youssefadly237@gmail.com>"]
build = "build.rs"
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Glyph finder"
documentation = "https://docs.rs/glyf"
readme = "README.md"
keywords = [
    "Glyph",
    "Unicode",
    "nerdfonts",
]
license = "MIT"
repository = "https://github.com/youssefadly237/glyf"

[features]
cjk = []
default = []
mlua = ["dep:mlua"]

[lib]
name = "glyf"
crate-type = [
    "lib",
    "cdylib",
]
path = "src/lib.rs"

[[bin]]
name = "glyf"
path = "src/bin/glyf.rs"

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

[[bench]]
name = "bench"
path = "benches/bench.rs"
harness = false

[dependencies.clap]
version = "4.6.1"
features = [
    "derive",
    "help",
    "usage",
    "error-context",
    "std",
]
default-features = false

[dependencies.frizbee]
version = "0.9.0"

[dependencies.mlua]
version = "0.11.6"
features = [
    "luajit",
    "module",
]
optional = true
default-features = false

[dev-dependencies.divan]
version = "0.1.21"

[profile.release]
opt-level = 3
lto = "thin"
codegen-units = 1
strip = true