Skip to content

Commit 7dfbb0e

Browse files
committed
update to Rust 2024 edition
1 parent 66e2d21 commit 7dfbb0e

File tree

6 files changed

+18
-13
lines changed

6 files changed

+18
-13
lines changed

async-openai-wasm/Cargo.toml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,15 +1,15 @@
11
[package]
22
name = "async-openai-wasm"
3-
version = "0.27.3"
3+
version = "0.27.4"
44
authors = [
55
"Contributors of the async-openai crate",
66
"ifsheldon <async_openai_wasm@reify.ing>"
77
]
88
categories = ["api-bindings", "web-programming", "asynchronous"]
99
keywords = ["openai", "async", "openapi", "ai", "wasm"]
1010
description = "Rust library for OpenAI on WASM"
11-
edition = "2021"
12-
rust-version = "1.75"
11+
edition = "2024"
12+
rust-version = "1.85"
1313
license = "MIT"
1414
readme = "README.md"
1515
homepage = "https://github.com/ifsheldon/async-openai-wasm"

examples/cloudflare-wasm-worker/Cargo.toml

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,8 @@
11
[package]
22
name = "cloudflare-wasm-worker"
3-
version = "0.1.0"
4-
edition = "2021"
3+
version = "0.2.0"
4+
edition = "2024"
5+
rust-version = "1.85"
56

67
# https://github.com/rustwasm/wasm-pack/issues/1247
78
[package.metadata.wasm-pack.profile.release]

examples/openai-web-app-assistant/Cargo.toml

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,8 @@
11
[package]
22
name = "openai-web-assistant-chat"
3-
version = "0.1.0"
4-
edition = "2021"
3+
version = "0.2.0"
4+
edition = "2024"
5+
rust-version = "1.85"
56
publish = false
67

78
# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html

examples/openai-web-app-chat/Cargo.toml

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,8 @@
11
[package]
22
name = "openai-web-app-chat"
3-
version = "0.1.0"
4-
edition = "2021"
3+
version = "0.2.0"
4+
edition = "2024"
5+
rust-version = "1.85"
56
publish = false
67

78
# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html

examples/realtime/Cargo.toml

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,8 @@
11
[package]
22
name = "realtime"
3-
version = "0.1.0"
4-
edition = "2021"
3+
version = "0.2.0"
4+
edition = "2024"
5+
rust-version = "1.85"
56

67
[dependencies]
78
async-openai-wasm = { path = "../../async-openai-wasm", features = ["realtime"] }

examples/reasoning/Cargo.toml

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,9 @@
11
[package]
22
name = "reasoning-example"
3-
version = "0.1.0"
4-
edition = "2021"
3+
version = "0.2.0"
4+
edition = "2024"
55
publish = false
6+
rust-version = "1.85"
67

78
# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html
89

0 commit comments

Comments
 (0)