-
Notifications
You must be signed in to change notification settings - Fork 0
/
Cargo.toml
35 lines (31 loc) · 969 Bytes
/
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
[package]
name = "c2g"
version = "0.9.0"
authors = ["Tomas Farias <[email protected]>"]
edition = "2021"
description = "Turn your chess PGN files into GIFs!"
readme = "README.md"
repository = "https://github.com/tomasfarias/c2g"
license = "GPL-3.0+"
keywords = ["chess", "pgn", "gif"]
[features]
default = ["include-fonts", "include-svgs"]
# Embeds the fonts directory at compile time. Removes the need to pass a path to a local font when running the CLI.
include-fonts = ["include_dir"]
# Embeds the svgs directory at compile time. Removes the need to pass a path to a local directory containing SVG pieces and terminations when running the CLI.
include-svgs = ["include_dir"]
[dependencies]
clap = "2.33"
env_logger = "0.9"
gif = "^0.13.1"
image = "^0.25.1"
log = "^0.4"
pgn-reader = "0.22"
rayon = "^1.10"
regex = "^1.5.5"
resvg = "0.22"
shakmaty = "0.23"
thiserror = "1.0"
tiny-skia = "0.6"
usvg = "0.22"
include_dir = { version = "^0.6", optional = true }