-
Notifications
You must be signed in to change notification settings - Fork 8
/
Copy pathCargo.toml
49 lines (44 loc) · 1.54 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
[package]
name = "sgf-render"
version = "3.2.2"
authors = ["Julian Andrews <jandrews271@gmail.com>"]
edition = "2018"
license = "MIT"
keywords = ["baduk", "sgf", "go", "svg", "png"]
repository = "https://github.com/julianandrews/sgf-render/"
readme = "README.md"
description = "CLI to generate diagrams of Go games from SGF game records"
categories = ["command-line-utilities", "multimedia::images", "rendering", "visualization"]
build = "build.rs"
[lib]
name = "sgf_render"
path = "src/lib/mod.rs"
[features]
default = ["png"]
png = ["resvg", "usvg", "tiny-skia"]
[dependencies]
getopts = "0.2.21"
lazy_static = "1.4.0"
minidom = "0.15.2"
sgf-parse = "4.2.2"
toml = "0.8.10"
serde = { version = "1.0", features = ["derive"] }
resvg = { version = "0.40.0", features = ["text"], optional = true }
usvg = { version = "0.40.0", optional = true }
tiny-skia = { version = "0.11.4", optional = true }
clap = { version = "4.5.1", features = ["derive", "wrap_help"] }
[dev-dependencies]
shell-words = "1.0.0"
[package.metadata.deb]
license-file = ["LICENSE", "0"]
extended-description = """
sgf-render is suitable for generating diagrams to illustrate board positions,
sequences, tsumego problems and solutions, or whole game kifu. Most SGF markup
and properties are supported. Default output is clean and easily customizable
SVG."""
assets = [
["target/release/sgf-render", "/usr/bin/", "755"],
["README.md", "/usr/share/doc/sgf-render/", "644"],
["FONT-LICENSE", "/usr/share/doc/sgf-render/", "644"],
["man/sgf-render.1.gz", "/usr/share/man/man1/", "644"],
]