aboutsummaryrefslogtreecommitdiff
path: root/crates/tor-persist/src/load_store.rs
Commit message (Collapse)AuthorAgeFilesLines
* tor-persist: fix display of Target path(s).Alexander Hansen Færøy8 days1-1/+2
| | | | | | | | | | | | | | | | | | This patch changes how display works on our Target struct. Currently, log messages generated by Arti Relay looks like this: `tor_persist::load_store: storing "/path/to/arti-relay/state"/"circuit_timeouts.json"` With this patch applies it instead looks like this: `tor_persist::load_store: storing "/path/to/arti-relay/state/circuit_timeouts.json"` With this change we ensure that the correct delimiter between the directory and the filename is used (on Unix it's "/", but on Windows it's "\") and we also avoid the added "" around both the directory and filename.
* Switch Cargo.toml files to edition 2024.Nick Mathewson2025-08-071-1/+1
| | | | | | | | | | | | | | First, run ``` git grep -l "^edition =" | xargs perl -i -pe 's/^edition *=.*/edition = "2024"/;' ``` Second, manually verify that all Cargo.toml files have changed, and nothing else has changed. Third, run cargo fmt again.
* Upgrade to derive_more version 1.0.0Nick Mathewson2024-09-251-1/+1
| | | | | | The `derive_more` crate broke backward compatibility with this version, so this change involved quite a few manual fixups. With luck, they'll keep compatibility for some while in the future.
* tor-persist: load_store: Add some tracingIan Jackson2024-01-311-3/+18
| | | | Now we get log messages about what we're reading/writing.
* tor-persist: Fix a doc commentIan Jackson2024-01-311-1/+1
|
* tor-persist: load_store: More documentationIan Jackson2024-01-241-3/+29
|
* tor-persist: have load_store module provide deletionIan Jackson2024-01-241-0/+7
|
* tor-persist: Provide load_store module for use by state_dirIan Jackson2024-01-241-0/+41