summaryrefslogtreecommitdiff
path: root/crates
Commit message (Collapse)AuthorAgeFilesLines
...
* | cargo: Run fixup-featuresIan Jackson2024-10-3021-32/+33
| | | | | | | | | | | | | | This is output from nailing-cargo -Eu run -p fixup-features Cargo.toml There are some formatting glitches which I'll fix in a moment.
* | cargo: Declare [hs-]pow-* experimental everywhere elseIan Jackson2024-10-305-1/+8
| |
* | cargo: tor-hscrypto: Declare pow-* experimentalIan Jackson2024-10-302-0/+18
| | | | | | | | | | We need to add the experimental feature, and the corresponding section in the README.md.
* | cargo: tor-hscrypto: Move `full` earlier in README.mdIan Jackson2024-10-301-2/+2
| | | | | | | | This makes space to introduce the experimental section.
* | cargo: Make default-runtime feature part of fullIan Jackson2024-10-301-0/+1
| | | | | | | | It's weird that full doesn't imply default. But here we are.
* | cargo: Wrap some feature linesIan Jackson2024-10-302-2/+9
|/ | | | This will stop them becoming overly long in a moment.
* Update notify to 7.xIan Jackson2024-10-302-2/+2
| | | | | Nothing in the changelog seems concerning. There's an MSRV bump, but still lower than our own MSRV.
* Merge branch 'fallbackdir-10-24' into 'main'Nick Mathewson2024-10-291-895/+888
|\ | | | | | | | | fallbackdir: Update list generated on October 24, 2024 See merge request tpo/core/arti!2589
| * fallbackdir: Update list generated on October 24, 2024Tor CI Release2024-10-291-895/+888
| | | | | | | | Signed-off-by: Tor CI Release <[email protected]>
* | Merge branch 'tor-genaddr' into 'main'Nick Mathewson2024-10-2921-582/+703
|\ \ | | | | | | | | | | | | Extract general::SocketAddr and its unix friends to their own crate. See merge request tpo/core/arti!2592
| * | Fix Windows compilation after moving unix::SocketAddr.Nick Mathewson2024-10-291-6/+6
| | |
| * | tor-general-addr: Resolve rustdoc links.Nick Mathewson2024-10-291-1/+0
| | |
| * | Adjust docsrs exception and documentation for unix::SocketAddrNick Mathewson2024-10-291-0/+5
| | |
| * | Add semver file for removed members of tor-rtcompat.Nick Mathewson2024-10-291-0/+1
| | |
| * | whitespace fix.Nick Mathewson2024-10-291-1/+1
| | |
| * | Whitespace fixes.Nick Mathewson2024-10-291-1/+1
| | |
| * | Remove re-export of "general::*" from tor-rtcompat.Nick Mathewson2024-10-291-17/+15
| | |
| * | Remove re-export of "unix" from tor_rtcompat.Nick Mathewson2024-10-2910-44/+34
| | |
| * | Extract general::SocketAddr and its unix friends to their own crate.Nick Mathewson2024-10-2912-536/+664
| |/ | | | | | | This is mostly code motion.
* | Merge branch 'tor-config-path' into 'main'Nick Mathewson2024-10-295-6/+109
|\ \ | | | | | | | | | | | | tor-config-path: new crate containing moved `tor_config::path` See merge request tpo/core/arti!2590
| * | tor-config-path: comment-out a test that relies on 'tor-config'Steven Engler2024-10-291-0/+4
| | |
| * | tor-config-path: added lint listSteven Engler2024-10-291-4/+42
| | |
| * | tor-config-path: moved `tor_config::path` to hereSteven Engler2024-10-294-506/+540
| | | | | | | | | | | | This is a direct move of the `path` module from tor-config.
| * | tor-config-path: added empty packageSteven Engler2024-10-294-0/+27
| |/
* | Merge branch 'backtrace-display' into 'main'Alexander Hansen Færøy2024-10-291-1/+1
|\ \ | |/ |/| | | | | | | | | tor-error: use `Display` for backtrace captured by `BugRepr` Closes #1713 See merge request tpo/core/arti!2588
| * tor-error: use `Display` for backtrace captured by `BugRepr`Steven Engler2024-10-291-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Before: ```text 2024-10-29T01:57:31Z ERROR arti: error: internal error (bug) at crates/arti/src/lib.rs:378:27: foo Backtrace [{ fn: "tor_error::internal::ie_backtrace::capture", file: "./crates/tor-error/src/internal.rs", line: 21 }, { fn: "tor_error::internal::Bug::new_inner", file: "./crates/tor-error/src/internal.rs", line: 105 }, { fn: "tor_error::internal::Bug::new", file: "./crates/tor-error/src/internal.rs", line: 94 }, { fn: "arti::main_main", file: "./crates/arti/src/lib.rs", line: 378 }, ... ``` After: ```text 2024-10-29T01:58:23Z ERROR arti: error: internal error (bug) at crates/arti/src/lib.rs:378:27: foo 0: tor_error::internal::ie_backtrace::capture at ./crates/tor-error/src/internal.rs:21:27 1: tor_error::internal::Bug::new_inner at ./crates/tor-error/src/internal.rs:105:24 2: tor_error::internal::Bug::new at ./crates/tor-error/src/internal.rs:94:9 3: arti::main_main at ./crates/arti/src/lib.rs:378:27 ... ```
* | Merge branch 'config-paths' into 'main'opara2024-10-292-61/+17
|\ \ | |/ |/| | | | | tor-config: use 'path' feature of shellexpand See merge request tpo/core/arti!2583
| * tor-config: remove `CfgPathError::BadUtf8`Steven Engler2024-10-281-20/+1
| |
| * tor-config: use 'path' feature of shellexpandSteven Engler2024-10-282-41/+16
| |
* | Merge branch 'orport' into 'main'opara2024-10-282-85/+99
|\ \ | |/ |/| | | | | tor-chanmgr: revert `PendingChannelHandle` drop behaviour, and try to prevent problematic code paths See merge request tpo/core/arti!2566
| * tor-chanmgr: rename `replace_pending_channel` to ↵Steven Engler2024-10-242-9/+10
| | | | | | | | `upgrade_pending_channel_to_open`
| * tor-chanmgr: `remove_pending` now takes a `PendingChannelHandle`Steven Engler2024-10-241-18/+8
| |
| * tor-chanmgr: improve cleanup procedure of pending channelsSteven Engler2024-10-242-47/+92
| | | | | | | | | | | | | | | | | | | | An attempt to make sure that there are no code paths which forget to remove a pending channel from the channel map. This also adds error-level log messages and panics during debug builds if a `PendingChannelHandle` is dropped without properly passing it to `MgrState::remove_pending_channel` or `MgrState::replace_pending_channel`.
| * Revert "tor-chanmgr: `PendingChannelHandle` removes the channel when dropped"Steven Engler2024-10-212-56/+34
| | | | | | | | | | | | | | | | This reverts commit f85bc3cf849109aaa2c4da9fc8c06e7173a0543f. There were some small conflcits in `AbstractChanMgr::get_or_launch_internal`, so this wasn't a clean revert.
* | Remove echo structsNeel Chauhan2024-10-251-14/+0
| |
* | arti-rpcserver: Remove echo_on_sessionNeel Chauhan2024-10-251-12/+0
| |
* | Merge branch 'slug-colons' into 'main'Ian Jackson2024-10-241-0/+4
|\ \ | | | | | | | | | | | | tor-persist: Explain why colons will never be valid slug chars. See merge request tpo/core/arti!2576
| * | tor-persist: Explain why colons will never be valid slug chars.Gabriela Moldovan2024-10-231-0/+4
| | |
* | | Merge branch 'python-warnings-1' into 'main'Nick Mathewson2024-10-241-2/+3
|\ \ \ | | | | | | | | | | | | | | | | Fix various python warnings See merge request tpo/core/arti!2579
| * | | Python: simple annotations to allow mypy to pass.Nick Mathewson2024-10-241-1/+1
| | | |
| * | | python: one import per line.Nick Mathewson2024-10-241-1/+2
| | | |
* | | | tor-circmgr: Clarify that using guarded for client rend is an exception.Gabriela Moldovan2024-10-241-1/+14
| | | |
* | | | tor-circmgr: Rename Short/Extended to Naive/Guarded.Gabriela Moldovan2024-10-244-32/+32
| | | |
* | | | tor-circmgr: Try to clarify what a "circuit stem" is.Gabriela Moldovan2024-10-241-2/+3
| | | |
* | | | tor-circmgr: Post-renaming documentation fixes.Gabriela Moldovan2024-10-244-14/+14
| | | |
* | | | tor-circmgr: s/stub/stem throughout.Gabriela Moldovan2024-10-244-100/+100
| | | |
* | | | tor-circmgr: s/HsCircStubKind/HsCircStemKind.Gabriela Moldovan2024-10-242-27/+27
| | | | | | | | | | | | | | | | As per #1479
* | | | tor-circmgr: s/HsCircStubKind/HsCircStemKind.Gabriela Moldovan2024-10-245-60/+60
| | | | | | | | | | | | | | | | As per #1479
* | | | tor-circmgr: Use the new vanguards terminology throughout.Gabriela Moldovan2024-10-243-75/+75
|/ / / | | | | | | | | | | | | | | | | | | | | | This is the first step towards clarifying the questions from !2230. Corresponding torspec changes: https://gitlab.torproject.org/tpo/core/torspec/-/merge_requests/282 Part of #1479
* | | Run "black" to reformat all our pythonNick Mathewson2024-10-241-4/+3
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | "Black" is an "opinionated" python formatter, whose opinionatedness is somewhat in the spirit of rustfmt. This MR runs black with default settings on all of our python code in Arti. It was produced by the following commands ``` # Everything in python/ black python/ # Everything with a .py extension fd '.py$' -X black # Everything with a python shebang. git grep -l '#! */usr/bin/env *python' | xargs black ```