Skip to content

Commit 032ecd6

Browse files
authored
[price-service] Rust implementation of a P2P price service. (#694)
* price_service: add Rust implementation of P2P price service. * price_service: formatting hook and removes junk * price_service: add TODO regarding build.rs hacks * price_service: allow CGo to link resolv on mac
1 parent 04a8b75 commit 032ecd6

File tree

16 files changed

+6653
-0
lines changed

16 files changed

+6653
-0
lines changed

.pre-commit-config.yaml

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -58,3 +58,9 @@ repos:
5858
entry: cargo +nightly clippy --manifest-path ./target_chains/cosmwasm/Cargo.toml --tests --fix --allow-dirty --allow-staged -- -D warnings
5959
pass_filenames: false
6060
files: target_chains/cosmwasm
61+
- id: cargo-fmt-price-service
62+
name: Cargo format for Rust Price Service
63+
language: "rust"
64+
entry: cargo +nightly fmt --manifest-path ./price_service/server-rust/Cargo.toml --all -- --config-path rustfmt.toml
65+
pass_filenames: false
66+
files: price_service/server-rust

price_service/server-rust/.gitignore

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
# Ignore Rust build artifacts
2+
/target
3+
4+
# Ignore Protobuf build artifacts
5+
src/network/p2p.pb.go
6+
src/network/p2p.proto
7+
tools/

0 commit comments

Comments
 (0)