Skip to content

Commit 35ab9db

Browse files
committed
Release update (#11)
1 parent d481407 commit 35ab9db

File tree

4 files changed

+7
-3
lines changed

4 files changed

+7
-3
lines changed

Cargo.toml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
[package]
22
name = "obfstr"
3-
version = "0.1.0"
3+
version = "0.1.1"
44
edition = "2018"
55
authors = ["Casper <[email protected]>"]
66
license = "MIT"
@@ -20,7 +20,7 @@ rand = ["obfstr-impl/rand"]
2020
unsafe_static_str = []
2121

2222
[dependencies]
23-
obfstr-impl = { path = "./impl", version = "0.1.0" }
23+
obfstr-impl = { path = "./impl", version = "0.1.1" }
2424

2525
[workspace]
2626
members = [".", "./impl"]

impl/Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
[package]
22
name = "obfstr-impl"
3-
version = "0.1.0"
3+
version = "0.1.1"
44
edition = "2018"
55
authors = ["Casper <[email protected]>"]
66
license = "MIT"

impl/src/lib.rs

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,5 @@
1+
#![allow(bare_trait_objects, ellipsis_inclusive_range_patterns)]
2+
13
extern crate proc_macro;
24
use proc_macro::*;
35

src/lib.rs

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -186,6 +186,7 @@ unsafe fn decryptbuf(dest: &mut [u8], src: usize) {
186186
#[repr(transparent)]
187187
pub struct ObfBuffer<A>(A);
188188
impl<A: FixedSizeArray<u8>> ObfBuffer<A> {
189+
#[allow(deprecated)]
189190
unsafe fn uninit() -> Self {
190191
mem::uninitialized()
191192
}
@@ -287,6 +288,7 @@ unsafe fn wdecryptbuf(dest: &mut [u16], src: usize) {
287288
#[repr(transparent)]
288289
pub struct WObfBuffer<A>(A);
289290
impl<A: FixedSizeArray<u16>> WObfBuffer<A> {
291+
#[allow(deprecated)]
290292
unsafe fn uninit() -> Self {
291293
mem::uninitialized()
292294
}

0 commit comments

Comments
 (0)