summaryrefslogtreecommitdiff
path: root/crates
Commit message (Collapse)AuthorAgeFilesLines
...
* | tor-config: removed re-export of `CfgPath`Steven Engler2024-11-0418-16/+27
| | | | | | | | | | Also updated other packages to get `CfgPath` directly from `tor-config-path' instead of 'tor-config'.
* | tor-config: remove unused dependenciesSteven Engler2024-11-041-5/+1
| |
* | tor-config: remove 'expand-paths' featureSteven Engler2024-11-041-3/+2
|/
* Merge branch 'cfgaddr' into 'main'Nick Mathewson2024-11-023-2/+387
|\ | | | | | | | | New CfgAddr type to represent SocketAddrs in configuration. See merge request tpo/core/arti!2597
| * New CfgAddr type to represent SocketAddrs in configuration.Nick Mathewson2024-10-313-2/+387
| | | | | | | | | | This type behaves like a variant of `general::SocketAddr` that allows the Unix variant to be a CfgPath.
* | Merge branch 'semver' into 'main'Jim Newsome2024-10-317-24/+0
|\ \ | | | | | | | | | | | | Remove obsolete semver files post 1.3.0 release See merge request tpo/core/arti!2603
| * | Remove obsolete semver files post 1.3.0 releaseIan Jackson2024-10-317-24/+0
| |/
* | tor-relay-crypto: Rename RelaySigningKeypairSpecifier's timestamp to ↵Gabriela Moldovan2024-10-311-3/+9
| | | | | | | | | | | | | | valid_until. As per our discussion in https://gitlab.torproject.org/tpo/core/arti/-/merge_requests/2577#note_3099356
* | tor-relay-crypto: Add tests for relay key specifier serialization.Gabriela Moldovan2024-10-312-0/+55
| |
* | tor-relay-crypto: Add a denotator to RelaySigningKeypairSpecifier.Gabriela Moldovan2024-10-314-10/+65
| | | | | | | | | | | | | | This will enable us to store more than one `K_relaysign_ed` in the keystore. Closes #1692
* | tor-persist: Add a slug timestamp type.Gabriela Moldovan2024-10-313-0/+136
| | | | | | | | | | | | | | | | The new `Iso8601TimeSlug` is useful for encoding a timestamp as a `Slug` (i.e. in a filename). This is needed, for example, for #1692, to encode a timestamp as key denotator.
* | tor-relay-crypto: Add a specifier for the public part of the identity keypair.Gabriela Moldovan2024-10-311-0/+9
| | | | | | | | | | | | | | We'll eventually need this specifier (for example, if the `KS_relayid_ed` private key stored offline, the public part of the keypair will be stored in the online keystore, and will be retrievable using the new `RelayIdentityPublicKeySpecifier` specifier).
* | tor-relay-crypto: Fix typo in doc comment.Gabriela Moldovan2024-10-311-1/+1
| |
* | tor-relay-crypto: Use the KS_ prefix for RelayIdentityKeySpecifier.Gabriela Moldovan2024-10-312-5/+5
|/ | | | | | | | | | According to its docs, `RelayIdentityKeySpecifier` was meant to be the key specifier for the relay identity keypair, so its role prefix should be `KS_`. This also renames `RelayIdentityKeySpecifier` to `RelayIdentityKeypairSpecifier` for clarity (we're about to add another specifier here, for the public relay identity key).
* Merge branch 'versions' into 'main'Ian Jackson2024-10-3051-438/+438
|\ | | | | | | | | Version bumps for release of 1.3.0 See merge request tpo/core/arti!2599
| * Bump arti crate version to 1.3.0Ian Jackson2024-10-303-3/+3
| | | | | | | | | | | | | | | | I think we should bump the minor version because of the new features, particularly supporting .onion domains as a client by default, and the OOM DoS resistance features (#351). cargo set-version --offline --bump=minor -p arti
| * Bump minor versions of crates with only non-functional changesIan Jackson2024-10-301-1/+1
| | | | | | | | ./maint/bump_nodep fs-mistrust
| * Bump minor versions of crates with new APIs/implsIan Jackson2024-10-3020-23/+23
| | | | | | | | | | cargo set-version --bump=patch -p slotmap-careful cargo set-version --bump=patch -p safelog
| * Bump unstable tor-* and arti-* crates to 0.24.0Ian Jackson2024-10-3048-411/+411
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | cargo set-version -p tor-async-utils 0.24.0 cargo set-version -p tor-basic-utils 0.24.0 cargo set-version -p tor-bytes 0.24.0 cargo set-version -p tor-cell 0.24.0 cargo set-version -p tor-cert 0.24.0 cargo set-version -p tor-chanmgr 0.24.0 cargo set-version -p tor-checkable 0.24.0 cargo set-version -p tor-circmgr 0.24.0 cargo set-version -p tor-config 0.24.0 cargo set-version -p tor-config-path 0.24.0 cargo set-version -p tor-consdiff 0.24.0 cargo set-version -p tor-dirclient 0.24.0 cargo set-version -p tor-dirmgr 0.24.0 cargo set-version -p tor-error 0.24.0 cargo set-version -p tor-general-addr 0.24.0 cargo set-version -p tor-geoip 0.24.0 cargo set-version -p tor-guardmgr 0.24.0 cargo set-version -p tor-hsclient 0.24.0 cargo set-version -p tor-hscrypto 0.24.0 cargo set-version -p tor-hsrproxy 0.24.0 cargo set-version -p tor-hsservice 0.24.0 cargo set-version -p tor-key-forge 0.24.0 cargo set-version -p tor-keymgr 0.24.0 cargo set-version -p tor-linkspec 0.24.0 cargo set-version -p tor-llcrypto 0.24.0 cargo set-version -p tor-log-ratelim 0.24.0 cargo set-version -p tor-memquota 0.24.0 cargo set-version -p tor-netdir 0.24.0 cargo set-version -p tor-netdoc 0.24.0 cargo set-version -p tor-persist 0.24.0 cargo set-version -p tor-proto 0.24.0 cargo set-version -p tor-protover 0.24.0 cargo set-version -p tor-ptmgr 0.24.0 cargo set-version -p tor-relay-crypto 0.24.0 cargo set-version -p tor-relay-selection 0.24.0 cargo set-version -p tor-rpcbase 0.24.0 cargo set-version -p tor-rtcompat 0.24.0 cargo set-version -p tor-rtmock 0.24.0 cargo set-version -p tor-socksproto 0.24.0 cargo set-version -p tor-units 0.24.0 cargo set-version -p arti-client 0.24.0 cargo set-version -p arti-relay 0.24.0 cargo set-version -p arti-rpc-client-core 0.24.0 cargo set-version -p arti-rpcserver 0.24.0
* | cargo: Run fixup-features (formatting)Ian Jackson2024-10-3011-11/+24
| | | | | | | | Manual fixup. I filed #1719 about the fact that I had to do this.
* | 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