Elias Rohrer
b5b70e7631
rustfmt
: Remove remaining lightning-invoice
files from exclusion list
2024-11-14 13:51:44 +01:00
Elias Rohrer
754f393f18
rustfmt
: Drop lightning-invoice/tests/ser_de.rs
from exclusion list
2024-11-14 13:51:09 +01:00
Elias Rohrer
4dff397e2f
rustfmt
: Drop lightning-invoice/src/lib.rs
from exclusion list
2024-11-14 11:53:12 +01:00
Elias Rohrer
bb518018fe
rustfmt
: Drop lightning-invoice/src/tb.rs
from exclusion list
2024-11-14 11:46:25 +01:00
Elias Rohrer
d29c787019
rustfmt
: Drop lightning-invoice/src/ser.rs
from exclusion list
2024-11-14 11:46:25 +01:00
Elias Rohrer
323571db90
rustfmt
: Drop lightning-invoice/src/de.rs
from exclusion list
2024-11-14 11:46:25 +01:00
Matt Corallo
4147de2cf0
Merge pull request #3324 from tnull/2024-09-rustfmt-util-1
...
`rustfmt`: Run on `util/*` (1/2)
2024-10-01 15:33:17 +00:00
Elias Rohrer
f299a48695
rustfmt
: Drop routing/gossip.rs
from exclusion list
2024-09-24 13:51:52 +09:00
Elias Rohrer
d68a484b71
rustfmt
: Drop util/persist.rs
from exclusion list
2024-09-19 10:09:22 +02:00
Elias Rohrer
bd28ad085f
rustfmt
: Drop util/macro_logger.rs
from exclusion list
2024-09-19 09:40:36 +02:00
Elias Rohrer
7d6dc78b20
rustfmt
: Drop util/logger.rs
from exclusion list
2024-09-19 09:40:18 +02:00
Elias Rohrer
ea22956bf7
rustfmt
: Drop util/indexed_map.rs
from exclusion list
2024-09-19 09:34:16 +02:00
Elias Rohrer
c9bae0e02c
rustfmt
: Drop util/fuzz_wrappers.rs
from exclusion list
2024-09-19 09:33:55 +02:00
Elias Rohrer
6b36273324
rustfmt
: Drop util/errors.rs
from exclusion list
2024-09-19 09:33:33 +02:00
Elias Rohrer
719d147b28
rustfmt
: Drop util/config.rs
from exclusion list
2024-09-19 09:33:12 +02:00
Elias Rohrer
9cb979dc20
rustfmt
: Drop util/byte_utils.rs
from exclusion list
2024-09-19 09:32:37 +02:00
Elias Rohrer
ece7aab949
rustfmt
: Drop util/base32.rs
from exclusion list
2024-09-19 09:32:20 +02:00
Elias Rohrer
ebb213f7c0
rustfmt
: Drop util/atomic_counter.rs
from exclusion list
2024-09-19 09:31:47 +02:00
Matt Corallo
930f5fbf9a
Only attempt to rustfmt
files checked into git
...
This avoids `rustfmt` failing on Rust files generated by dependent
crates in `target`, eg
```
+ rustfmt --edition 2021 --check ./target/debug/build/thiserror-8230374e07b5c05a/out/probe.rs
Diff in /home/matt/rust-lightning-3/target/debug/build/thiserror-8230374e07b5c05a/out/probe.rs at line 1:
- #![feature(provide_any)]
+#![feature(provide_any)]
- use std::any::{Demand, Provider};
+use std::any::{Demand, Provider};
- fn _f<'a, P: Provider>(p: &'a P, demand: &mut Demand<'a>) {
- p.provide(demand);
- }
+fn _f<'a, P: Provider>(p: &'a P, demand: &mut Demand<'a>) {
+ p.provide(demand);
+}
```
2024-09-18 18:04:54 +00:00
Elias Rohrer
555bd7536f
rustfmt
: Drop sync/mod.rs
from exclusion list
2024-09-17 13:07:52 +02:00
Elias Rohrer
a3de52f847
rustfmt
: Drop sync/test_lockorder_checks.rs
from exclusion list
2024-09-17 13:06:51 +02:00
Elias Rohrer
cffbeb09b9
rustfmt
: Drop sync/nostd_sync.rs
from exclusion list
2024-09-17 13:06:00 +02:00
Elias Rohrer
a161834f90
rustfmt
: Drop sync/fairrwlock.rs
from exclusion list
2024-09-17 13:04:55 +02:00
Elias Rohrer
edcdc565c4
rustfmt
: Drop sync/debug_sync.rs
from exclusion list
2024-09-17 13:03:59 +02:00
Elias Rohrer
ac0ff872d4
rustfmt
: Drop crypto/mod.rs
from exclusion list
2024-09-16 12:38:51 +02:00
Elias Rohrer
7f19150c46
rustfmt
: Drop crypto/utils.rs
from exclusion list
2024-09-16 12:38:51 +02:00
Elias Rohrer
f042c999ef
rustfmt
: Drop crypto/streams.rs
from exclusion list
2024-09-16 12:38:51 +02:00
Elias Rohrer
29bab11e09
rustfmt
: Drop crypto/poly1305.rs
from exclusion list
2024-09-16 12:38:50 +02:00
Elias Rohrer
959746d680
rustfmt
: Drop crypto/chacha20poly1305.rs
from exclusion list
2024-09-16 12:38:50 +02:00
Elias Rohrer
a8aabce23c
rustfmt
: Drop crypto/chacha20.rs
from exclusion list
2024-09-16 12:38:50 +02:00
Elias Rohrer
e393893a34
rustfmt
: Drop lightning-persister
from exclusion list
2024-08-17 09:23:37 +02:00
Matt Corallo
30879ed035
Prepare to rustfmt
newly added files
...
In the next commit we'll `rustfmt` newly-added files, but before
we do so we clean up some code so that the resulting files won't be
quite as absurd. We also exclude the new `invoice_utils.rs` file,
as it needs quite substantial cleanups.
2024-08-13 12:55:19 +00:00
Elias Rohrer
61dd867b9b
Remove lightning-net-tokio
from exclusion list
2024-07-18 10:23:13 +02:00
Elias Rohrer
12e4efa0ff
Drop lightning-background-processor/src/lib.rs
from exclusion list
...
We previously forgot to drop it (or it snuck back in during rebasing),
so we drop `lightning-background-processor` from the rustfmt exclusion
list.
2024-07-15 13:55:48 +02:00
Elias Rohrer
5e163da8d4
rustfmt
: Drop lightning-custom-message/src/lib.rs
from excluded
...
.. files
2024-07-15 13:55:39 +02:00
Elias Rohrer
9c2f4cb6ce
rustfmt
: Run on lightning-block-sync/src/lib.rs
2024-07-15 13:55:39 +02:00
Elias Rohrer
43abde8d73
rustfmt
: Run on lightning-block-sync/src/utils.rs
2024-07-15 13:55:39 +02:00
Elias Rohrer
ad7021ae30
rustfmt
: Run on lightning-block-sync/src/test_utils.rs
2024-07-15 13:55:39 +02:00
Elias Rohrer
3ef5f18ebb
rustfmt
: Run on lightning-block-sync/src/rpc.rs
2024-07-15 13:55:38 +02:00
Elias Rohrer
634821a95d
rustfmt
: Run on lightning-block-sync/src/rest.rs
2024-07-15 13:55:38 +02:00
Elias Rohrer
26cacb60b5
rustfmt
: Run on lightning-block-sync/src/poll.rs
2024-07-15 13:55:38 +02:00
Elias Rohrer
fb57e04057
rustfmt
: Run on lightning-block-sync/src/init.rs
2024-07-15 13:55:38 +02:00
Elias Rohrer
310ad9a0eb
rustfmt
: Run on lightning-block-sync/src/http.rs
2024-07-15 13:55:38 +02:00
Elias Rohrer
8975979fcd
rustfmt
: Run on lightning-block-sync/src/gossip.rs
2024-07-15 13:55:38 +02:00
Elias Rohrer
20669aeb71
rustfmt
: Run on lightning-block-sync/src/convert.rs
2024-07-15 13:55:37 +02:00
Elias Rohrer
8be13f684f
rustfmt
: Drop benches/src/bench.rs
from excluded files
2024-06-20 10:59:21 +02:00
Elias Rohrer
945fb5b3c9
rustfmt
: Run on lightning-rapid-gossip-sync/src/lib.rs
2024-06-20 10:55:49 +02:00
Elias Rohrer
6e81e1240b
rustfmt
: Run on lightning-rapid-gossip-sync/src/processing.rs
2024-06-20 10:55:08 +02:00
Elias Rohrer
4e9ce52c72
rustfmt
: fuzz/src/full_stack.rs
2024-06-12 21:53:32 +02:00
Elias Rohrer
0583f643b9
rustfmt
: fuzz/src/chanmon_consistency.rs
2024-06-12 21:53:30 +02:00