@@ -14,7 +14,6 @@ use std::{
14
14
pub struct Config {
15
15
allowed_signers : Option < PathBuf > ,
16
16
users : Option < Vec < User > > ,
17
- organizations : Option < Vec < Organization > > ,
18
17
local : Option < Vec < String > > ,
19
18
sources : Option < Vec < Source > > ,
20
19
}
@@ -26,7 +25,6 @@ impl Default for Config {
26
25
Config {
27
26
allowed_signers : git_allowed_signers ( ) ,
28
27
users : None ,
29
- organizations : None ,
30
28
local : None ,
31
29
sources : Some ( vec ! [
32
30
Source {
@@ -98,12 +96,6 @@ struct User {
98
96
sources : Vec < String > ,
99
97
}
100
98
101
- #[ derive( Debug , Deserialize , Serialize , PartialEq ) ]
102
- struct Organization {
103
- name : String ,
104
- sources : Vec < String > ,
105
- }
106
-
107
99
#[ derive( Debug , Deserialize , Serialize , PartialEq ) ]
108
100
struct Source {
109
101
name : String ,
@@ -177,12 +169,6 @@ mod tests {
177
169
sources: vec![ "acme-corp" . to_string( ) ] ,
178
170
} ,
179
171
] ) ,
180
- organizations : Some ( vec ! [
181
- Organization {
182
- name: "rust-lang" . to_string( ) ,
183
- sources: vec![ "github" . to_string( ) ] ,
184
- }
185
- ] ) ,
186
172
local : Some ( vec ! [ "jdoe@example.com ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIJHDGMF+tZQL3dcr1arPst+YP8v33Is0kAJVvyTKrxMw" . parse( ) . unwrap( ) ] ) ,
187
173
sources : Some ( vec ! [
188
174
Source {
0 commit comments