12 Commits

Author SHA1 Message Date
John Vandenberg
cd08c47fdf Bump dependencies 2023-10-22 20:04:02 +08:00
ducaale
7b51c4905c fix remaining needless-borrows 2022-11-05 14:53:05 +00:00
Jakub Jirutka
01c4cb1198 allow to build with native-tls only
Bundling (static linking) TLS library is a very bad idea from the
security perspective and Linux distributions try to avoid it. This
will allow to build xh with native-tls (i.e. dynamically linked
system-provided TLS library) only, without rustls.
2022-10-05 00:40:40 +01:00
Shun Sakai
f6d3deb895 Fix needless wildcard import 2022-03-11 21:23:58 +09:00
Jan Verbeek
49ff79e480 Resolve clippy::single_char_pattern lint
(This lint isn't out yet.)
2022-02-17 20:33:08 +01:00
Jan Verbeek
d78a931bff Do not rebuild when no files changed
We were asking cargo to rebuild if assets/xhs or assets/xhs.1.gz
changed. Those are dead symlinks, so cargo always errors and
[assumes they changed]
(e475fe4a17/src/cargo/core/compiler/fingerprint.rs (L1733)).

That caused a lot of unnecessary rebuilds. I found the problem by
running with `CARGO_LOG=cargo::core::compiler::fingerprint=info`.

Asking cargo to watch only the files we actually care about fixes it.
2021-11-16 22:19:10 +01:00
Shun Sakai
ce7854864e Add feature status to version 2021-11-08 16:00:00 +09:00
Jan Verbeek
0d784bd6ea Split small syntax definitions into separate file 2021-03-09 19:11:33 +01:00
Jan Verbeek
00efa67325 Detect modified files inside assets 2021-03-04 23:30:06 +01:00
Jan Verbeek
e9ce704305 Support non-standard HTTP methods 2021-03-04 21:33:38 +01:00
ducaale
18b02ee702 run cargo fmt 2020-11-22 19:19:28 +00:00
ducaale
236f1ab3a2 prepare + link assets at compile time 2020-11-22 19:17:14 +00:00