mirror of
https://github.com/alacritty/alacritty.git
synced 2024-11-11 13:51:01 -05:00
8ee0d2b5b2
This adds the option to automatically launch URLs with a specified program when clicking on them. The config option `mouse.url_launcher` has been added to specify which program should be used to open the URL. The URL is always passed as the last parameter to the specified command. It is not always desired for URLs to open automatically when clicking on them. To resolve this a new `modifiers` field has been introduced to the config, which allows specifying which keyboard modifiers need to be held down to launch URLs in the specified launcher. Some tests have been added to make sure that the edge-cases of the URL parsing are protected against future regressions. To make testing easier the parsing method has been moved into the `SemanticSearch` trait. The name of the trait has also been changed to just `Search` and it has been moved to `src/term/mod.rs` to fit the additional functionality. This fixes #113.
101 lines
2.6 KiB
TOML
101 lines
2.6 KiB
TOML
[package]
|
|
name = "alacritty"
|
|
version = "0.2.1"
|
|
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"
|
|
|
|
[[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.5"
|
|
serde = "1"
|
|
serde_derive = "1"
|
|
serde_json = "1"
|
|
serde_yaml = "0.7"
|
|
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 = "0.16"
|
|
env_logger = "0.5"
|
|
base64 = "0.9.0"
|
|
winit = { version = "0.15", features = ["icon_loading"] }
|
|
image = "0.19"
|
|
static_assertions = "0.2.5"
|
|
terminfo = "0.6.1"
|
|
url = "1.7.1"
|
|
|
|
[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.9"
|
|
|
|
[target.'cfg(windows)'.build-dependencies]
|
|
embed-resource = "1.1.4"
|
|
reqwest = "0.8"
|
|
tempdir = "0.3"
|
|
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, cmake, libfreetype6-dev, libfontconfig1-dev, xclip"
|
|
section = "rust"
|
|
priority = "optional"
|
|
assets = [
|
|
["target/release/alacritty", "usr/local/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"],
|
|
]
|
|
|
|
[patch.crates-io]
|
|
servo-freetype-sys = { path = "servo-freetype-proxy" }
|