rename rboring to boring2

This commit is contained in:
0x676e67 2024-11-15 10:44:03 +08:00
parent 837ec6227b
commit 5ddb1ee185
4 changed files with 5 additions and 5 deletions

View File

@ -20,7 +20,7 @@ publish = false
[workspace.dependencies] [workspace.dependencies]
boring-sys = { package = "boring-sys2", version = "4.11.0", path = "./boring-sys" } boring-sys = { package = "boring-sys2", version = "4.11.0", path = "./boring-sys" }
boring = { package = "rboring", version = "4.11.0", path = "./boring" } boring = { package = "boring2", version = "4.11.0", path = "./boring" }
tokio-boring = { package = "tokio-boring2", version = "4.11.0", path = "./tokio-boring" } tokio-boring = { package = "tokio-boring2", version = "4.11.0", path = "./tokio-boring" }
bindgen = { version = "0.70.1", default-features = false, features = ["runtime"] } bindgen = { version = "0.70.1", default-features = false, features = ["runtime"] }

View File

@ -1,11 +1,11 @@
[package] [package]
name = "rboring" name = "boring2"
version = { workspace = true } version = { workspace = true }
authors = ["Steven Fackler <sfackler@gmail.com>", "Ivan Nikulin <ifaaan@gmail.com>"] authors = ["Steven Fackler <sfackler@gmail.com>", "Ivan Nikulin <ifaaan@gmail.com>"]
license = "Apache-2.0" license = "Apache-2.0"
description = "BoringSSL bindings" description = "BoringSSL bindings"
repository = { workspace = true } repository = { workspace = true }
documentation = "https://docs.rs/rboring" documentation = "https://docs.rs/boring2"
readme = "README.md" readme = "README.md"
keywords = ["crypto", "tls", "ssl", "dtls"] keywords = ["crypto", "tls", "ssl", "dtls"]
categories = ["cryptography", "api-bindings"] categories = ["cryptography", "api-bindings"]

View File

@ -1,4 +1,4 @@
use rboring as boring; use boring2 as boring;
fn main() { fn main() {
println!("boring::fips::enabled(): {}", boring::fips::enabled()); println!("boring::fips::enabled(): {}", boring::fips::enabled());

View File

@ -1,7 +1,7 @@
//! A program that generates ca certs, certs verified by the ca, and public //! A program that generates ca certs, certs verified by the ca, and public
//! and private keys. //! and private keys.
extern crate rboring as boring; extern crate boring2 as boring;
use boring::asn1::Asn1Time; use boring::asn1::Asn1Time;
use boring::bn::{BigNum, MsbOption}; use boring::bn::{BigNum, MsbOption};