arti/crates
Nick Mathewson 6a04188d59 Work around a new nightly clippy warning
The warning `clippy::bool_to_int_with_if` is meant to shout at you
when you say `if x { 1 } else { 0 }` and instead suggest that you
say `inttype::from(x)`.

I agreed with this for the case in tor-cert, where we are literally
converting a boolean into a flag.

I don't agree with this in tor-netdoc, where we are using a boolean
to decide how many fields to skip in a given document format.  So
for this case, I decided to clean up the code a little by renaming
"skip" to "n_skip", and changing the boolean to use an enum instead.
2022-09-30 09:00:42 -04:00
..
arti Enforce SafeLogging on the console. 2022-09-26 11:36:18 -04:00
arti-bench Bump crate versions in preparation for Arti 1.0.0 release. 2022-09-01 08:59:49 -04:00
arti-client Merge branch 'fix-nightly-clippy' into 'main' 2022-09-22 16:45:52 +00:00
arti-config Update patch-versions on crates without API changes. 2022-09-01 08:45:02 -04:00
arti-hyper Bump crate versions in preparation for Arti 1.0.0 release. 2022-09-01 08:59:49 -04:00
arti-testing Merge branch 'update-notify' into 'main' 2022-09-01 16:18:20 +00:00
caret Update patch-versions on crates without API changes. 2022-09-01 08:45:02 -04:00
fs-mistrust fix clippy::needless_borrow 2022-09-10 14:39:47 +02:00
retry-error Update patch-versions on crates without API changes. 2022-09-01 08:45:02 -04:00
safelog Update patch-versions on crates without API changes. 2022-09-01 08:45:02 -04:00
tor-basic-utils fix clippy::needless_borrow 2022-09-10 14:39:47 +02:00
tor-bytes Remove semver.md from arti-1.0.0 2022-09-07 09:17:00 -04:00
tor-cell Merge branch 'cell-introduce2' into 'main' 2022-09-26 12:07:33 +00:00
tor-cert Work around a new nightly clippy warning 2022-09-30 09:00:42 -04:00
tor-chanmgr Mark all bridge and pt features as experimental for now. 2022-09-29 10:59:19 -04:00
tor-checkable Bump crate versions in preparation for Arti 1.0.0 release. 2022-09-01 08:59:49 -04:00
tor-circmgr Add the necessary APIs for bridge-based circuit construction. 2022-09-26 11:23:21 -04:00
tor-config fix clippy::needless_borrow 2022-09-10 14:39:47 +02:00
tor-congestion Bump crate versions in preparation for Arti 1.0.0 release. 2022-09-01 08:59:49 -04:00
tor-consdiff Bump crate versions in preparation for Arti 1.0.0 release. 2022-09-01 08:59:49 -04:00
tor-dirclient Bump crate versions in preparation for Arti 1.0.0 release. 2022-09-01 08:59:49 -04:00
tor-dirmgr Mark all bridge and pt features as experimental for now. 2022-09-29 10:59:19 -04:00
tor-error force no inlining on internal_macro_test 2022-09-09 17:29:59 +02:00
tor-events Update patch-versions on crates without API changes. 2022-09-01 08:45:02 -04:00
tor-guardmgr Mark all bridge and pt features as experimental for now. 2022-09-29 10:59:19 -04:00
tor-linkspec Mark all bridge and pt features as experimental for now. 2022-09-29 10:59:19 -04:00
tor-llcrypto Merge branch 'fix-nightly-clippy' into 'main' 2022-09-22 16:45:52 +00:00
tor-netdir fix clippy::needless_borrow 2022-09-10 14:39:47 +02:00
tor-netdoc Work around a new nightly clippy warning 2022-09-30 09:00:42 -04:00
tor-persist Bump crate versions in preparation for Arti 1.0.0 release. 2022-09-01 08:59:49 -04:00
tor-proto fix clippy::needless_borrow 2022-09-10 14:39:47 +02:00
tor-protover Update patch-versions on crates without API changes. 2022-09-01 08:45:02 -04:00
tor-ptmgr Add a few comments based on review. 2022-09-23 14:08:53 -04:00
tor-rtcompat `TaskSchedule`: give error on `sleep*()` if last handle is dropped 2022-09-07 09:22:38 -04:00
tor-rtmock Bump crate versions in preparation for Arti 1.0.0 release. 2022-09-01 08:59:49 -04:00
tor-socksproto Bump crate versions in preparation for Arti 1.0.0 release. 2022-09-01 08:59:49 -04:00
tor-units Update patch-versions on crates without API changes. 2022-09-01 08:45:02 -04:00