Skip to content

Commit

Permalink
Merge branch 'master' of github.com:avl/savefile
Browse files Browse the repository at this point in the history
  • Loading branch information
avl committed Apr 29, 2024
2 parents 3327357 + 3b60c7c commit 9a1f125
Show file tree
Hide file tree
Showing 42 changed files with 1,850 additions and 576 deletions.
9 changes: 7 additions & 2 deletions .github/workflows/rust.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,9 @@ jobs:
steps:
- uses: actions/checkout@v3
- name: Install nightly
run: rustup toolchain install nightly
run: rustup toolchain install nightly && rustup toolchain install stable
- name: Miri (nightly)
run: rustup component add --toolchain nightly miri && cd savefile-test && cargo +nightly miri test
- name: Build (nightly)
run: cargo +nightly build --workspace
- name: Run tests (nightly)
Expand All @@ -29,4 +31,7 @@ jobs:
- name: Run tests (stable)
run: cargo +stable test --workspace
- name: Build min-deps (stable)
run: cargo +stable build -p savefile-min-build
run: cargo +stable build -p savefile-min-build
- name: compile_tests (stable)
run: cd compile_tests && cargo +stable test

37 changes: 34 additions & 3 deletions Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

5 changes: 4 additions & 1 deletion Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -7,10 +7,13 @@ members = [
"savefile-abi-min",
"savefile-abi",
"savefile-abi-min-lib",
"savefile-abi-min-lib-impl",
"savefile-abi-min-lib-impl"
]
exclude = ["compile_tests"]

resolver = "2"

[profile.dev.package]
insta.opt-level = 3
similar.opt-level = 3

8 changes: 8 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -88,6 +88,10 @@ The dataformat for schemas has changed, but in a backward compatible way.

Version 0.17.0-beta.11 is, as can be seen from the name, a beta. There will be bugs.

Another thing in 0.17.0: We're starting to use 'release-plz' to manage releases.
Hopefully this will make the releases more professional, with correct git tags, git releases etc.


### Upgrade guide from 0.16 -> 0.17

1: Schemas have been expanded.
Expand All @@ -104,6 +108,10 @@ encode the discriminant. Set to 1 for enums which will never have more than 256
enums. If you ever need an enum to have more than 65536 fields, set it to 4.


## 0.17.0-beta.13

Major improvements. Better diagnostics. Support for returning Box<Fn(..)>.

## 0.17.0-beta.10

Tentative support for fast serialization/deserialization of enums. May be buggy!
Expand Down
Loading

0 comments on commit 9a1f125

Please sign in to comment.