update bitflags `1.3` -> `2.0`

This commit is contained in:
semiviral 2023-04-02 06:06:21 -05:00
parent 530d058154
commit 48bec03dfe
2 changed files with 4 additions and 3 deletions

View File

@ -7,7 +7,7 @@ as GNU Longname. The maximum supported file name length is 100 characters includ
The maximum supported file size is 8GiB. Also, directories are not supported yet but only flat
collections of files.
"""
version = "0.1.8"
version = "0.1.9"
edition = "2018"
keywords = ["tar", "tarball", "archive"]
categories = ["data-structures", "no-std", "parser-implementations"]
@ -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,7 @@ pub enum TypeFlag {
bitflags::bitflags! {
/// UNIX file permissions on octal format.
#[derive(Debug, Clone, Copy, PartialEq, Eq)]
pub struct ModeFlags: u64 {
/// Set UID on execution.
const SetUID = 0o4000;