From 5ddb1ee185c8f0c9e18a19c59f91f9968ed245db Mon Sep 17 00:00:00 2001 From: 0x676e67 Date: Fri, 15 Nov 2024 10:44:03 +0800 Subject: [PATCH] rename rboring to boring2 --- Cargo.toml | 2 +- boring/Cargo.toml | 4 ++-- boring/examples/fips_enabled.rs | 2 +- boring/examples/mk_certs.rs | 2 +- 4 files changed, 5 insertions(+), 5 deletions(-) diff --git a/Cargo.toml b/Cargo.toml index 64681192..663a2fe1 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -20,7 +20,7 @@ publish = false [workspace.dependencies] 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" } bindgen = { version = "0.70.1", default-features = false, features = ["runtime"] } diff --git a/boring/Cargo.toml b/boring/Cargo.toml index 3286b173..47245a31 100644 --- a/boring/Cargo.toml +++ b/boring/Cargo.toml @@ -1,11 +1,11 @@ [package] -name = "rboring" +name = "boring2" version = { workspace = true } authors = ["Steven Fackler ", "Ivan Nikulin "] license = "Apache-2.0" description = "BoringSSL bindings" repository = { workspace = true } -documentation = "https://docs.rs/rboring" +documentation = "https://docs.rs/boring2" readme = "README.md" keywords = ["crypto", "tls", "ssl", "dtls"] categories = ["cryptography", "api-bindings"] diff --git a/boring/examples/fips_enabled.rs b/boring/examples/fips_enabled.rs index 92a164df..6d9bb800 100644 --- a/boring/examples/fips_enabled.rs +++ b/boring/examples/fips_enabled.rs @@ -1,4 +1,4 @@ -use rboring as boring; +use boring2 as boring; fn main() { println!("boring::fips::enabled(): {}", boring::fips::enabled()); diff --git a/boring/examples/mk_certs.rs b/boring/examples/mk_certs.rs index d118ecd8..8538f240 100644 --- a/boring/examples/mk_certs.rs +++ b/boring/examples/mk_certs.rs @@ -1,7 +1,7 @@ //! A program that generates ca certs, certs verified by the ca, and public //! and private keys. -extern crate rboring as boring; +extern crate boring2 as boring; use boring::asn1::Asn1Time; use boring::bn::{BigNum, MsbOption};