Merge pull request #4 from semiviral/main
update bitflags dependency `1.3` -> `2.0`
This commit is contained in:
commit
547429a3dd
@ -26,9 +26,9 @@ alloc = []
|
|||||||
all = ["alloc"]
|
all = ["alloc"]
|
||||||
|
|
||||||
[dependencies]
|
[dependencies]
|
||||||
bitflags = "1.3"
|
|
||||||
arrayvec = { version = "0.7", default-features = false }
|
arrayvec = { version = "0.7", default-features = false }
|
||||||
log = { version = "0.4", default-features = false }
|
log = { version = "0.4", default-features = false }
|
||||||
|
bitflags = "2.0"
|
||||||
|
|
||||||
[dev-dependencies]
|
[dev-dependencies]
|
||||||
env_logger = "0.9"
|
env_logger = "0.10"
|
||||||
|
@ -253,6 +253,8 @@ pub enum TypeFlag {
|
|||||||
|
|
||||||
bitflags::bitflags! {
|
bitflags::bitflags! {
|
||||||
/// UNIX file permissions on octal format.
|
/// UNIX file permissions on octal format.
|
||||||
|
#[repr(transparent)]
|
||||||
|
#[derive(Debug, Clone, Copy, PartialEq, Eq)]
|
||||||
pub struct ModeFlags: u64 {
|
pub struct ModeFlags: u64 {
|
||||||
/// Set UID on execution.
|
/// Set UID on execution.
|
||||||
const SetUID = 0o4000;
|
const SetUID = 0o4000;
|
||||||
|
Loading…
Reference in New Issue
Block a user