Skip to content
Open
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: 4 additions & 4 deletions Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ members = [
resolver = "2"

[workspace.package]
version = "4.19.0"
version = "5.0.0"
repository = "https://github.com/cloudflare/boring"
edition = "2021"

Expand All @@ -19,9 +19,9 @@ tag-prefix = ""
publish = false

[workspace.dependencies]
boring-sys = { version = "4.19.0", path = "./boring-sys" }
boring = { version = "4.19.0", path = "./boring" }
tokio-boring = { version = "4.19.0", path = "./tokio-boring" }
boring-sys = { version = "5.0.0", path = "./boring-sys" }
boring = { version = "5.0.0", path = "./boring" }
tokio-boring = { version = "5.0.0", path = "./tokio-boring" }

bindgen = { version = "0.72.0", default-features = false, features = ["runtime"] }
bitflags = "2.9"
Expand Down
9 changes: 9 additions & 0 deletions boring-sys/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -64,6 +64,15 @@ rpk = []
# `BORING_BSSL{,_FIPS}_SOURCE_PATH`.
underscore-wildcards = []

# UNSUPPORTED. Do not use. Fails the build.
fips-link-precompiled = []

# UNSUPPORTED. Do not use. Fails the build.
fips-precompiled = []

# UNSUPPORTED. Do not use. Fails the build.
pq-experimental = []

[build-dependencies]
bindgen = { workspace = true }
cmake = { workspace = true }
Expand Down
9 changes: 9 additions & 0 deletions boring-sys/build/main.rs
Original file line number Diff line number Diff line change
Expand Up @@ -723,3 +723,12 @@ fn ensure_err_lib_enum_is_named(source_code: &mut Vec<u8>) {
.as_bytes(),
);
}

#[cfg(feature = "pq-experimental")]
compile_error!("boring-sys v5 has removed the `pq-experimental` Cargo feature. Unset it.");

#[cfg(feature = "fips-precompiled")]
compile_error!("boring-sys v5 has removed the `fips-precompiled` Cargo feature. Unset it, and use the `fips` feature instead.");

#[cfg(feature = "fips-link-precompiled")]
compile_error!("boring-sys v5 has removed the `fips-link-precompiled` Cargo feature. Unset it, and use the `fips` feature instead.");
Loading