summaryrefslogtreecommitdiffstats
path: root/alacritty/Cargo.toml
blob: 6a1d5f4430bdf8ac5825d1a80125d8a19becdb61 (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
[package]
name = "alacritty"
version = "0.4.2-rc4"
authors = ["Christian Duerr <contact@christianduerr.com>", "Joe Wilm <joe@jwilm.com>"]
license = "Apache-2.0"
description = "GPU-accelerated terminal emulator"
readme = "../README.md"
homepage = "https://github.com/alacritty/alacritty"
edition = "2018"

[dependencies]
alacritty_terminal = { path = "../alacritty_terminal", default-features = false }
clap = "2"
log = "0.4"
time = "0.1.40"
env_logger = "0.7.1"
fnv = "1"
serde = { version = "1", features = ["derive"] }
serde_yaml = "0.8"
serde_json = "1"
glutin = { version = "0.24.0", features = ["serde"] }
notify = "4"
libc = "0.2"
unicode-width = "0.1"
parking_lot = "0.9"
font = { path = "../font" }
urlocator = "0.1.3"

[build-dependencies]
gl_generator = "0.14.0"
rustc_tools_util = "0.2.0"

[target.'cfg(not(windows))'.dependencies]
xdg = "2"

[target.'cfg(not(target_os = "macos"))'.dependencies]
image = { version = "0.22.3", default-features = false, features = ["ico"] }

[target.'cfg(any(target_os = "macos", windows))'.dependencies]
dirs = "2.0.2"

[target.'cfg(not(any(target_os="windows", target_os="macos")))'.dependencies]
x11-dl = "2"

[target.'cfg(windows)'.dependencies]
winapi = { version = "0.3.7", features = ["impl-default", "wincon"]}

[target.'cfg(windows)'.build-dependencies]
embed-resource = "1.3"

[features]
default = ["wayland", "x11"]
x11 = ["alacritty_terminal/x11"]
wayland = ["alacritty_terminal/wayland"]
# Enabling this feature makes shaders automatically reload when changed
live-shader-reload = []
nightly = []
bench = []

[package.metadata.deb]
maintainer = "Christian Duerr <contact@christianduerr.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 without it.  """
depends = "$auto"
section = "rust"
priority = "optional"
assets = [
    ["../target/release/alacritty", "usr/bin/", "755"],
    ["../extra/linux/Alacritty.desktop", "usr/share/applications/", "644"],
    ["../extra/logo/alacritty-term.svg", "usr/share/pixmaps/Alacritty.svg", "644"],
    ["../extra/completions/alacritty.bash", "usr/share/bash-completion/completions/alacritty", "644"],
    ["../extra/completions/alacritty.fish", "usr/share/fish/completions/alacritty.fish", "644"],
    ["../extra/completions/_alacritty", "usr/share/zsh/vendor-completions/_alacritty", "644"],
]
maintainer-scripts = "../extra/linux/debian"