-
-
Notifications
You must be signed in to change notification settings - Fork 8
/
Copy pathCargo.toml
91 lines (81 loc) · 2.59 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
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
[package]
name = "gerb"
version = "0.0.1-alpha+2024-10-17"
edition = "2021"
resolver = "2"
authors = ["Manos Pitsidianakis <manos@pitsidianak.is>"]
description = "Font editor for UFO 3 fonts."
license = "GPL-3.0-or-later"
readme = "README.md"
homepage = "https://github.com/epilys/gerb"
repository = "https://github.com/epilys/gerb"
keywords = ["font", "fonts", "editor", "ufo", "typography"]
categories = ["graphics"]
default-run = "gerb"
exclude = ["Makefile", "src/unicode/names/unicode.py", "/tests", "/docs", "/dist", ".*", "CODE_OF_CONDUCT.md", "CONTRIBUTING.md", "DEVELOPMENT.md", "/*.py", "/*.png", "*.scss", "src/themes/**/README"]
[[bin]]
name = "gerb"
path = "src/main.rs"
[[example]]
name = "repl"
path = "src/repl.rs"
required-features = ["python"]
[dependencies]
#build-info = { version = "0.0.30" }
generational-arena = "0.2"
gio = { version = "^0.15", features = [ "v2_56", ] }
glib = { version = "^0.15" }
gtk = { version = "^0.15", features = [ "v3_20", "v3_24" ] }
indexmap = { version = "1.9", features = [ "serde", ] }
once_cell = "1.2.0"
plist = { version = "1" }
quick-xml = { version = "^0.28", features = [ "serialize" ] }
rand = { version = "0.8" }
regex = { version = "1" }
serde = { version = "1.0", features = [ "derive" ] }
serde_json = { version = "1" }
smallvec = { version = "1.10", features = ["const_new", "const_generics", "union", "serde"] }
toml_edit = { version = "^0.19", features = ["serde", "perf"] }
xdg = { version = "2.1" }
[dependencies.cairo-rs]
version = "^0.15"
features = ["svg", "png"]
[dependencies.git2]
version = "0.17"
optional = true
default-features = false
[dependencies.pyo3]
version = "0.18"
optional = true
features = ["auto-initialize", "indexmap"]
[dependencies.uuid]
version = "1.2.1"
features = [
"v4", # Lets you generate random UUIDs
"fast-rng", # Use a faster (but still sufficiently random) RNG
"macro-diagnostics", # Enable better diagnostics for compile-time UUIDs
"serde",
]
#[build-dependencies]
#build-info-build = { version = "0.0.30" }
[features]
default = ["python", "git"]
python = ["pyo3"]
git = ["git2"]
[profile.release]
lto = "fat"
codegen-units = 1
opt-level = "s"
debug = false
strip = true
[package.metadata.deb]
maintainer = "Manos Pitsidianakis <manos@pitsidianak.is>"
copyright = "2022, Manos Pitsidianakis <manos@pitsidianak.is>"
depends = "$auto"
section = "graphics"
priority = "optional"
assets = [
["target/release/gerb", "usr/bin/", "755"],
["README.md", "usr/share/doc/gerb/README", "644"],
["dist/io.github.epilys.gerb.desktop", "usr/share/applications/io.github.epilys.gerb.desktop", "644"],
]