Commit graph

8 commits

Author SHA1 Message Date
Joakim Frostegård
9e49cb0bca http: default to max_scrape_torrents = 100 2022-03-20 19:37:01 +01:00
Joakim Frostegård
1d67575fba http: config file: put default values after struct definitions 2022-03-20 19:36:13 +01:00
Joakim Frostegård
6d8646351c http: implement connection cleaning 2022-03-20 19:34:53 +01:00
Joakim Frostegård
fd704b6412 http: implement network.only_ipv6 and network.tcp_backlog 2022-03-20 18:44:38 +01:00
Joakim Frostegård
f18fc52675 Run cargo fmt 2022-02-20 00:45:04 +01:00
Joakim Frostegård
14a4c10546 s/toml_config/aquatic_toml_config/ 2022-02-19 15:11:00 +01:00
Joakim Frostegård
a208775104
Include documentation in printed config files (#41)
* Start work on printing toml config with comments

* WIP: toml_config: extract default values for fields

* WIP: toml_config: handle single-level nested structs

* WIP: toml_config: improve comment handling, std type trait impls

* WIP: toml_config: add Private trait, improve comment handling, clean up

* toml_config: fix default value bug; improve tests

* Use toml_config in all applicable crates; add toml_config enum support

* toml_config: improve comments

* toml_config_derive: support enum comments

* Improve config comments for udp, cli_helpers, common

* Improve config comments

* Add tests for Config struct TomlConfig implementations

* Improve Config comments

* Improve Config comments

* ws, http: add config comments for tls cert and private key lines

* small fixes to toml_config and toml_config_derive

* Run cargo fmt

* Fix typo in several config comments

* Update README

* Update README
2021-12-26 11:33:27 +01:00
Joakim Frostegård
4071d4d874 http: use idiomatic folder structure 2021-11-27 18:23:29 +01:00
Renamed from aquatic_http/src/lib/config.rs (Browse further)