Skip to content

Commit 1c20872

Browse files
authored
Merge pull request #47 from CosmWasm/upgrade-rust-in-ci
Upgrade min Rust version and bump to edition2021
2 parents e3c9e2d + 908b1d0 commit 1c20872

File tree

4 files changed

+17
-5
lines changed

4 files changed

+17
-5
lines changed

.editorconfig

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,8 +5,10 @@ root = true
55

66
[*]
77
indent_style = space
8-
indent_size = 4
9-
end_of_line = lf
8+
indent_size = 2
109
charset = utf-8
1110
trim_trailing_whitespace = true
1211
insert_final_newline = true
12+
13+
[*.rs]
14+
indent_size = 4

.github/workflows/Basic.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ jobs:
1717
uses: actions-rs/toolchain@v1
1818
with:
1919
profile: minimal
20-
toolchain: 1.40.0
20+
toolchain: 1.59.0
2121
target: wasm32-unknown-unknown
2222
override: true
2323

@@ -50,7 +50,7 @@ jobs:
5050
uses: actions-rs/toolchain@v1
5151
with:
5252
profile: minimal
53-
toolchain: 1.49.0
53+
toolchain: 1.59.0
5454
override: true
5555
components: rustfmt, clippy
5656

CHANGELOG.md

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,14 +5,23 @@ All notable changes to this project will be documented in this file.
55
The format is based on [Keep a Changelog](http://keepachangelog.com/) and this
66
project adheres to [Semantic Versioning](http://semver.org/).
77

8+
## Unreleased
9+
10+
### Changed
11+
12+
- Bump min supported Rust version to 1.59.0 (same as cosmwasm-std)
13+
- Upgrade codebase to Rust edition 2021
14+
815
## [0.4.1] - 2022-05-05
916

1017
### Changed
18+
1119
- Properly serialize `u128`/`i128` types when embedded in structs
1220

1321
## [0.4.0] - 2022-03-29
1422

1523
### Added
24+
1625
- Add support for `#[serde(untagged)]` enums representation
1726

1827
## [0.3.1] - 2021-01-19
@@ -26,6 +35,7 @@ project adheres to [Semantic Versioning](http://semver.org/).
2635
### Changed
2736

2837
Maintenance release:
38+
2939
- Update clippy version in CI to 1.49.0.
3040
- Fix `clippy::manual-non-exhaustive` warnings.
3141

Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ authors = [
99
categories = ["wasm"]
1010
description = "serde_json for Wasm programs (small, deterministic, no floats)"
1111
documentation = "https://docs.rs/serde-json-wasm"
12-
edition = "2018"
12+
edition = "2021"
1313
keywords = ["serde", "json", "wasm"]
1414
license = "MIT OR Apache-2.0"
1515
name = "serde-json-wasm"

0 commit comments

Comments
 (0)