aboutsummaryrefslogtreecommitdiff
path: root/Cargo.toml
blob: 65293281dbca3de2399d2e14485872e09dda0311 (plain)
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
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
[package]
name = "alacritty"
version = "0.2.3"
authors = ["Joe Wilm <joe@jwilm.com>"]
license = "Apache-2.0"
build = "build.rs"
description = "GPU-accelerated terminal emulator"
readme = "README.md"
homepage = "https://github.com/jwilm/alacritty"

[workspace]
members = [
    "font",
    "copypasta",
    "winpty"
]

[[bin]]
doc = false
path = "src/main.rs"
name = "alacritty"

[dependencies]
libc = "0.2"
cgmath = "0.16"
notify = "4"
bitflags = "1"
font = { path = "./font" }
errno = "0.2"
parking_lot = "0.6"
serde = "1"
serde_derive = "1"
serde_json = "1"
serde_yaml = "0.8"
vte = "0.3"
mio = "0.6"
mio-more = "0.1"
copypasta = { path = "./copypasta" }
xdg = "2"
log = "0.4"
clap = "2"
fnv = "1"
unicode-width = "0.1"
arraydeque = "0.4"
glutin = { version = "0.19", features = ["icon_loading"] }
env_logger = "0.6.0"
base64 = "0.10.0"
image = "0.20.1"
static_assertions = "0.3.0"
terminfo = "0.6.1"
url = "1.7.1"
time = "0.1.40"

[target.'cfg(any(target_os = "linux", target_os = "freebsd", target_os="dragonfly", target_os="openbsd"))'.dependencies]
x11-dl = "2"

[target.'cfg(windows)'.dependencies]
winpty = { path = "./winpty" }
mio-named-pipes = "0.1"
winapi = { version = "0.3.5", features = ["winuser", "synchapi", "roerrorapi", "winerror"]}
dunce = "0.1"

[target.'cfg(target_os = "macos")'.dependencies]
objc = "0.2.2"
dirs = "1.0.2"

[features]
default = []
# Enabling this feature makes shaders automatically reload when changed
live-shader-reload = []
nightly = []
bench = []

[build-dependencies]
gl_generator = "0.10.0"

[target.'cfg(windows)'.build-dependencies]
embed-resource = "1.1.4"
tempfile = "3.0.4"
reqwest = "0.8"
zip = "0.4"

[profile.release]
lto = true
debug = 1

[package.metadata.deb]
maintainer = "Joe Wilm <joe@jwilm.com>"
license-file = ["LICENSE-APACHE", "3"]
extended-description = """\
Alacritty is the fastest terminal emulator in existence. Using the GPU for \
rendering enables optimizations that simply aren't possible in other emulators. \
Alacritty currently supports FreeBSD, Linux, macOS, and OpenBSD. Windows \
support is planned before the 1.0 release.  """
depends = "$auto"
section = "rust"
priority = "optional"
assets = [
    ["target/release/alacritty", "usr/bin/", "755"],
    ["alacritty.desktop", "usr/share/applications/", "644"],
    ["alacritty-completions.bash", "usr/share/bash-completion/completions/alacritty", "644"],
    ["alacritty-completions.fish", "usr/share/fish/completions/alacritty.fish", "644"],
    ["alacritty-completions.zsh", "usr/share/zsh/vendor-completions/_alacritty", "644"],
    ["alacritty.info", "usr/share/terminfo/a/alacritty", "644"],
]
maintainer-scripts = "debian"

[patch.crates-io]
servo-freetype-sys = { path = "servo-freetype-proxy" }