Skip to content

Commit

Permalink
clean up versioning, readme, small ci
Browse files Browse the repository at this point in the history
  • Loading branch information
rkdud007 committed Mar 22, 2024
1 parent 66dbe90 commit e80c393
Show file tree
Hide file tree
Showing 5 changed files with 799 additions and 22 deletions.
33 changes: 33 additions & 0 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,33 @@
name: CI

on:
push:
branches:
- main
pull_request:
branches:
- main

jobs:
test:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v1
- uses: dtolnay/rust-toolchain@master
with:
toolchain: stable

- name: Install clippy
run: rustup component add clippy

- name: Install rustfmt
run: rustup component add rustfmt

- name: Run clippy for native
run: cargo clippy --all --all-targets -- -D warnings

- name: Run fmt
run: cargo fmt -- --check

- name: Run tests
run: cargo test --all --all-targets -- --nocapture
28 changes: 14 additions & 14 deletions Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

25 changes: 17 additions & 8 deletions Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -2,19 +2,28 @@
name = "tx-trie"
version = "0.1.0"
edition = "2021"
description = "Ethereum Transaction Trie Library"
readme = "README.md"
license-file = "LICENSE"
repository = "https://github.com/HerodotusDev/eth-trie-proofs"
keywords = ["mpt", "trie", "ethereum"]
categories = ["cryptography", "data-structures", "blockchain"]
exclude = [".github"]


# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html

[dependencies]
tokio = { version = "1.36.0", features = ["rt", "rt-multi-thread", "macros"] }
alloy-network = { git = "https://github.com/alloy-rs/alloy" }
alloy-provider = { git = "https://github.com/alloy-rs/alloy" }
alloy-rpc-client = { git = "https://github.com/alloy-rs/alloy" }
alloy-rpc-types = { git = "https://github.com/alloy-rs/alloy" }
alloy-transport = { git = "https://github.com/alloy-rs/alloy" }
alloy-transport-http = { git = "https://github.com/alloy-rs/alloy" }
alloy-consensus = { git = "https://github.com/alloy-rs/alloy" }
alloy-eips = { git = "https://github.com/alloy-rs/alloy" }
# alloy is still yet stable, important to pin the revision
alloy-network = { git = "https://github.com/alloy-rs/alloy", rev = "52d16d3" }
alloy-provider = { git = "https://github.com/alloy-rs/alloy", rev = "52d16d3" }
alloy-rpc-client = { git = "https://github.com/alloy-rs/alloy", rev = "52d16d3" }
alloy-rpc-types = { git = "https://github.com/alloy-rs/alloy", rev = "52d16d3" }
alloy-transport = { git = "https://github.com/alloy-rs/alloy", rev = "52d16d3" }
alloy-transport-http = { git = "https://github.com/alloy-rs/alloy", rev = "52d16d3" }
alloy-consensus = { git = "https://github.com/alloy-rs/alloy", rev = "52d16d3" }
alloy-eips = { git = "https://github.com/alloy-rs/alloy", rev = "52d16d3" }
alloy-primitives = "0.6.4"
url = "2.5.0"
reqwest = "0.11.26"
Expand Down
Loading

0 comments on commit e80c393

Please sign in to comment.