aboutsummaryrefslogtreecommitdiff
path: root/alacritty/build.rs
Commit message (Collapse)AuthorAge
* Migrate CLI config to structoptChristian Duerr2021-08-18
| | | | | | | | | | | | | While structopt also uses clap under the hood, the configuration through annotations allows for significantly more maintainable and concise CLI definition. This will also make it far easier to have platform-specific options, which is problematic with clap since no individual methods can be removed from its builder. The change in Alacritty's CLI has been kept to a minimum with the only significant changes being the `--version` flag listed before the `-v` flag and the authors all on the same line.
* Symlink windows assets for cargo installChristian Duerr2021-07-14
| | | Fixes #5114.
* Fix unused import warningChristian Duerr2020-11-15
| | | This fixes an unused import warning introduced with 198d3cb.
* Load only gl 3.3 functionsKirill Chibisov2020-11-14
| | | | | | | | This commit makes 'gl::load_with' only load symbols from the minimal OpenGL (3.3) version alacritty aims to support. Doing so reduces the size of gl_bindings.rs from 21K LoC to 11K LoC, and also the actual loading by up to ~2x, thugh the loading is usually sub millisecond anyway.
* Remove rustc_tools_util dependencyChristian Duerr2020-10-25
| | | | | | | | Since our usage of the rustc_tools_util crate is so trivial, it seems like we should be able to just inline it directly into Alacritty. It's a very well trusted crate, being hosted directly by rust-lang and it does not pull in any other dependencies, but having a dependency for just 6 lines of code seems a bit extreme.
* Fix feature checking in cross buildsKirill Chibisov2020-10-10
| | | | | Checking for target os in build.rs doesn't work, since build.rs is running for host, so checking should be done in src. Thus moving 'compile_error!' check from build.rs to main.rs.
* Remove copyright notice from filesKirill Chibisov2020-08-10
| | | | This commit is a follow-up to 7aafbb757d485c5ff065324464dde8b5322cdd921 which was an effort to remove copyright notice from files.
* Bump minimum supported Rust version to 1.43.0Kirill Chibisov2020-07-28
|
* Use compile_error! instead of panic! in build.rsKirill Chibisov2020-06-15
| | | | The compile_error! failure is way more readable and noticeable than panic!.
* Add option to pick Linux/BSD backendsKirill Chibisov2020-03-13
| | | | | | This commit adds two cargo features `x11` and `wayland` to pick Linux/BSD backends, with both enabled by default. Fixes #3340.
* Move icon embed step from winpty to Alacrittysterlingjensen2019-11-30
|
* Move renderer from alacritty_terminal to alacrittyKirill Chibisov2019-11-23
|
* Fix build without git绅士喵2019-06-06
|
* Refactor config parsing filesChristian Duerr2019-05-10
| | | | | | | | This is a large refactor of the config parsing structure, attempting to reduce the size of the file a bit by splitting it up into different modules with more specific purposes. This also fixes #2279.
* Add git hash to version string, and fix crate name (#2397)Nathan Lilienthal2019-05-03
This moves `cli` out of `alacritty_terminal` and into `alacritty` where it belongs, along with the `clap` dependency.