🎩 You're Invited:Meet the Socket team at Black Hat in Las Vegas, August 3-6.RSVP
Sign In

bstr

Package Overview
Dependencies
Maintainers
1
Versions
52
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

bstr - cargo Package Compare versions

Comparing version
1.11.3
to
1.12.0
+1
-1
.cargo_vcs_info.json
{
"git": {
"sha1": "cbe2c692782d772f7c2fd8be0972bf9b91889a97"
"sha1": "8904072067fca9ca993f7234a2dacad1c362afa7"
},
"path_in_vcs": ""
}

@@ -7,3 +7,3 @@ # This file is automatically @generated by Cargo.

name = "bstr"
version = "1.11.3"
version = "1.12.0"
dependencies = [

@@ -10,0 +10,0 @@ "memchr",

@@ -16,3 +16,3 @@ # THIS FILE IS AUTOMATICALLY GENERATED BY CARGO

name = "bstr"
version = "1.11.3"
version = "1.12.0"
authors = ["Andrew Gallant <jamslam@gmail.com>"]

@@ -56,4 +56,18 @@ build = false

[profile.release]
debug = 2
[features]
alloc = [
"memchr/alloc",
"serde?/alloc",
]
default = [
"std",
"unicode",
]
serde = ["dep:serde"]
std = [
"alloc",
"memchr/std",
"serde?/std",
]
unicode = ["dep:regex-automata"]

@@ -135,17 +149,3 @@ [lib]

[features]
alloc = [
"memchr/alloc",
"serde?/alloc",
]
default = [
"std",
"unicode",
]
serde = ["dep:serde"]
std = [
"alloc",
"memchr/std",
"serde?/std",
]
unicode = ["dep:regex-automata"]
[profile.release]
debug = 2

@@ -768,2 +768,10 @@ macro_rules! impl_partial_eq {

#[cfg(feature = "alloc")]
impl Default for Box<BStr> {
#[inline]
fn default() -> Self {
BStr::from_boxed_bytes(Box::default())
}
}
impl<'a, const N: usize> From<&'a [u8; N]> for &'a BStr {

@@ -770,0 +778,0 @@ #[inline]

Sorry, the diff of this file is not supported yet