Skip to content

Commit

Permalink
Update: modernize to rust 1.65 (#337)
Browse files Browse the repository at this point in the history
* Update: modernize to rust 1.65

* use workspace cargo dependencies to ensure crate/meta consistency
* update libraries and calls
* include `-A dead_code` to clippy to get around `future_state_machine`
* modern fmt/clippy recommendations
* update Docker
* Add local overrides to contract test script for local testing
* remove unused crates
  • Loading branch information
jrconlin authored Dec 18, 2022
1 parent e0c370a commit 07b67bd
Show file tree
Hide file tree
Showing 18 changed files with 987 additions and 882 deletions.
5 changes: 4 additions & 1 deletion .circleci/config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -85,9 +85,12 @@ jobs:
cargo build
- run:
name: Check formatting
# Rust 1.65+ is stricter about dead_code and flags auto-generated methods created by
# state_machine_future. Since these are auto-generated, it's not possible to tag them as
# allowed. Adding `-A dead_code` until state_machine_future is removed.
command: |
cargo fmt -- --check
cargo clippy --all --all-targets --all-features -- -D warnings --deny=clippy::dbg_macro
cargo clippy --all --all-targets --all-features -- -D warnings --deny=clippy::dbg_macro -A dead_code
- run:
name: Integration tests
command: py.test -v
Expand Down
Loading

0 comments on commit 07b67bd

Please sign in to comment.