-
Notifications
You must be signed in to change notification settings - Fork 7
/
Cargo.toml
65 lines (50 loc) · 1.43 KB
/
Cargo.toml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
[package]
name = "fontfor"
version = "0.4.4-alpha.1"
authors = ["7sDream <[email protected]>"]
edition = "2021"
description = "find fonts which can show a specified character and preview them in terminal or browser"
homepage = "https://github.com/7sDream/fontfor"
repository = "https://github.com/7sDream/fontfor"
readme = "README.md"
license = "GPL-3.0-or-later"
keywords = ["font", "character", "cli", "utilities"]
categories = ["command-line-utilities", "text-processing", "visualization"]
[dependencies]
# Global values
once_cell = "1.0"
# Define error type
thiserror = "1.0"
# 2D array
grid = "0.13"
# CLI argument parser
clap = { version = "4.4", features = ["derive", "unicode", "wrap_help"] }
# Font loader
fontdb = "0.16"
# Font parser
ttf-parser = "0.21"
# Filter fonts
range-set-blaze = "0.1.16"
# Font rasterizer
# see https://gist.github.com/7sDream/0bb194be42b8cb1f1926ca12151c8d76 for alternatives.
ab_glyph = "0.2"
# Termianal UI
ratatui = "0.26"
# Terminal events
crossterm = "0.27"
# Input widget for filter in TUI
tui-input = "0.8.0"
# Home-made single thread HTTP server for preview fonts in browser.
# Alternative: output a html file into temp dir and open it
httparse = "1.8"
# Logger
log = { version = "0.4", features = ["release_max_level_off"] }
env_logger = { version = "0.11", optional = true }
[features]
default = []
log-output = ["dep:env_logger"]
[profile.release]
strip = true
lto = true
panic = "abort"
codegen-units = 1