Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
Arti
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package Registry
Container Registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Service Desk
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Jill
Arti
Commits
166af2c3
Commit
166af2c3
authored
2 years ago
by
Ian Jackson
Browse files
Options
Downloads
Patches
Plain Diff
Fix error return type of AuthorityBuilder
parent
0036b916
No related branches found
Branches containing commit
No related tags found
Tags containing commit
No related merge requests found
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
crates/tor-dirmgr/src/authority.rs
+2
-0
2 additions, 0 deletions
crates/tor-dirmgr/src/authority.rs
doc/semver_status.md
+4
-0
4 additions, 0 deletions
doc/semver_status.md
with
6 additions
and
0 deletions
crates/tor-dirmgr/src/authority.rs
+
2
−
0
View file @
166af2c3
...
...
@@ -5,6 +5,7 @@
use
derive_builder
::
Builder
;
use
serde
::
Deserialize
;
use
tor_config
::
ConfigBuildError
;
use
tor_llcrypto
::
pk
::
rsa
::
RsaIdentity
;
/// A single authority that signs a consensus directory.
...
...
@@ -13,6 +14,7 @@ use tor_llcrypto::pk::rsa::RsaIdentity;
// we want our authorities format to be future-proof against adding new info
// about each authority.
#[derive(Deserialize,
Debug,
Clone,
Builder,
Eq,
PartialEq)]
#[builder(build_fn(error
=
"ConfigBuildError"
))]
#[builder(derive(Deserialize))]
pub
struct
Authority
{
/// A memorable nickname for this authority.
...
...
This diff is collapsed.
Click to expand it.
doc/semver_status.md
+
4
−
0
View file @
166af2c3
...
...
@@ -42,6 +42,10 @@ BREAKING: Added `ChanProvenance` to `ChanMgr::get_or_launch`.
MODIFIED: Added a new variant in tor_circmgr::Error.
BREAKING: Made internal scheduled entry points non-public.
### tor-dirmgr
BREAKING: AuthorityBuilder::build now throws ConfigBuildError, not a custom error type
### tor-guardmgr
MODIFIED: New functions to get estimated clock skew.
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment