-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Signed-off-by: Minh Huy Tran <[email protected]>
- Loading branch information
1 parent
38b3ecf
commit 0b969e0
Showing
7 changed files
with
20 additions
and
50 deletions.
There are no files selected for viewing
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
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,9 +1,9 @@ | ||
[workspace.package] | ||
authors = ["Substrate DevHub <https://github.com/substrate-developer-hub>"] | ||
authors = ["PolyCrypt GmbH <[email protected]>"] | ||
edition = "2021" | ||
repository = "https://github.com/substrate-developer-hub/substrate-node-template/" | ||
repository = "https://github.com/perun-network/perun-polkadot-node" | ||
license = "MIT-0" | ||
homepage = "https://substrate.io" | ||
homepage = "https://perun.network/" | ||
|
||
[workspace] | ||
members = [ | ||
|
@@ -15,31 +15,4 @@ resolver = "2" | |
[profile.release] | ||
panic = "unwind" | ||
|
||
[workspace.lints.rust] | ||
suspicious_double_ref_op = { level = "allow", priority = 2 } | ||
|
||
[workspace.lints.clippy] | ||
all = { level = "allow", priority = 0 } | ||
correctness = { level = "warn", priority = 1 } | ||
complexity = { level = "warn", priority = 1 } | ||
if-same-then-else = { level = "allow", priority = 2 } | ||
zero-prefixed-literal = { level = "allow", priority = 2 } # 00_1000_000 | ||
type_complexity = { level = "allow", priority = 2 } # raison d'etre | ||
nonminimal-bool = { level = "allow", priority = 2 } # maybe | ||
borrowed-box = { level = "allow", priority = 2 } # Reasonable to fix this one | ||
too-many-arguments = { level = "allow", priority = 2 } # (Turning this on would lead to) | ||
needless-lifetimes = { level = "allow", priority = 2 } # generated code | ||
unnecessary_cast = { level = "allow", priority = 2 } # Types may change | ||
identity-op = { level = "allow", priority = 2 } # One case where we do 0 + | ||
useless_conversion = { level = "allow", priority = 2 } # Types may change | ||
unit_arg = { level = "allow", priority = 2 } # stylistic | ||
option-map-unit-fn = { level = "allow", priority = 2 } # stylistic | ||
bind_instead_of_map = { level = "allow", priority = 2 } # stylistic | ||
erasing_op = { level = "allow", priority = 2 } # E.g. 0 * DOLLARS | ||
eq_op = { level = "allow", priority = 2 } # In tests we test equality. | ||
while_immutable_condition = { level = "allow", priority = 2 } # false positives | ||
needless_option_as_deref = { level = "allow", priority = 2 } # false positives | ||
derivable_impls = { level = "allow", priority = 2 } # false positives | ||
stable_sort_primitive = { level = "allow", priority = 2 } # prefer stable sort | ||
extra-unused-type-parameters = { level = "allow", priority = 2 } # stylistic | ||
default_constructed_unit_structs = { level = "allow", priority = 2 } # stylistic | ||
[workspace.lints.rust] |
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
Submodule pallet-perun
updated
5 files
+1 −2 | Cargo.toml | |
+9 −9 | src/lib.rs | |
+2 −2 | src/types.rs | |
+4 −4 | src/weights.rs | |
+1 −7 | tests/unit.rs |
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
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
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