radicle/tor: Fixes
Fixes two earlier mistakes:
- In
fb18083,fn null_to_defaultwas added, which is only conditionally used if the feature “tor” is enabled, so also only conditionally compile the function. - In
1e13268, theimpl Arbitraryfor AddressType` was not properly adjusted for the case where the newly introduced feature “tor” is disabled.
2 files changed
+7
-1
f223afd9
→
b54fc820
modified crates/radicle/src/serde_ext.rs
@@ -47,6 +47,7 @@ where
|
|
|
|
|
|
| + | |
|
|
|
|
|
modified crates/radicle/src/test/arbitrary.rs
@@ -208,7 +208,12 @@ impl Arbitrary for MockRepository {
|
|
|
|
|
|
| - | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
|
|
|
|
|