Skip to content

Commit

Permalink
chore: bump proc-macro-crate to 2.0.0 in borsh-derive (#256)
Browse files Browse the repository at this point in the history
* derive: proc-macro-crate 2. Raise MSRV to 1.67

* ci: amend build to avoid bumping msrv to 1.67

---------

Co-authored-by: dj8yf0μl <feepdake27@gmail.com>
  • Loading branch information
serprex and dj8yf0μl committed Nov 8, 2023
1 parent 73f7d7f commit 2209e99
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 3 deletions.
5 changes: 3 additions & 2 deletions .github/workflows/rust.yml
Original file line number Diff line number Diff line change
Expand Up @@ -37,11 +37,12 @@ jobs:
- name: print rustc version
run: rustc --version
# remove this step when MSRV >= 1.67.0
- name: downgrade `time`, `toml_datetime` crate to support older Rust toolchain
- name: downgrade `toml_edit`, time`, `toml_datetime` crate to support older Rust toolchain
if: matrix.rust_version == '1.66.0'
run: |
cargo update -p time --precise 0.3.23
cargo update -p toml_edit --precise 0.20.2
cargo update -p toml_datetime --precise 0.6.3
cargo update -p time --precise 0.3.23
- name: Run tests
run: ./.github/test.sh

Expand Down
2 changes: 1 addition & 1 deletion borsh-derive/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ proc-macro = true

[dependencies]
syn = { version = "2", features = ["full", "fold"] }
proc-macro-crate = "1"
proc-macro-crate = "2"
proc-macro2 = "1"
quote = "1"
once_cell = "1.18.0"
Expand Down

0 comments on commit 2209e99

Please sign in to comment.