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
10 changes: 5 additions & 5 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,11 +16,11 @@ jobs:
strategy:
fail-fast: false
matrix:
rust: ["stable", "nightly", "1.68"] # MSRV
rust: ["stable", "nightly", "1.75"] # MSRV
flags: ["--no-default-features", "", "--all-features"]
exclude:
# Some features have higher MSRV.
- rust: "1.68" # MSRV
- rust: "1.75" # MSRV
flags: "--all-features"
steps:
- uses: actions/checkout@v3
Expand All @@ -39,13 +39,13 @@ jobs:
cache-on-failure: true
# Only run tests on latest stable and above
- name: Install cargo-nextest
if: ${{ matrix.rust != '1.68' }} # MSRV
if: ${{ matrix.rust != '1.75' }} # MSRV
uses: taiki-e/install-action@nextest
- name: build
if: ${{ matrix.rust == '1.68' }} # MSRV
if: ${{ matrix.rust == '1.75' }} # MSRV
run: cargo build --workspace ${{ matrix.flags }}
- name: test
if: ${{ matrix.rust != '1.68' }} # MSRV
if: ${{ matrix.rust != '1.75' }} # MSRV
run: cargo nextest run --workspace ${{ matrix.flags }}

wasm:
Expand Down
6 changes: 5 additions & 1 deletion Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ resolver = "2"
[workspace.package]
version = "0.1.0"
edition = "2021"
rust-version = "1.68"
rust-version = "1.75"
authors = ["Alloy Contributors"]
license = "MIT OR Apache-2.0"
homepage = "https://github.com/alloy-rs/next"
Expand Down Expand Up @@ -97,3 +97,7 @@ proptest-derive = "0.4"
serial_test = "3.0"
similar-asserts = "1.5"
tempfile = "3.8"

# TODO: Remove once alloy-contract is stable. This is only used in tests for `sol!`.
[patch.crates-io]
alloy-sol-macro = { git = "https://github.com/alloy-rs/core" }
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -79,7 +79,7 @@ When updating this, also update:

Alloy will keep a rolling MSRV (minimum supported rust version) policy of **at
least** 6 months. When increasing the MSRV, the new Rust version must have been
released at least six months ago. The current MSRV is 1.68.
released at least six months ago. The current MSRV is 1.75.

Note that the MSRV is not increased automatically, and only as part of a minor
release.
Expand Down
2 changes: 1 addition & 1 deletion clippy.toml
Original file line number Diff line number Diff line change
@@ -1 +1 @@
msrv = "1.68"
msrv = "1.75"
11 changes: 9 additions & 2 deletions crates/dyn-contract/Cargo.toml → crates/contract/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "alloy-dyn-contract"
description = "Helpers for interacting with contracts that do not have a known ABI at compile time"
name = "alloy-contract"
description = "Helpers for interacting with on-chain contracts"

version.workspace = true
edition.workspace = true
Expand All @@ -19,3 +19,10 @@ alloy-transport.workspace = true
alloy-dyn-abi.workspace = true
alloy-json-abi.workspace = true
alloy-primitives.workspace = true
alloy-sol-types.workspace = true

thiserror.workspace = true

[dev-dependencies]
alloy-node-bindings.workspace = true
tokio = { workspace = true, features = ["macros", "rt-multi-thread"] }
7 changes: 7 additions & 0 deletions crates/contract/README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
# alloy-contract

Helpers for interacting with on-chain contracts.

The main type is `CallBuilder`, which is a builder for constructing calls to on-chain contracts.
It provides a way to encode and decode data for on-chain calls, and to send those calls to the chain.
See its documentation for more details.
Loading