Skip to content

Commit 92f3e6e

Browse files
committed
Move libkeyutils-sys to keyutils-raw
1 parent e73f490 commit 92f3e6e

File tree

11 files changed

+9
-9
lines changed

11 files changed

+9
-9
lines changed

Cargo.toml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -11,12 +11,12 @@ readme = "README.md"
1111
edition = "2018"
1212

1313
[workspace]
14-
members = ["libkeyutils-sys"]
14+
members = ["keyutils-raw"]
1515

1616
[dependencies]
1717
bitflags = "1.0.4"
1818
errno = "0.2"
19-
libkeyutils-sys = { path = "libkeyutils-sys" }
19+
keyutils-raw = { path = "keyutils-raw" }
2020
log = "0.4.4"
2121

2222
libc = "0.2"

libkeyutils-sys/Cargo.toml renamed to keyutils-raw/Cargo.toml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,9 @@
11
[package]
2-
name = "libkeyutils-sys"
3-
version = "0.3.1"
2+
name = "keyutils-raw"
3+
version = "0.4.0"
44
authors = ["Ben Boeckel <mathstuf@gmail.com>"]
55
license = "BSD-3-Clause"
6-
description = "FFI bindings to libkeyutils."
6+
description = "Raw bindings to Linux keyring syscalls"
77
repository = "https://github.com/mathstuf/rust-keyutils.git"
88
homepage = "https://github.com/mathstuf/rust-keyutils"
99
keywords = ["keyutils"]
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.

src/api.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@ use std::result;
3232
use std::str;
3333
use std::time::Duration;
3434

35-
use libkeyutils_sys::*;
35+
use keyutils_raw::*;
3636
use log::error;
3737

3838
use crate::constants::{DefaultKeyring, KeyPermissions, KeyringSerial, Permission, SpecialKeyring};

src/constants.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@
2525
// SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
2626

2727
use bitflags::bitflags;
28-
use libkeyutils_sys::*;
28+
use keyutils_raw::*;
2929

3030
/// Special keyrings predefined for a process.
3131
pub enum SpecialKeyring {

src/keytypes/logon.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@
3030
3131
use std::borrow::Cow;
3232

33-
use libkeyutils_sys::KEY_TYPE_LOGON;
33+
use keyutils_raw::KEY_TYPE_LOGON;
3434

3535
use crate::keytype::*;
3636

0 commit comments

Comments
 (0)