Skip to content

Commit

Permalink
update acuity-index to use git repo. Add formatting rules.
Browse files Browse the repository at this point in the history
  • Loading branch information
colemanirby committed Mar 4, 2025
1 parent dac1e7e commit 1f309ad
Show file tree
Hide file tree
Showing 2 changed files with 24 additions and 1 deletion.
2 changes: 1 addition & 1 deletion indexer/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -19,4 +19,4 @@ byte-unit = "4.0.19"
serde = { version = "1.0.162", features = ["derive"] }
zerocopy = "0.7.8"
tracing-log = "0.2.0"
acuity-index-substrate = { path = "../../idn-acuity-index-substrate" }
acuity-index-substrate = { git = "https://github.com/ideal-lab5/idn-acuity-index-substrate", version = "=0.6.2" }
23 changes: 23 additions & 0 deletions rustfmt.toml
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@
# Basic
hard_tabs = true
max_width = 100
use_small_heuristics = "Max"
# Imports
imports_granularity = "Crate"
reorder_imports = true
# Consistency
newline_style = "Unix"
# Format comments
comment_width = 100
wrap_comments = true
# Misc
chain_width = 80
spaces_around_ranges = false
binop_separator = "Back"
reorder_impl_items = false
match_arm_leading_pipes = "Preserve"
match_arm_blocks = false
match_block_trailing_comma = true
trailing_comma = "Vertical"
trailing_semicolon = false
use_field_init_shorthand = true

0 comments on commit 1f309ad

Please sign in to comment.