Skip to content

[auto] Update Rust toolchain to 1.85.0 #221

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 3 commits into from
Feb 21, 2025
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 8 additions & 0 deletions Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -6,3 +6,11 @@ members = [
]

resolver = "2"

[workspace.package]
edition = "2021"
authors = ["[email protected]"]
license = "GPL-2.0-or-later"
repository = "https://github.com/expressvpn/wolfssl-rs"
keywords = ["wolfssl", "vpn", "lightway", "post-quantum", "cryptography"]

2 changes: 1 addition & 1 deletion Earthfile
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ VERSION 0.8
# Importing https://github.com/earthly/lib/tree/3.0.1/rust via commit hash pinning because git tags can be changed
IMPORT github.com/earthly/lib/rust:1a4a008e271c7a5583e7bd405da8fd3624c05610 AS lib-rust

FROM rust:1.84.1
FROM rust:1.85.0

WORKDIR /wolfssl-rs

Expand Down
12 changes: 6 additions & 6 deletions wolfssl-sys/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,15 +1,15 @@
[package]
name = "wolfssl-sys"
version = "2.0.0"
edition = "2021"
authors = ["[email protected]"]
license = "GPL-2.0-or-later"
readme = "README.md"
description = "System bindings for WolfSSL"
repository = "https://github.com/expressvpn/wolfssl-rs"
keywords = ["wolfssl", "vpn", "lightway", "post-quantum", "cryptography"]
readme = "README.md"
authors.workspace = true
license.workspace = true
repository.workspace = true
keywords.workspace = true
links = "wolfssl"
exclude = ["wolfssl-src/**/*.pdf"] # crates.io has a size limit for publishing. Exclude unused files to keep the size under the limit.
edition.workspace = true

[build-dependencies]
bindgen = "0.71"
Expand Down
2 changes: 1 addition & 1 deletion wolfssl-sys/examples/connect_pq.rs
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ fn main() {
// Compile in the OQS CA at build time
let pq_osa_ca = include_bytes!("test_certs/pq-osa-ca.crt");
// Cast to what the ffi functions are looking for
let pq_osa_ca_size = pq_osa_ca.len() as i64;
let pq_osa_ca_size = pq_osa_ca.len() as std::os::raw::c_long;
let pq_osa_ca = pq_osa_ca as *const u8;

// We'll do everything else in an unsafe block as it's clearer than wrapping each function
Expand Down
10 changes: 5 additions & 5 deletions wolfssl/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,12 +1,12 @@
[package]
name = "wolfssl"
version = "3.0.0"
edition = "2021"
authors = ["[email protected]"]
license = "GPL-2.0-or-later"
description = "High-level bindings for WolfSSL"
repository = "https://github.com/expressvpn/wolfssl-rs"
keywords = ["wolfssl", "vpn", "lightway", "post-quantum", "cryptography"]
authors.workspace = true
license.workspace = true
repository.workspace = true
keywords.workspace = true
edition.workspace = true

[features]
default = ["postquantum"]
Expand Down