Skip to content

Commit

Permalink
bump crates to alpha.1 (#524)
Browse files Browse the repository at this point in the history
  • Loading branch information
lwshang authored Oct 11, 2024
1 parent 7a64c21 commit 69a459d
Show file tree
Hide file tree
Showing 10 changed files with 13 additions and 15 deletions.
8 changes: 4 additions & 4 deletions Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -30,10 +30,10 @@ lto = true
opt-level = 'z'

[workspace.dependencies]
ic0 = { path = "ic0", version = "0.23.0" }
ic-cdk = { path = "ic-cdk", version = "0.16.0" }
ic-cdk-management-canister = { path = "ic-cdk-management-canister", version = "0.1.0" }
ic-cdk-timers = { path = "ic-cdk-timers", version = "0.10.0" }
ic0 = { path = "ic0", version = "0.24.0-alpha.1" }
ic-cdk = { path = "ic-cdk", version = "0.17.0-alpha.1" }
ic-cdk-management-canister = { path = "ic-cdk-management-canister", version = "0.1.0-alpha.1" }
ic-cdk-timers = { path = "ic-cdk-timers", version = "0.11.0-alpha.1" }

candid = "0.10.4"
candid_parser = "0.1.4"
Expand Down
2 changes: 1 addition & 1 deletion ic-cdk-macros/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "ic-cdk-macros"
version = "0.16.0" # sync with ic-cdk
version = "0.17.0-alpha.1" # sync with ic-cdk
authors.workspace = true
edition.workspace = true
license.workspace = true
Expand Down
2 changes: 1 addition & 1 deletion ic-cdk-management-canister/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "ic-cdk-management-canister"
version = "0.1.0"
version = "0.1.0-alpha.1"
authors.workspace = true
edition.workspace = true
repository.workspace = true
Expand Down
2 changes: 1 addition & 1 deletion ic-cdk-timers/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "ic-cdk-timers"
version = "0.10.0"
version = "0.11.0-alpha.1"
authors.workspace = true
edition.workspace = true
license.workspace = true
Expand Down
4 changes: 2 additions & 2 deletions ic-cdk/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "ic-cdk"
version = "0.16.0" # sync with ic-cdk-macros
version = "0.17.0-alpha.1" # sync with ic-cdk-macros
authors.workspace = true
edition.workspace = true
license.workspace = true
Expand All @@ -27,7 +27,7 @@ ic0.workspace = true
# Dependents won't accidentaly upgrading ic-cdk-macros only but not ic-cdk.
# ic-cdk-macros is a hidden dependency, re-exported by ic-cdk.
# It should not be included by users direcly.
ic-cdk-macros = { path = "../ic-cdk-macros", version = "=0.16.0" }
ic-cdk-macros = { path = "../ic-cdk-macros", version = "=0.17.0-alpha.1" }
serde.workspace = true
serde_bytes.workspace = true
slotmap = { workspace = true, optional = true }
Expand Down
2 changes: 1 addition & 1 deletion ic0/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "ic0"
version = "0.23.0"
version = "0.24.0-alpha.1"
authors.workspace = true
edition.workspace = true
license.workspace = true
Expand Down
4 changes: 1 addition & 3 deletions ic0/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ Internet Computer System API binding.

`ic0` is simply an unsafe Rust translation of the System API as described in the [IC interface specification][1].

## Update and Version Strategy
## Update

`ic0` keeps in step with the IC interface specification. Particularly, `ic0` is directly generated from [system API][1] in that repo.

Expand All @@ -17,6 +17,4 @@ When interface-spec releases a new version that modify [system API][1]:

`src/ic0.rs` should be updated.

The version of `ic0` crate will also bump to the same version as the IC interface specification.

[1]: https://internetcomputer.org/docs/current/references/ic-interface-spec/#system-api-imports
File renamed without changes.
2 changes: 1 addition & 1 deletion ic0/util/ic0build.rs
Original file line number Diff line number Diff line change
Expand Up @@ -115,7 +115,7 @@ impl Parse for IC0 {
}

fn main() {
let s = include_str!("../../ic0.txt");
let s = include_str!("../ic0.txt");
let s = s.replace('I', "usize");
let s = s.replace("i32", "u32");
let s = s.replace("i64", "u64");
Expand Down
2 changes: 1 addition & 1 deletion library/ic-ledger-types/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "ic-ledger-types"
version = "0.13.0"
version = "0.14.0-alpha.1"
authors.workspace = true
edition.workspace = true
license.workspace = true
Expand Down

0 comments on commit 69a459d

Please sign in to comment.