Commit graph

86 commits

Author SHA1 Message Date
Danilo Bargen
b5f2c6ff39 Upgrade env_logger: 0.9 → 0.10 2022-12-24 15:03:41 +01:00
Danilo Bargen
e75f814294 Run cargo update 2022-12-24 15:03:41 +01:00
Danilo Bargen
7c371a6852 Release v1.6.1 2022-10-24 14:42:37 +02:00
Danilo Bargen
b10f8a9485
Run cargo update (#299) 2022-10-22 20:24:57 +00:00
Danilo Bargen
357f0e7e71 Release v1.6.0 2022-10-02 00:36:58 +02:00
Danilo Bargen
7ded00eda0
Run cargo update (#291) 2022-10-01 22:23:26 +00:00
Danilo Bargen
026ae72742
Switch from ansi_term to yansi (#288)
ansi_term is not actively maintained anymore (see
https://rustsec.org/advisories/RUSTSEC-2021-0139). Replace it with a
suitable alternative.

I looked at termcolor, owo-colors and yansi and picked yansi:

- It is very simple
- It does not do terminal color support checking (we already do that in
  tealdeer)
- Its color enum type is almost identical to the one from ansi_term, so
  migrating is easy

The only change from a config API point of view is that "purple" is now
renamed to "magenta", but "purple" still works.
2022-09-27 23:55:50 +02:00
Danilo Bargen
f45a502383
Run cargo update (#287) 2022-09-24 20:54:01 +00:00
Danilo Bargen
3629002d5c Upgrade zip: 0.5 → 0.6 2022-05-03 21:49:44 +02:00
Danilo Bargen
6e09af2f8b Run cargo update 2022-05-03 21:47:15 +02:00
Danilo Bargen
9e97d454f0 Add anyhow dependency 2022-01-08 22:08:29 +01:00
Danilo Bargen
b09f250370
Use clap 3 stable (#243) 2022-01-01 15:10:20 +01:00
Danilo Bargen
81c30bfb77 Release v1.5.0 2021-12-31 23:04:51 +01:00
Danilo Bargen
20b7c5c33f Run cargo update 2021-12-31 18:53:56 +01:00
Danilo Bargen
876f390ac6 Clap: Enable colored error messages 2021-12-11 18:00:19 +01:00
Danilo Bargen
b726840246 Run cargo update 2021-12-11 18:00:19 +01:00
Danilo Bargen
25d771778a Update clap to 3.0.0-rc.4 2021-12-11 17:36:28 +01:00
Danilo Bargen
02c2d6709a
Run cargo update (#226)
This fixes a vulnerability in tokio (RUSTSEC-2021-0124).
2021-12-04 21:47:58 +01:00
Danilo Bargen
6823e271a0 Disable clap colors for now
May be re-introduced if clap adds a `DisableColoredHelp` setting.

Relevant discussion:

- https://github.com/clap-rs/clap/pull/2845#issuecomment-945185102
- https://github.com/dbrgn/tealdeer/pull/108#issuecomment-945182471
2021-10-17 22:10:08 +02:00
Danilo Bargen
5ad7dcfa34 Argument parsing: Switch from docopt to clap 2021-10-17 21:12:08 +02:00
Danilo Bargen
84227937ae Remove some optional zip features
By getting rid of the bzip2 and time features, we reduce the number of
dependencies. The official tldr pages archive uses deflate compression,
so that should be sufficient.
2021-10-16 20:40:40 +02:00
Danilo Bargen
0ebd727a32 Remove tar dependency
It's unused since #213.
2021-10-16 20:36:53 +02:00
invakid404
006ec6f3c0 Switch to recommended tldr-pages archive URL
Instead of downloading the GitHub repository archive, download the pages
from the official URL instead.

Squashed commits:

- chore: use recommended tldr-pages archive url
- chore: extract pages dir to constant
- chore(deps): install zip crate
- feat: use zip crate to unpack archive
- chore(deps): drop flate2
2021-10-16 20:09:32 +02:00
Danilo Bargen
07dc5c6bf4 Upgrade predicates and assert_cmd: 1 → 2 2021-09-12 21:12:00 +02:00
Danilo Bargen
85ab38d892 Remove dev dependency on remove_dir_all
It's a transitive dependency of the `tempdir` crate. It was pinned to a
specific version to achieve compatibility with Rust 1.39, but we now run
on 1.53.
2021-09-12 21:06:06 +02:00
Danilo Bargen
7aa111e727 Upgrade reqwest: 0.10 → 0.11
This increases the release binary size by 144 KiB, but it reduces the
number of transitive dependencies from 152 to 140.
2021-09-12 20:56:24 +02:00
Danilo Bargen
b359fd8e5b Upgrade pager: 0.15 → 0.16 2021-09-12 20:42:10 +02:00
Danilo Bargen
4376162914 Upgrade env_logger: 0.7 → 0.9 2021-09-12 20:40:08 +02:00
Danilo Bargen
ffc30d1243 Run cargo update 2021-09-12 20:35:00 +02:00
Sondre Nilsen
22693c09ba Use rustls for TLS to avoid dynamic linking 2021-05-25 16:38:00 +02:00
Danilo Bargen
6d07e78613
Remove xdg dependency (#152)
It's not being used anymore.
2020-11-08 13:15:52 +01:00
Danilo Bargen
30b7c5febc
Release v1.4.1 (#140) 2020-09-04 12:25:37 +02:00
Bruno A. Muciño
d2b5614f1a Replace deprecated tempdir crate with tempfile crate (#139)
Fixes #134.
2020-09-04 11:59:10 +02:00
Danilo Bargen
5a9cde733b
Release v1.4.0 (#136) 2020-09-03 23:21:25 +02:00
Danilo Bargen
504639b6a6
Run cargo update (#133)
This includes a security fix of the bumpalo crate:

https://rustsec.org/advisories/RUSTSEC-2020-0006
2020-09-03 08:09:38 +02:00
Lovecraftian Horror
bc04e1ac00 Disable styling for --color auto if the output is being piped 2020-08-31 00:08:54 +02:00
Danilo Bargen
5a2d054ace Update Cargo.lock
Should have been part of 590bb44.
2020-08-30 18:48:29 +02:00
Danilo Bargen
95e6b0520f
Upgrade assert_cmd and escargot (#123) 2020-07-18 00:24:29 +02:00
Ilaï Deutel
a59182b6cc Use filetime instead of utime to set modification times in tests 2020-05-31 17:12:57 -07:00
Danilo Bargen
3a5c0ce59b
Release v1.3.0 2020-02-28 01:14:39 +01:00
Danilo Bargen
04e61080d2 Upgrade reqwest
This reduces the dependency tree from 333 to 188 entries, mostly because
some reqwest features were disabled :)
2020-02-28 00:20:37 +01:00
Danilo Bargen
2812a0ce99 Run cargo update 2020-02-28 00:20:37 +01:00
Danilo Bargen
6ad91a440c
Update dependencies, increase MSRV to 1.36 (#92) 2019-11-27 10:58:21 +01:00
Danilo Bargen
8dc480e10f
Release v1.2.0 2019-08-10 00:21:32 +02:00
Danilo Bargen
8ae19fd32e Upgrade env_logger 2019-07-28 17:48:42 +02:00
Danilo Bargen
70cea2245d Upgrade docopt 2019-07-28 17:48:42 +02:00
Danilo Bargen
135698b5d9 Upgrade cargo-toml 2019-07-28 17:48:42 +02:00
Danilo Bargen
ee7c5c1e61 Run cargo update 2019-07-28 17:48:42 +02:00
jdvr
0879116a45 Add pager support 2019-03-11 10:52:12 +01:00
Gabriel Martinez
495c3e97d9 Support colors on Windows using ansi_term
We try to enable ANSI color support on Windows using the new APIs.
If that succeeds, we print colors as usual. If it fails, we disable
styles completely.
2019-02-09 21:44:10 -08:00