Commit graph

64 commits

Author SHA1 Message Date
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
Matt Brubeck
5394793b44 Disable some optional dependencies 2020-11-20 13:50:42 -08:00
Tronje Krabbe
b33417198c Add some simple logging via the env_logger crate 2020-11-09 16:55:09 +01:00
Matt Brubeck
9b5ca7f130 Version 1.2.2 2020-09-21 15:12:45 -07:00
Matt Brubeck
34fc4968ae Update dependencies 2020-09-21 12:57:35 -07:00
Matt Brubeck
2c4118b590 Switch from tree_magic to mime_guess 2020-07-22 08:33:04 -07:00
Matt Brubeck
22c3209aa7 Update async-tls 2020-07-16 08:57:57 -07:00