Nick Mathewson
e15c47f762
Reproducible build: Bump to Rust 1.59 and Alpine 3.15
...
The Rust upgrade is necessary since our Cargo.lock file now requires
`ed25519` 1.4.0, which requires edition2021, which requires Rust
1.56 or later.
The Alpine upgrade is opportunistic: we might as well.
I've also added comments to remind us to keep the .gitlab-ci.yml
and docker_reproducible_build files in sync, since my first version
of this commit messed that up.
Closes #376 .
2022-03-04 10:09:31 -05:00
Ian Jackson
b27ffe14fb
Merge branch 'dir-provider-redux' into 'main'
...
Alternative DirProvider setup
See merge request tpo/core/arti!347
2022-03-02 18:41:50 +00:00
Nick Mathewson
241fbd8746
Have caller of dirmgr_builder() provide Arc.
2022-03-02 12:01:26 -05:00
Nick Mathewson
f7009e238a
add_warning: remove clone_on_ref_ptr
...
See !352
2022-03-01 15:38:46 -05:00
Nick Mathewson
83c8b11c2c
Merge branch 'clippy-allow-arc-clone' into 'main'
...
Disable clippy::clone_on_ref_ptr
See merge request tpo/core/arti!352
2022-03-01 20:38:05 +00:00
Nick Mathewson
e8e9791a97
Bump all crates to 0.1.0
2022-03-01 08:59:34 -05:00
Nick Mathewson
06f5580c8a
Whoops I forgot to a verb.
2022-03-01 08:54:27 -05:00
Nick Mathewson
b97fb211a0
Finish the changelog for 0.1.0
2022-03-01 08:47:47 -05:00
Nick Mathewson
8a5b766539
Final "cargo update" before relase.
2022-03-01 08:36:31 -05:00
Nick Mathewson
5735222691
Update README.md files from rustdoc.
2022-03-01 08:30:53 -05:00
eta
c8f617c85e
Merge branch 'integration_fix' into 'main'
...
chutney/setup: Wait for port 9150 to open after launching arti
Closes #367
See merge request tpo/core/arti!370
2022-03-01 13:26:31 +00:00
Nick Mathewson
57a8fe5f55
Fix rustdoc errors.
2022-03-01 08:16:02 -05:00
Nick Mathewson
224252f082
Run rustfmt.
2022-03-01 08:13:05 -05:00
Nick Mathewson
f4a0aefae5
Merge remote-tracking branch 'origin/mr/371'
2022-03-01 08:12:51 -05:00
Nick Mathewson
132416275d
Merge branch '010_docs'
2022-03-01 08:08:56 -05:00
Ian Jackson
4fa78e3f44
arti-hyper: Upgrade from an example to an "adaptation layer"
2022-03-01 11:53:15 +00:00
Ian Jackson
b083ae661e
arti-hyper: Expand docs
2022-03-01 11:53:13 +00:00
Ian Jackson
5533fef4f3
arti-hyper: Drop obsolete comment about not doing TLS
2022-03-01 11:53:12 +00:00
Ian Jackson
d80f3198ea
arti-client: Add stability warning to config module
2022-03-01 11:34:07 +00:00
Ian Jackson
73b0bf2c57
Merge branch 'eta/326' into 'main'
...
Refactor multiple runtime support in order to clean up documentation
Closes #326
See merge request tpo/core/arti!364
2022-03-01 11:25:03 +00:00
Ian Jackson
5610cec095
Merge branch 'main' into hyper-docs
2022-03-01 11:02:46 +00:00
Ian Jackson
66f53b6a9a
Merge branch 'main' into 364
...
Conflicts:
crates/arti-hyper/examples/hyper.rs
Trivially resolved. Hyper example still works.
2022-03-01 10:36:02 +00:00
Ian Jackson
bda9f82c55
Merge branch 'main'
...
Fixed conflict in crates/arti-client/src/lib.rs as per tree
from
https://gitlab.torproject.org/tpo/core/arti/-/merge_requests/364/#note_2782166
ie 13e55b8d7c22c26e55ba75823409b477f1bce66b
2022-03-01 10:28:06 +00:00
Nick Mathewson
0634d12f2b
chutney/setup: Wait for port 9150 to open after launching arti
...
This is not a replacement for a real startup protocol, but it may
help repair our CI.
2022-02-28 15:30:18 -05:00
Nick Mathewson
7d826e6da1
Merge branch 'tls' into 'main'
...
Implement TLS in arti-hyper
See merge request tpo/core/arti!355
2022-02-28 20:02:41 +00:00
Nick Mathewson
d2eb2ede81
Merge branch 'retry-err-circmgr' into 'main'
...
add some error to retry_error instead of dropping it
See merge request tpo/core/arti!368
2022-02-28 19:47:01 +00:00
Nick Mathewson
9bf69f551e
Update our stability warning on arti-client.
2022-02-28 14:29:50 -05:00
Nick Mathewson
dd8cd08691
Add warnings about configuration stability.
2022-02-28 14:25:24 -05:00
Nick Mathewson
49a219bc4b
Update README in preparation for 0.1.0 release.
2022-02-28 14:25:08 -05:00
Nick Mathewson
fbd1cf01c4
Add new crates to doc/Architecture.md
2022-02-28 14:24:53 -05:00
Nick Mathewson
c3e02fd05b
Update FAQs about status and plans.
2022-02-28 14:22:54 -05:00
trinity-1686a
0fc7f40575
resolve comment
2022-02-28 20:05:17 +01:00
trinity-1686a
2d430ea69e
add some error to retry_error instead of dropping it
2022-02-28 19:30:40 +01:00
Nick Mathewson
c646d3adca
Add nix exception to downgrade_dependencies.
2022-02-28 13:25:14 -05:00
Nick Mathewson
c022155d95
Merge branch 'fix/368' into 'main'
...
remove usage of dbg!(..)
Closes #368
See merge request tpo/core/arti!367
2022-02-28 18:18:01 +00:00
trinity-1686a
55a1433499
remove usage of dbg!(..)
...
it's making rust-nightly job fail
2022-02-28 18:20:34 +01:00
Nick Mathewson
9321d7bdd4
Start our 0.1.0 changelog.
2022-02-28 12:13:42 -05:00
Ian Jackson
9618f85237
maint/downgrade_dependencies: Upgrade zeroize_derive, env_logger
...
The *earlier* versions of these crates pull in *dependencies* that
violate our MSRV policy by requiring a *later* version of Rust.
Empirically, env_logger 0.5.4 would be enough, but practice here seems
to be to just say "cargo update".
2022-02-28 17:11:59 +00:00
eta
13ba0ea005
arti-client: use PreferredRuntime by default, doc cleanups
...
This makes using the `PreferredRuntime` the first-class option inside
`arti-client`, freeing users who don't want to think about runtimes from
having to do so.
`TorClient::create_unbootstrapped` and `builder` now automatically
use this runtime, leaving only `builder_custom` for users who wish to
manually specify a runtime.
This lets us clean up the docs a lot: mentions of using custom runtimes
are now relegated to nearer the end of the crate-level documentation,
and we mostly just link to `tor_rtcompat`'s docs to explain more there.
Instead, we take some more time to explain how you use the builder API
to create clients synchronously.
Other doc cleanups included getting rid of the explanation of `TorAddr`
in the main crate-level doc; this is already well-documented elsewhere,
and is something users should discover organically later.
fixes arti#326
2022-02-28 16:41:13 +00:00
Nick Mathewson
be288399ec
Merge branch 'teardown' into 'main'
...
tor-circmgr: take_action: Handle Cancelled from the oneshot
Closes #365
See merge request tpo/core/arti!363
2022-02-28 15:16:03 +00:00
Nick Mathewson
ec25f68b9b
Fix typo in message
2022-02-28 14:47:25 +00:00
Ian Jackson
cdbb904664
arti-hyper: Add vacuous doc comments as required by clippy
2022-02-28 14:39:43 +00:00
eta
8511469009
Merge branch 'faster-ci' into 'main'
...
attempt at making CI faster
See merge request tpo/core/arti!361
2022-02-28 14:02:15 +00:00
Nick Mathewson
cb6cd4aa5c
Update to new arti-corpora
2022-02-28 08:44:55 -05:00
eta
d3d34c6c2e
Merge branch 'split-static' into 'main'
...
Split "static" into sqlite and native-tls features.
Closes #302
See merge request tpo/core/arti!362
2022-02-28 13:41:27 +00:00
eta
1276f71e9a
Merge branch 'always-coarsetime' into 'main'
...
Make coarsetime dependency and traffic-timestamping non-optional.
See merge request tpo/core/arti!358
2022-02-28 13:39:10 +00:00
Ian Jackson
8898bbb421
EK::RemoteProtocolFailed replaces OtherRemote
...
As per
https://gitlab.torproject.org/tpo/core/arti/-/merge_requests/355#note_2781816
2022-02-28 13:27:44 +00:00
Ian Jackson
4425171245
Fix rustfmt
...
I disagree with all these. Whatever.
2022-02-28 13:17:41 +00:00
Nick Mathewson
12a83e9661
Merge branch 'fix/210' into 'main'
...
don't return already errored pending circuit when searching new circuit matching spec
Closes #210
See merge request tpo/core/arti!366
2022-02-28 13:16:31 +00:00
Ian Jackson
551bc69045
arti-hyper: Abolish a bool in favour of a custom private enum
...
As per
https://gitlab.torproject.org/tpo/core/arti/-/merge_requests/355#note_2781820
2022-02-28 13:16:25 +00:00