Merge pull request #4 from semiviral/main

update bitflags dependency `1.3` -> `2.0`
This commit is contained in:
Philipp Schuster 2023-04-11 10:39:45 +02:00 committed by GitHub
commit 547429a3dd
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 4 additions and 2 deletions

View File

@ -26,9 +26,9 @@ alloc = []
all = ["alloc"]
[dependencies]
bitflags = "1.3"
arrayvec = { version = "0.7", default-features = false }
log = { version = "0.4", default-features = false }
bitflags = "2.0"
[dev-dependencies]
env_logger = "0.9"
env_logger = "0.10"

View File

@ -253,6 +253,8 @@ pub enum TypeFlag {
bitflags::bitflags! {
/// UNIX file permissions on octal format.
#[repr(transparent)]
#[derive(Debug, Clone, Copy, PartialEq, Eq)]
pub struct ModeFlags: u64 {
/// Set UID on execution.
const SetUID = 0o4000;