Skip to content

Commit

Permalink
Update TigerBeetle from 0.16.19 to 0.16.20 version (#42)
Browse files Browse the repository at this point in the history
Signed-off-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
Co-authored-by: Kai Ren <tyranron@gmail.com>
  • Loading branch information
github-actions[bot] and tyranron authored Dec 30, 2024
1 parent db425a7 commit 05f838f
Show file tree
Hide file tree
Showing 7 changed files with 21 additions and 13 deletions.
14 changes: 10 additions & 4 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,16 +6,22 @@ All user visible changes to `tigerbeetle-unofficial`, `tigerbeetle-unofficial-co



## [master] · unreleased
[master]: /../../tree/master
## [0.7.0+0.16.20] · 2024-12-30
[0.7.0+0.16.20]: /../../tree/v0.7.0%2B0.16.20

[Diff](/../../compare/v0.6.1%2B0.16.19...master) | [Milestone](/../../milestone/4)
[Diff](/../../compare/v0.6.1%2B0.16.19...v0.7.0%2B0.16.20) | [Milestone](/../../milestone/4)

### BC Breaks

- Removed MIT license. ([#41])
- Removed MIT license. ([#41])

### Changed

- Upgraded [`tb_client` C library] to [0.16.20 version][tb-0.16.20]. ([#42])

[#41]: /../../pull/41
[#42]: /../../pull/42
[tb-0.16.20]: https://github.com/tigerbeetle/tigerbeetle/blob/0.16.20/CHANGELOG.md#tigerbeetle-01620



Expand Down
4 changes: 2 additions & 2 deletions Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ tokio-rt-multi-thread = ["core/tokio-rt-multi-thread"]

[dependencies]
bytemuck = { version = "1.16", features = ["extern_crate_alloc"] }
core = { version = "=0.6.1+0.16.19", package = "tigerbeetle-unofficial-core", path = "core" }
core = { version = "=0.7.0+0.16.20", package = "tigerbeetle-unofficial-core", path = "core" }
fastrand = "2.3"
tokio = { version = "1.28.1", features = ["sync"] }

Expand All @@ -26,7 +26,7 @@ pollster = { version = "0.4", features = ["macro"] }
members = ["sys", "core"]

[workspace.package]
version = "0.6.1+0.16.19"
version = "0.7.0+0.16.20"
authors = ["Daria Sukhonina <dariasukhonina@gmail.com>"]
rust-version = "1.78"
repository = "https://github.com/tigerbeetle-rust/tigerbeetle-unofficial"
Expand Down
6 changes: 4 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,8 @@
[![CI](https://github.com/tigerbeetle-rust/tigerbeetle-unofficial/actions/workflows/ci.yml/badge.svg?branch=master "CI")](https://github.com/tigerbeetle-rust/tigerbeetle-unofficial/actions?query=workflow%3ACI+branch%3Amaster)
[![Rust docs](https://docs.rs/tigerbeetle-unofficial/badge.svg "Rust docs")](https://docs.rs/tigerbeetle-unofficial)

[Changelog](https://github.com/tigerbeetle-rust/tigerbeetle-unofficial/blob/v0.7.0%2B0.16.20/CHANGELOG.md)

Unofficial [TigerBeetle] bindings for [Rust].


Expand Down Expand Up @@ -35,9 +37,9 @@ The repository hosts the following libraries:

## License

[TigerBeetle] is licensed under [Apache License, Version 2.0](https://github.com/tigerbeetle/tigerbeetle/blob/0.16.19/LICENSE).
[TigerBeetle] is licensed under [Apache License, Version 2.0](https://github.com/tigerbeetle/tigerbeetle/blob/0.16.20/LICENSE).

`tigerbeetle-unofficial` crates are licensed under the [Apache License, Version 2.0](https://github.com/tigerbeetle-rust/tigerbeetle-unofficial/blob/master/LICENSE) (the "License"); you may not use these files except in compliance with the License. You may obtain a copy of the License at
`tigerbeetle-unofficial` crates are licensed under the [Apache License, Version 2.0](https://github.com/tigerbeetle-rust/tigerbeetle-unofficial/blob/v0.7.0%2B0.16.20/LICENSE) (the "License"); you may not use these files except in compliance with the License. You may obtain a copy of the License at

https://www.apache.org/licenses/LICENSE-2.0

Expand Down
2 changes: 1 addition & 1 deletion core/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -17,5 +17,5 @@ tokio-rt-multi-thread = ["dep:tokio", "tokio/rt-multi-thread"]
[dependencies]
bytemuck = "1.19"
sptr = "0.3.2"
sys = { version = "=0.6.1+0.16.19", package = "tigerbeetle-unofficial-sys", path = "../sys", features = ["generated-safe"] }
sys = { version = "=0.7.0+0.16.20", package = "tigerbeetle-unofficial-sys", path = "../sys", features = ["generated-safe"] }
tokio = { version = "1.28.1", optional = true }
2 changes: 1 addition & 1 deletion src/id.rs
Original file line number Diff line number Diff line change
Expand Up @@ -114,7 +114,7 @@ mod id_spec {
}

// Port of upstream test:
// https://github.com/tigerbeetle/tigerbeetle/blob/0.16.19/src/clients/go/pkg/types/main_test.go#L75-L115
// https://github.com/tigerbeetle/tigerbeetle/blob/0.16.20/src/clients/go/pkg/types/main_test.go#L75-L115
#[test]
fn monotonic_fuzz() {
fn verifier() {
Expand Down
4 changes: 2 additions & 2 deletions sys/build.rs
Original file line number Diff line number Diff line change
Expand Up @@ -15,10 +15,10 @@ use syn::visit::Visit;
/// Version of the used [TigerBeetle] release.
///
/// [TigerBeetle]: https://github.com/tigerbeetle/tigerbeetle
const TIGERBEETLE_RELEASE: &str = "0.16.19";
const TIGERBEETLE_RELEASE: &str = "0.16.20";

/// Commit hash of the [`TIGERBEETLE_RELEASE`].
const TIGERBEETLE_COMMIT: &str = "530105887eb4b4b9030f588ed543455db8f3fdb2";
const TIGERBEETLE_COMMIT: &str = "40595893bfa6092b892d9073e691a5ef179b702d";

fn target_to_lib_dir(target: &str) -> Option<&'static str> {
match target {
Expand Down
2 changes: 1 addition & 1 deletion sys/tigerbeetle

0 comments on commit 05f838f

Please sign in to comment.