Nick Mathewson
6cc8e5e028
Remove a few unused dependencies
2021-04-05 08:20:06 -04:00
Nick Mathewson
401d7e9fd1
tor-config: fix a new clipppy warning.
2021-03-29 15:45:50 -04:00
Nick Mathewson
06d5988cdc
upgrade to newer version of config crate.
2021-03-24 09:44:31 -04:00
Nick Mathewson
6daf57957d
Add the tor project as an author.
2021-03-17 14:43:40 -04:00
Nick Mathewson
ba14d43be4
Add keywords to each Cargo.toml
2021-03-17 14:41:02 -04:00
Nick Mathewson
c8481a9354
Add a description field to all our Cargo.toml files
2021-03-17 14:31:59 -04:00
Nick Mathewson
58d8472ea0
Give it a homepage everyplace.
2021-03-17 14:13:26 -04:00
Nick Mathewson
442d3d7f89
Allow spaces in command-line arguments again
2021-03-12 13:21:44 -05:00
Nick Mathewson
49b508e5cc
Avoid most regex features.
2021-03-10 16:05:33 -05:00
Nick Mathewson
9d07f4160f
Only enable the `config` features we are using.
...
This saves us from a lot of extra backends, including an entire
extra version of serde (!).
2021-03-10 15:46:06 -05:00
Nick Mathewson
302653977d
Bump dependencies with "cargo upgrade"
2021-03-06 08:55:13 -05:00
Nick Mathewson
59bfa4d517
Avoid unwrap() in tor-config
2021-03-04 12:51:11 -05:00
Nick Mathewson
568567c5e0
Update to latest futures, once_cell
2021-02-23 15:54:29 -05:00
Nick Mathewson
ab9d4a2229
Update some dependencies.
2021-02-19 09:39:23 -05:00
Nick Mathewson
c9b9286fa9
Add some tests for tor_config::CfgPath
2021-02-12 13:13:57 -05:00
Nick Mathewson
d8c1e7f0cf
Implement storage-directory configuration.
...
This affects the cache_dir and the as-yet-unused state_dir. It uses
the shellexpand and directories crates so that the default values
can be constant strings that use variables to refer to the right
default locations.
2021-02-12 10:54:24 -05:00
Nick Mathewson
66ffa44512
Initial support for configuration from file and/or command-line.
2021-02-02 13:26:02 -05:00
Nick Mathewson
243880473f
bump serde and log
2021-02-01 16:39:07 -05:00
Nick Mathewson
c3c6e6b660
Start a 'tor-config' crate
...
This crate is mainly intended to wrap the config.rs code if
necessary, and to give a way for interacting with it on the command
line.
2021-02-01 12:43:09 -05:00