Commit graph

170 commits

Author SHA1 Message Date
dependabot[bot]
a848e5e38f chore(deps): bump tokio from 1.27.0 to 1.28.0
Bumps [tokio](https://github.com/tokio-rs/tokio) from 1.27.0 to 1.28.0.
- [Release notes](https://github.com/tokio-rs/tokio/releases)
- [Commits](https://github.com/tokio-rs/tokio/compare/tokio-1.27.0...tokio-1.28.0)

---
updated-dependencies:
- dependency-name: tokio
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2023-05-01 11:34:51 -07:00
Matt Brubeck
402079117c Upgrade rustls and tokio-rustls
Closes #250. Closes #248.
2023-04-03 10:41:37 -07:00
dependabot[bot]
f498606a7e chore(deps): bump tokio from 1.26.0 to 1.27.0
Bumps [tokio](https://github.com/tokio-rs/tokio) from 1.26.0 to 1.27.0.
- [Release notes](https://github.com/tokio-rs/tokio/releases)
- [Commits](https://github.com/tokio-rs/tokio/compare/tokio-1.26.0...tokio-1.27.0)

---
updated-dependencies:
- dependency-name: tokio
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2023-03-28 07:50:25 -07:00
Johann150
d72cdad0aa
update documents for 3.3.0 2023-03-18 08:39:48 +01:00
dependabot[bot]
b441ff8f19 chore(deps): bump tokio from 1.24.2 to 1.26.0
Bumps [tokio](https://github.com/tokio-rs/tokio) from 1.24.2 to 1.26.0.
- [Release notes](https://github.com/tokio-rs/tokio/releases)
- [Commits](https://github.com/tokio-rs/tokio/commits/tokio-1.26.0)

---
updated-dependencies:
- dependency-name: tokio
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2023-03-17 17:31:54 +01:00
dependabot[bot]
9b53095ce0
chore(deps): bump tokio from 1.22.0 to 1.24.2 (#236) 2023-01-27 18:13:57 +01:00
dependabot[bot]
7b4ad1d013
chore(deps): bump rustls from 0.20.7 to 0.20.8 (#234) 2023-01-27 18:10:16 +01:00
dependabot[bot]
b9c2cbc166
chore(deps): bump once_cell from 1.16.0 to 1.17.0 (#229) 2023-01-27 16:58:53 +01:00
dependabot[bot]
47c89bd6a7 chore(deps): bump tokio from 1.21.2 to 1.22.0
Bumps [tokio](https://github.com/tokio-rs/tokio) from 1.21.2 to 1.22.0.
- [Release notes](https://github.com/tokio-rs/tokio/releases)
- [Commits](https://github.com/tokio-rs/tokio/compare/tokio-1.21.2...tokio-1.22.0)

---
updated-dependencies:
- dependency-name: tokio
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2022-11-21 15:41:05 -08:00
dependabot[bot]
69cbdb6c73 chore(deps): bump once_cell from 1.15.0 to 1.16.0
Bumps [once_cell](https://github.com/matklad/once_cell) from 1.15.0 to 1.16.0.
- [Release notes](https://github.com/matklad/once_cell/releases)
- [Changelog](https://github.com/matklad/once_cell/blob/master/CHANGELOG.md)
- [Commits](https://github.com/matklad/once_cell/compare/v1.15.0...v1.16.0)

---
updated-dependencies:
- dependency-name: once_cell
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2022-10-31 19:10:56 -07:00
dependabot[bot]
75a0e4a901 chore(deps): bump rustls from 0.20.6 to 0.20.7
Bumps [rustls](https://github.com/rustls/rustls) from 0.20.6 to 0.20.7.
- [Release notes](https://github.com/rustls/rustls/releases)
- [Changelog](https://github.com/rustls/rustls/blob/main/RELEASE_NOTES.md)
- [Commits](https://github.com/rustls/rustls/compare/v/0.20.6...v/0.20.7)

---
updated-dependencies:
- dependency-name: rustls
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2022-10-30 22:22:58 -07:00
dependabot[bot]
176b3a6341 chore(deps): bump rcgen from 0.9.3 to 0.10.0
Bumps [rcgen](https://github.com/est31/rcgen) from 0.9.3 to 0.10.0.
- [Release notes](https://github.com/est31/rcgen/releases)
- [Changelog](https://github.com/est31/rcgen/blob/master/CHANGELOG.md)
- [Commits](https://github.com/est31/rcgen/compare/v0.9.3...v0.10.0)

---
updated-dependencies:
- dependency-name: rcgen
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2022-10-30 22:21:29 -07:00
dependabot[bot]
a8649993d3 chore(deps): bump once_cell from 1.14.0 to 1.15.0
Bumps [once_cell](https://github.com/matklad/once_cell) from 1.14.0 to 1.15.0.
- [Release notes](https://github.com/matklad/once_cell/releases)
- [Changelog](https://github.com/matklad/once_cell/blob/master/CHANGELOG.md)
- [Commits](https://github.com/matklad/once_cell/compare/v1.14.0...v1.15.0)

---
updated-dependencies:
- dependency-name: once_cell
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2022-10-30 22:20:11 -07:00
dependabot[bot]
91fa898aaa chore(deps): bump url from 2.3.0 to 2.3.1
Bumps [url](https://github.com/servo/rust-url) from 2.3.0 to 2.3.1.
- [Release notes](https://github.com/servo/rust-url/releases)
- [Commits](https://github.com/servo/rust-url/compare/v2.3.0...v2.3.1)

---
updated-dependencies:
- dependency-name: url
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2022-09-13 07:54:45 -07:00
dependabot[bot]
5f0f6ff238 chore(deps): bump tokio from 1.20.1 to 1.21.0
Bumps [tokio](https://github.com/tokio-rs/tokio) from 1.20.1 to 1.21.0.
- [Release notes](https://github.com/tokio-rs/tokio/releases)
- [Commits](https://github.com/tokio-rs/tokio/compare/tokio-1.20.1...tokio-1.21.0)

---
updated-dependencies:
- dependency-name: tokio
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2022-09-12 11:28:29 -07:00
dependabot[bot]
d8a3ec5a3c chore(deps): bump once_cell from 1.13.0 to 1.14.0
Bumps [once_cell](https://github.com/matklad/once_cell) from 1.13.0 to 1.14.0.
- [Release notes](https://github.com/matklad/once_cell/releases)
- [Changelog](https://github.com/matklad/once_cell/blob/master/CHANGELOG.md)
- [Commits](https://github.com/matklad/once_cell/compare/v1.13.0...v1.14.0)

---
updated-dependencies:
- dependency-name: once_cell
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2022-09-12 11:27:23 -07:00
dependabot[bot]
7403545506 chore(deps): bump url from 2.2.2 to 2.3.0
Bumps [url](https://github.com/servo/rust-url) from 2.2.2 to 2.3.0.
- [Release notes](https://github.com/servo/rust-url/releases)
- [Commits](https://github.com/servo/rust-url/compare/v2.2.2...v2.3.0)

---
updated-dependencies:
- dependency-name: url
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2022-09-12 11:26:00 -07:00
dependabot[bot]
21f27cfb04 chore(deps): bump percent-encoding from 2.1.0 to 2.2.0
Bumps [percent-encoding](https://github.com/servo/rust-url) from 2.1.0 to 2.2.0.
- [Release notes](https://github.com/servo/rust-url/releases)
- [Commits](https://github.com/servo/rust-url/compare/percent-encoding-v2.1.0...v2.2.0)

---
updated-dependencies:
- dependency-name: percent-encoding
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2022-09-12 11:24:34 -07:00
dependabot[bot]
7cd82c7812
chore(deps): bump rcgen from 0.9.2 to 0.9.3 (#188) 2022-07-23 19:55:04 +02:00
dependabot[bot]
b847dfb2d0
chore(deps): bump once_cell from 1.12.0 to 1.13.0 (#186) 2022-07-14 12:28:13 +02:00
dependabot[bot]
ca19615a5b
chore(deps): bump tokio from 1.19.2 to 1.20.0 (#187) 2022-07-14 12:27:59 +02:00
dependabot[bot]
f761a993eb chore(deps): bump tokio from 1.18.2 to 1.19.1
Bumps [tokio](https://github.com/tokio-rs/tokio) from 1.18.2 to 1.19.1.
- [Release notes](https://github.com/tokio-rs/tokio/releases)
- [Commits](https://github.com/tokio-rs/tokio/compare/tokio-1.18.2...tokio-1.19.1)

---
updated-dependencies:
- dependency-name: tokio
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2022-06-06 09:52:00 -07:00
dependabot[bot]
733de07895
chore(deps): bump once_cell from 1.11.0 to 1.12.0 (#181) 2022-06-01 15:08:30 +02:00
dependabot[bot]
c5212cb735
chore(deps): bump once_cell from 1.10.0 to 1.11.0 (#179) 2022-05-20 12:28:20 +02:00
Johann150
6fb1b14253
3.2.4 2022-05-18 13:45:39 +02:00
dependabot[bot]
dfb054ae42
chore(deps): bump rustls from 0.20.5 to 0.20.6 (#177) 2022-05-18 13:15:34 +02:00
dependabot[bot]
761ff58102
chore(deps): bump rustls from 0.20.4 to 0.20.5 (#176) 2022-05-16 20:13:15 +02:00
dependabot[bot]
9ff7e9bdb3
chore(deps): bump tokio-rustls from 0.23.3 to 0.23.4 (#174) 2022-05-05 14:52:36 +02:00
dependabot[bot]
34b31e189a
chore(deps): bump tokio from 1.17.0 to 1.18.0 (#170) 2022-05-01 23:54:10 +02:00
dependabot[bot]
230c1e39ce chore(deps): bump tokio-rustls from 0.23.2 to 0.23.3
Bumps [tokio-rustls](https://github.com/tokio-rs/tls) from 0.23.2 to 0.23.3.
- [Release notes](https://github.com/tokio-rs/tls/releases)
- [Commits](https://github.com/tokio-rs/tls/commits)

---
updated-dependencies:
- dependency-name: tokio-rustls
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2022-03-21 10:07:23 -07:00
dependabot[bot]
29e529a2fe chore(deps): bump once_cell from 1.9.0 to 1.10.0
Bumps [once_cell](https://github.com/matklad/once_cell) from 1.9.0 to 1.10.0.
- [Release notes](https://github.com/matklad/once_cell/releases)
- [Changelog](https://github.com/matklad/once_cell/blob/master/CHANGELOG.md)
- [Commits](https://github.com/matklad/once_cell/compare/v1.9.0...v1.10.0)

---
updated-dependencies:
- dependency-name: once_cell
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2022-03-08 07:30:35 -08:00
dependabot[bot]
f50edd80cc
chore(deps): bump rcgen from 0.9.0 to 0.9.2 (#155) 2022-02-22 21:04:47 +01:00
dependabot[bot]
36f48b3feb
chore(deps): bump rustls from 0.20.2 to 0.20.4 (#152) 2022-02-22 20:59:22 +01:00
dependabot[bot]
9bf3cb84c2
chore(deps): bump tokio from 1.16.1 to 1.17.0 (#148) 2022-02-22 20:58:42 +01:00
Johann150
7cd245c79e
release 3.2.3 2022-02-04 20:03:54 +01:00
dependabot[bot]
0f6b0ea4ad
chore(deps): bump tokio from 1.15.0 to 1.16.1 (#138) 2022-02-03 21:50:31 +01:00
dependabot[bot]
068077e29b
chore(deps): bump rcgen from 0.8.14 to 0.9.0 (#139) 2022-02-03 21:49:28 +01:00
Johann150
0924a3a6e2
release 3.2.2 2022-01-25 23:59:34 +01:00
dependabot[bot]
d7936bcfca
chore(deps): bump tokio from 1.14.0 to 1.15.0 (#131) 2022-01-24 18:09:00 +01:00
dependabot[bot]
63a09776dd
chore(deps): bump tokio-rustls from 0.23.1 to 0.23.2 (#132) 2022-01-24 18:01:45 +01:00
Johann150
0022d1cd01
increase version number 2021-12-02 23:08:49 +01:00
dependabot[bot]
f82d967351
chore(deps): bump tokio from 1.13.0 to 1.14.0 (#108) 2021-11-16 15:28:50 +01:00
Johann150
663cd3bf0d
release 3.2.0 2021-11-15 17:07:37 +01:00
dependabot[bot]
c2571d39c2
chore(deps): bump rustls from 0.20.0 to 0.20.1 (#104) 2021-11-15 17:01:28 +01:00
dependabot[bot]
a75e270719
chore(deps): bump tokio-rustls from 0.23.0 to 0.23.1 (#93) 2021-11-01 12:50:40 +01:00
dependabot[bot]
58e563fee8
chore(deps): bump tokio from 1.12.0 to 1.13.0 (#96) 2021-11-01 12:43:31 +01:00
Johann150
37eef3dc9b
update dependencies 2021-10-25 17:49:02 +02:00
j-k
7cb0696f3f
bump minimum required deps (#85) 2021-10-19 18:32:52 +02:00
Johann150
b5a416fc35
update rustls and related dependencies (#72)
* chore(deps): bump rustls from 0.19.1 to 0.20.0
* chore(deps): bump webpki from 0.21.4 to 0.22.0
* chore(deps): bump tokio-rustls from 0.22.0 to 0.23.0
* update rustls calls
* update webpki naming
* update tests
2021-10-19 00:30:38 +02:00
Johann150
246f7a2e02
release v3.1.2 2021-10-15 18:01:07 +02:00
dependabot[bot]
6d3bc1fc0c
chore(deps): bump rcgen from 0.8.13 to 0.8.14 (#80) 2021-10-15 15:24:12 +02:00
Johann150
aaf3279e95
release v3.1.1 2021-10-14 17:38:36 +02:00
dependabot[bot]
16a17ed76c
chore(deps): bump env_logger from 0.8.4 to 0.9.0 (#74) 2021-10-14 17:12:18 +02:00
Johann150
2359127167
move release script
Putting it in the top level can cause confusion.
Resolves #69
2021-08-27 15:14:27 +02:00
Johann150
b0d0f64be0
actually bind to multiple addresses
resolves #63

This now causes an error message with the default bindings because on Linux
binding to both IPv6's [::] and IPv4's 0.0.0.0 results in a "port in use" error
2021-07-18 11:30:17 +02:00
Johann150
2a718cf73e
update documents for v3.1.0 2021-06-08 08:50:13 +02:00
Johann150
f890de24f6
update documents for v3.0.3 2021-05-24 12:59:14 +02:00
Johann150
f1c71eafc0
update documents for next version 2021-04-08 08:39:44 +02:00
Johann150
4b1ad8be20
remove unnecessary feature, next version 2021-03-28 22:24:12 +02:00
Johann150
8876c9771f
update documents for new version 2021-03-27 01:47:24 +01:00
Johann150
2213b055dc
add automatic certificate generation 2021-03-27 00:52:50 +01:00
Johann150
c338696242
sort dependencies alphabetically 2021-03-25 20:45:57 +01:00
Johann150
f374598fd3
add module to store multiple certificates 2021-02-28 10:42:51 +01:00
Johann150
8d11af336e
update documents for new version 2021-02-27 21:03:59 +01:00
Johann150
3f5d322eea
update dependencies 2021-02-27 11:03:57 +01:00
Johann150
8a6eb65b48
add test for TLS version selection
Since rustls does not even support TLS versions below 1.2, no need to check
for that.
2021-02-25 20:17:43 +01:00
Johann150
9925d927a4
add more tests 2021-02-20 11:14:14 +01:00
Johann150
e1d808a790
use crate from crates.io 2021-02-20 09:09:45 +01:00
Johann150
f6ba98aa24
add test framework and a basic test 2021-02-19 19:31:59 +01:00
Johann150
b5fa24cb5b
resolve TODO comment for Url 2021-02-19 12:01:59 +01:00
Johann150
16a9af51b3
update changelog and homepage 2021-02-12 21:53:31 +01:00
Johann150
7f4d71722d
fix README 2021-02-12 17:50:19 +01:00
Johann150
780c83db3b
release v2.5.0 2021-02-12 16:57:41 +01:00
Johann150
197e4592b9
use configparser crate
This parser can correctly read globs from configuration keys which allows
their use not just in theory in the server logic but in the config file too.
2021-02-12 16:51:42 +01:00
Johann150
fdca530591
allow globs in config file paths
The configuration parser will have to be changed again because YAML does not
support asterisks in its key names.
2021-02-12 15:00:29 +01:00
Johann150
544f577b59
use YAML parser for sidecar files
The syntax so far is (compatible with) YAML.
2021-02-10 21:25:22 +01:00
Johann150
5de00f66bb
reenable multiple occurences of --addr
Accidentally disabled this when merging reformatting.
2021-02-08 10:22:16 +01:00
Johann150
2550710e18
exclude content directory from cargo package 2021-02-06 11:02:53 +01:00
Johann150
bc165876cc
increment version number of release 2021-02-06 10:08:41 +01:00
Johann150
4471607f96
add release build action
No longer using `cross`, so Cross.toml is not needed any more.
Instead releases are just built with cargo build --release.
2021-02-05 23:52:45 +01:00
Johann150
b6191ccf13
update dependencies 2021-02-05 22:41:35 +01:00
Johann150
742a423021
merge #16 from Johann150/master
loading metadata from sidecar file
2021-02-05 08:20:19 +01:00
Johann150
b05245da92
add myself to crate authors 2021-01-31 21:14:15 +01:00
Johann150
6bbbb5ed4b use sidecar files 2021-01-17 19:43:42 +01:00
Matt Brubeck
3d7a28a6bd Version 2.3.0 2021-01-16 18:30:07 -08:00
Matt Brubeck
7e5517d9c0 Version 2.2.0 2021-01-16 10:59:55 -08:00
Matt Brubeck
1ce32abaa2 Version 2.1.3 2021-01-01 20:10:04 -08:00
Matt Brubeck
471a9927a0 Use the Tokio async runtime 2020-12-31 18:05:46 -08:00
Matt Brubeck
beb0566201 Version 2.1.2 2020-12-31 17:07:33 -08:00
Matt Brubeck
da3f3fb727 Version 2.1.1 2020-12-30 21:47:06 -08:00
Matt Brubeck
70b28a65e1 Encode spaces in filenames 2020-12-30 21:16:12 -08:00
Matt Brubeck
bd7b542048 Version 2.1.0 2020-12-28 15:06:08 -08:00
Matt Brubeck
5619af1731 Version 2.0.0 2020-12-22 20:40:58 -08:00
Matt Brubeck
dfa5dbd971 Use getopts for option parsing 2020-12-22 16:09:05 -08:00
Matt Brubeck
5d187a47fc Sort dependencies 2020-12-22 13:11:58 -08:00
Matt Brubeck
06aa131196 Version 1.3.2 2020-12-09 11:36:02 -08:00
Matt Brubeck
ebd457d9cf Update to async-tls 0.11 2020-12-09 11:35:01 -08:00
Matt Brubeck
41dac7ce5f Version 1.3.1 2020-12-08 09:06:11 -08:00
Douglas Creager
838f3ad8cb Update dependencies to make cargo install work
Right now, you get an error trying to `cargo install agate`:

    error[E0277]: the trait bound `TlsAcceptor: From<Arc<ServerConfig>>` is not satisfied
      --> src/main.rs:91:8
       |
    91 |     Ok(TlsAcceptor::from(Arc::new(config)))
       |        ^^^^^^^^^^^^^^^^^ the trait `From<Arc<ServerConfig>>` is not implemented for `TlsAcceptor`
       |
       = help: the following implementations were found:
                 <TlsAcceptor as From<Arc<rustls::server::ServerConfig>>>
                 <TlsAcceptor as From<rustls::server::ServerConfig>>
       = note: required by `from`

This stems a recent point upgrade of async-tls.  The newest version
(0.10.2) now depends on rustls 0.19.  The previous version in agate's
lock file (0.10.0) depended on rustls 0.18.  Agate itself also depended
on rustls 0.18.

The default behavior of `cargo install` is to ignore the lock file and
run a `cargo update` before building and installing.  That causes agate
and async-tls to compile against different versions of rustls, causing
the compiler error above.

Arguably, async-tls's recent release should have been a breaking
release, to 0.11, but since that ship has sailed, we can bump agate's
requirements to the latest published versions.  Everything seems to
build correctly, and the server still seems to work fine.
2020-12-08 08:28:11 -08:00
Matt Brubeck
2b5125f517 Version 1.3.0 2020-11-20 14:27:36 -08:00