-
Notifications
You must be signed in to change notification settings - Fork 84
/
Cargo.toml
68 lines (58 loc) · 1.78 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
66
67
68
[package]
name = "silicon"
version = "0.5.2"
description = "Create beautiful image of your code"
authors = ["Aloxaf <[email protected]>"]
categories = ["command-line-utilities"]
readme = "README.md"
repository = "https://github.com/Aloxaf/silicon"
license = "MIT"
edition = "2018"
[features]
# bin fearure is required for silicon as a application
# disable it when using as a library
default = ["bin", "harfbuzz"]
bin = ["structopt", "env_logger", "anyhow", "shell-words"]
harfbuzz = ["harfbuzz-sys", "font-kit/loader-freetype-default", "font-kit/source-fontconfig-default"]
[dependencies]
dirs = "5.0.1"
imageproc = "0.23.0"
clipboard = "0.5.0"
tempfile = "3.10.1"
conv = "0.3.3"
pathfinder_geometry = "0.5.1"
log = "0.4.20"
lazy_static = "1.4.0"
shell-words = { version = "1.1.0", optional = true }
rayon = "1.9.0"
font-kit = "0.12.0"
harfbuzz-sys = { version = "0.5.0", optional = true }
pathfinder_simd = "0.5.3"
[dependencies.image]
version = "0.24.9"
default-features = false
features = ["jpeg", "png", "jpeg_rayon"]
[dependencies.syntect]
version = "5.2.0"
default-features = false
features = ["parsing", "dump-load", "regex-onig", "plist-load", "yaml-load"]
[dependencies.anyhow]
version = "1.0.80"
optional = true
[dependencies.structopt]
version = "0.3.26"
default-features = false
features = ["color", "wrap_help"]
optional = true
[dependencies.env_logger]
version = "0.11.2"
default-features = false
features = ["auto-color", "humantime"]
optional = true
[target.'cfg(target_os = "macos")'.dependencies]
pasteboard = "0.1.3"
[target.'cfg(target_os = "windows")'.dependencies]
clipboard-win = "5.2.0"
image = { version = "0.24", default-features = false, features = ["jpeg", "bmp", "jpeg_rayon"] }
[patch.crates-io]
pathfinder_simd = { version = "0.5.4", git = "https://github.com/servo/pathfinder" }