Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
28 changes: 28 additions & 0 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,28 @@
name: CI

on:
push:
branches:
- master
pull_request:
branches:
- master

jobs:
test:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: actions-rust-lang/setup-rust-toolchain@v1
- name: Format Check
run: |
cargo fmt -- --check
cargo clippy --all-targets -- -D warnings
cargo check --all-features
- name: Test
run:
cargo test
- name: MSRV
run: |
cargo install cargo-msrv@0.19.2
cargo msrv verify
1 change: 1 addition & 0 deletions Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -9,5 +9,6 @@ repository = "https://github.com/rustaceanrob/hintsfile"
readme = "README.md"
keywords = ["bitcoin", "cryptography", "network", "peer-to-peer"]
categories = ["cryptography::cryptocurrencies"]
rust-version = "1.80.0"

[dependencies]
4 changes: 4 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -18,3 +18,7 @@ use hintsfile::Hintsfile;
// Load a file
let hints = Hintsfile::from_reader(&mut file)?;
```

## MSRV

This crate compiles with a toolchain of **1.80.0** or higher.
Loading