# 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 = "text2svg"
version = "0.4.0"
authors = ["tizee"]
build = false
exclude = ["tests/"]
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "A command line tool help convert text to svg file"
homepage = "https://github.com/tizee/text2svg"
readme = "README.md"
keywords = [
    "cli",
    "svg",
    "tool",
]
categories = ["command-line-utilities"]
license = "MIT"
repository = "https://github.com/tizee/text2svg"

[features]
cli = ["dep:clap"]
default = ["cli"]

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

[[bin]]
name = "text2svg"
path = "src/main.rs"
required-features = ["cli"]

[dependencies.anyhow]
version = "1.0.72"

[dependencies.clap]
version = "4.3.19"
features = ["derive"]
optional = true

[dependencies.font-kit]
version = "0.14.2"

[dependencies.resvg]
version = "0.45.0"

[dependencies.rustybuzz]
version = "0.20.1"

[dependencies.svg]
version = "0.18.0"

[dependencies.syntect]
version = "5.1.0"

[dependencies.unicode-segmentation]
version = "1.11"
