-
Notifications
You must be signed in to change notification settings - Fork 11
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Bring
rustfmt.toml
in sync with polkadot-sdk (#71)
Make `rustfmt.toml` identical to the polkadot-sdk's one. Personally, I don't like some choices like `binop_separator = "Back"`, `match_arm_leading_pipes = "Preserve"`, and `hard_tabs = true`, but I don't think it makes sense having different code style settings in polkadot-sdk & litep2p.
- Loading branch information
1 parent
e0f5b65
commit 0ca33be
Showing
129 changed files
with
41,312 additions
and
42,776 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,14 +1,14 @@ | ||
fn main() { | ||
prost_build::compile_protos( | ||
&[ | ||
"src/schema/keys.proto", | ||
"src/schema/noise.proto", | ||
"src/schema/webrtc.proto", | ||
"src/protocol/libp2p/schema/identify.proto", | ||
"src/protocol/libp2p/schema/kademlia.proto", | ||
"src/protocol/libp2p/schema/bitswap.proto", | ||
], | ||
&["src"], | ||
) | ||
.unwrap(); | ||
prost_build::compile_protos( | ||
&[ | ||
"src/schema/keys.proto", | ||
"src/schema/noise.proto", | ||
"src/schema/webrtc.proto", | ||
"src/protocol/libp2p/schema/identify.proto", | ||
"src/protocol/libp2p/schema/kademlia.proto", | ||
"src/protocol/libp2p/schema/bitswap.proto", | ||
], | ||
&["src"], | ||
) | ||
.unwrap(); | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.