File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 11fn main ( ) -> Result < ( ) , Box < dyn std:: error:: Error > > {
22 let manifest_dir = std:: env:: var ( "CARGO_MANIFEST_DIR" ) ?;
3+ // Proto files are in the `proto/` submodule at the workspace root.
4+ // From this crate (crates/coordinode-raft/) that's ../../proto.
35 let proto_root = std:: path:: Path :: new ( & manifest_dir)
4- . join ( "../../../ proto" )
6+ . join ( "../../proto" )
57 . canonicalize ( )
6- . unwrap_or_else ( |_| std:: path:: PathBuf :: from ( "../../../ proto" ) ) ;
8+ . unwrap_or_else ( |_| std:: path:: PathBuf :: from ( "../../proto" ) ) ;
79
810 let proto_root_str = proto_root. display ( ) . to_string ( ) ;
911 let raft_proto = format ! ( "{proto_root_str}/coordinode/v1/replication/raft.proto" ) ;
Original file line number Diff line number Diff line change @@ -25,12 +25,9 @@ ignore = true
2525[advisories ]
2626# Deny any crate with known vulnerabilities
2727vulnerability = " deny"
28- unmaintained = " warn"
29- yanked = " warn"
30- notice = " warn"
3128
3229[bans ]
33- multiple-versions = " warn "
30+ multiple-versions = " allow "
3431wildcards = " deny"
3532
3633[sources ]
You can’t perform that action at this time.
0 commit comments