Skip to content

Commit 1f309ad

Browse files
committed
update acuity-index to use git repo. Add formatting rules.
1 parent dac1e7e commit 1f309ad

File tree

2 files changed

+24
-1
lines changed

2 files changed

+24
-1
lines changed

indexer/Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,4 +19,4 @@ byte-unit = "4.0.19"
1919
serde = { version = "1.0.162", features = ["derive"] }
2020
zerocopy = "0.7.8"
2121
tracing-log = "0.2.0"
22-
acuity-index-substrate = { path = "../../idn-acuity-index-substrate" }
22+
acuity-index-substrate = { git = "https://github.com/ideal-lab5/idn-acuity-index-substrate", version = "=0.6.2" }

rustfmt.toml

Lines changed: 23 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,23 @@
1+
# Basic
2+
hard_tabs = true
3+
max_width = 100
4+
use_small_heuristics = "Max"
5+
# Imports
6+
imports_granularity = "Crate"
7+
reorder_imports = true
8+
# Consistency
9+
newline_style = "Unix"
10+
# Format comments
11+
comment_width = 100
12+
wrap_comments = true
13+
# Misc
14+
chain_width = 80
15+
spaces_around_ranges = false
16+
binop_separator = "Back"
17+
reorder_impl_items = false
18+
match_arm_leading_pipes = "Preserve"
19+
match_arm_blocks = false
20+
match_block_trailing_comma = true
21+
trailing_comma = "Vertical"
22+
trailing_semicolon = false
23+
use_field_init_shorthand = true

0 commit comments

Comments
 (0)