Skip to content

Commit

Permalink
feat: array_chunks (performance feature), alloc improvements (#3)
Browse files Browse the repository at this point in the history
Co-authored-by: Zane Hannan <zanehannanau@gmail.com>
Co-authored-by: Rickard Natt och Dag <rickard@nattochdag.dev>
  • Loading branch information
3 people committed Jun 30, 2023
1 parent 63db6f2 commit 9e0e933
Show file tree
Hide file tree
Showing 11 changed files with 652 additions and 466 deletions.
5 changes: 3 additions & 2 deletions .github/workflows/pr_check.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ name: Run tests on PR

on:
pull_request:
branches: [ main ]
branches: [main]

env:
CARGO_TERM_COLOR: always
Expand All @@ -13,7 +13,8 @@ jobs:
runs-on: ubuntu-latest
steps:
- name: Checkout code
uses: actions/checkout@v2
uses: actions/checkout@v3

- name: Setup Rust (nightly)
uses: actions-rs/toolchain@v1
with:
Expand Down
7 changes: 4 additions & 3 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ name: Release

on:
push:
branches: [ main ]
branches: [main]

env:
CARGO_TERM_COLOR: always
Expand All @@ -17,7 +17,8 @@ jobs:
new_release_published: ${{ steps.semantic.outputs.new_release_published }}
steps:
- name: Checkout code
uses: actions/checkout@v2
uses: actions/checkout@v3

- name: Setup Rust (nightly)
uses: actions-rs/toolchain@v1
with:
Expand Down Expand Up @@ -54,6 +55,6 @@ jobs:
- name: Push updated Cargo.lock
uses: EndBug/add-and-commit@v5
with:
message: 'chore(release): update lockfile'
message: "chore(release): update lockfile"
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
31 changes: 11 additions & 20 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,58 +1,49 @@
# [3.0.0](https://github.com/opendevtools/base45/compare/v2.0.1...v3.0.0) (2021-06-03)


### Features

* return decoding errors ([#1](https://github.com/opendevtools/base45/issues/1)) ([185d311](https://github.com/opendevtools/base45/commit/185d311951e0f567dc9ccfd4c2cbf9219271ce45))

- return decoding errors ([#1](https://github.com/opendevtools/base45/issues/1)) ([185d311](https://github.com/opendevtools/base45/commit/185d311951e0f567dc9ccfd4c2cbf9219271ce45))

### BREAKING CHANGES

* Update the return value of `base45::decode` to `Result<_,_>`. This allows us to handle errors gracefully instead of panicking
- Update the return value of `base45::decode` to `Result<_,_>`. This allows us to handle errors gracefully instead of panicking

## [2.0.1](https://github.com/opendevtools/base45/compare/v2.0.0...v2.0.1) (2021-04-02)


### Bug Fixes

* handle invalid strings ([c9957b5](https://github.com/opendevtools/base45/commit/c9957b5f43e8df798bb31086ea29c27452333e79))
- handle invalid strings ([c9957b5](https://github.com/opendevtools/base45/commit/c9957b5f43e8df798bb31086ea29c27452333e79))

# [2.0.0](https://github.com/opendevtools/base45/compare/v1.0.2...v2.0.0) (2021-04-01)


### Features

* add encode_from_buffer ([f8b3892](https://github.com/opendevtools/base45/commit/f8b3892987a13f9fb2376ccb78adfb00d1e71950))
* decode returns buffer ([dca8ddf](https://github.com/opendevtools/base45/commit/dca8ddf956df2219aea07e926928409a5426863f))

- add encode_from_buffer ([f8b3892](https://github.com/opendevtools/base45/commit/f8b3892987a13f9fb2376ccb78adfb00d1e71950))
- decode returns buffer ([dca8ddf](https://github.com/opendevtools/base45/commit/dca8ddf956df2219aea07e926928409a5426863f))

### BREAKING CHANGES

* decode used to return a string, now it returns a
buffer and the user should convert it to a string
- decode used to return a string, now it returns a
buffer and the user should convert it to a string

## [1.0.2](https://github.com/opendevtools/base45/compare/v1.0.1...v1.0.2) (2021-03-22)


### Bug Fixes

* create release zip ([2587c27](https://github.com/opendevtools/base45/commit/2587c272f21b6eb7f02685a1841cfc280aeba53a))
- create release zip ([2587c27](https://github.com/opendevtools/base45/commit/2587c272f21b6eb7f02685a1841cfc280aeba53a))

## [1.0.1](https://github.com/opendevtools/base45/compare/v1.0.0...v1.0.1) (2021-03-22)


### Bug Fixes

* update docs ([28b8e00](https://github.com/opendevtools/base45/commit/28b8e006d315d73d445b969ffedb37b8705d6164))
- update docs ([28b8e00](https://github.com/opendevtools/base45/commit/28b8e006d315d73d445b969ffedb37b8705d6164))

# 1.0.0 (2021-03-22)


### Bug Fixes

* remove public size ([b263d2f](https://github.com/opendevtools/base45/commit/b263d2fdb28015b3c16d162b1a010a8619a08a17))

- remove public size ([b263d2f](https://github.com/opendevtools/base45/commit/b263d2fdb28015b3c16d162b1a010a8619a08a17))

### Features

* initial commit ([c6389d7](https://github.com/opendevtools/base45/commit/c6389d774e77b814684d965e3f26433e28b7f4c6))
- initial commit ([c6389d7](https://github.com/opendevtools/base45/commit/c6389d774e77b814684d965e3f26433e28b7f4c6))
Loading

0 comments on commit 9e0e933

Please sign in to comment.