forked from Aloxaf/silicon
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathCargo.toml
60 lines (50 loc) · 1.15 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
[package]
name = "silicon"
version = "0.3.0"
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"
[lib]
name = "silicon"
path = "src/lib.rs"
[[bin]]
name = "silicon"
path = "src/bin.rs"
[dependencies]
imageproc = "0.19"
font-kit = "0.5"
clipboard = "0.5.0"
tempfile = "3.1.0"
conv = "0.3.3"
euclid = "0.20"
log = "0.4.10"
[target.'cfg(target_os = "macos")'.dependencies]
pasteboard = "0.1.1"
[dependencies.image]
version = "0.22"
default-features = false
features = ["jpeg", "png_codec", "jpeg_rayon"]
[dependencies.syntect]
version = "3.3"
default-features = false
features = ["parsing", "dump-load"]
[dependencies.failure]
version = "0.1.6"
optional = true
[dependencies.structopt]
version = "0.3"
default-features = false
features = ["color", "wrap_help"]
optional = true
[dependencies.env_logger]
version = "0.7.1"
default-features = false
features = ["termcolor", "atty", "humantime"]
optional = true
[features]
default = ["bin"]
bin = ["structopt", "env_logger", "failure"]