Skip to content

Commit 3084ed6

Browse files
Merge pull request #221 from expressvpn/gha/rust-toolchain-update
[auto] Update Rust toolchain to 1.85.0
2 parents 53cd836 + 4641451 commit 3084ed6

File tree

5 files changed

+21
-13
lines changed

5 files changed

+21
-13
lines changed

Cargo.toml

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,3 +6,11 @@ members = [
66
]
77

88
resolver = "2"
9+
10+
[workspace.package]
11+
edition = "2021"
12+
authors = ["lightway-developers@expressvpn.com"]
13+
license = "GPL-2.0-or-later"
14+
repository = "https://github.com/expressvpn/wolfssl-rs"
15+
keywords = ["wolfssl", "vpn", "lightway", "post-quantum", "cryptography"]
16+

Earthfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ VERSION 0.8
22
# Importing https://github.com/earthly/lib/tree/3.0.1/rust via commit hash pinning because git tags can be changed
33
IMPORT github.com/earthly/lib/rust:1a4a008e271c7a5583e7bd405da8fd3624c05610 AS lib-rust
44

5-
FROM rust:1.84.1
5+
FROM rust:1.85.0
66

77
WORKDIR /wolfssl-rs
88

wolfssl-sys/Cargo.toml

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,15 +1,15 @@
11
[package]
22
name = "wolfssl-sys"
33
version = "2.0.0"
4-
edition = "2021"
5-
authors = ["lightway-developers@expressvpn.com"]
6-
license = "GPL-2.0-or-later"
7-
readme = "README.md"
84
description = "System bindings for WolfSSL"
9-
repository = "https://github.com/expressvpn/wolfssl-rs"
10-
keywords = ["wolfssl", "vpn", "lightway", "post-quantum", "cryptography"]
5+
readme = "README.md"
6+
authors.workspace = true
7+
license.workspace = true
8+
repository.workspace = true
9+
keywords.workspace = true
1110
links = "wolfssl"
1211
exclude = ["wolfssl-src/**/*.pdf"] # crates.io has a size limit for publishing. Exclude unused files to keep the size under the limit.
12+
edition.workspace = true
1313

1414
[build-dependencies]
1515
bindgen = "0.71"

wolfssl-sys/examples/connect_pq.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@ fn main() {
3333
// Compile in the OQS CA at build time
3434
let pq_osa_ca = include_bytes!("test_certs/pq-osa-ca.crt");
3535
// Cast to what the ffi functions are looking for
36-
let pq_osa_ca_size = pq_osa_ca.len() as i64;
36+
let pq_osa_ca_size = pq_osa_ca.len() as std::os::raw::c_long;
3737
let pq_osa_ca = pq_osa_ca as *const u8;
3838

3939
// We'll do everything else in an unsafe block as it's clearer than wrapping each function

wolfssl/Cargo.toml

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,12 @@
11
[package]
22
name = "wolfssl"
33
version = "3.0.0"
4-
edition = "2021"
5-
authors = ["lightway-developers@expressvpn.com"]
6-
license = "GPL-2.0-or-later"
74
description = "High-level bindings for WolfSSL"
8-
repository = "https://github.com/expressvpn/wolfssl-rs"
9-
keywords = ["wolfssl", "vpn", "lightway", "post-quantum", "cryptography"]
5+
authors.workspace = true
6+
license.workspace = true
7+
repository.workspace = true
8+
keywords.workspace = true
9+
edition.workspace = true
1010

1111
[features]
1212
default = ["postquantum"]

0 commit comments

Comments
 (0)