Skip to content

Commit

Permalink
fix: remove fs2 dependency from tari_common (#4921)
Browse files Browse the repository at this point in the history
Description
---
Removes unused file lock function from tari_common

Motivation and Context
---
try_file_lock is not used. fs2 also breaks wasm builds.

How Has This Been Tested?
---
N/A - unused function call removed
  • Loading branch information
sdbondi authored Nov 15, 2022
1 parent f558a11 commit dca7b06
Show file tree
Hide file tree
Showing 4 changed files with 0 additions and 45 deletions.
1 change: 0 additions & 1 deletion Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

1 change: 0 additions & 1 deletion common/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,6 @@ anyhow = "1.0.53"
config = { version = "0.13.0", default_features = false, features = ["toml"] }
derivative = "2.2.0"
dirs-next = "1.0.2"
fs2 = "0.4.3"
git2 = { version = "0.8", optional = true }
log = "0.4.8"
log4rs = { version = "1.2.0", default_features = false, features = ["config_parsing", "threshold_filter", "yaml_format"] }
Expand Down
42 changes: 0 additions & 42 deletions common/src/file_lock.rs

This file was deleted.

1 change: 0 additions & 1 deletion common/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -66,7 +66,6 @@ pub use configuration::{
pub mod dir_utils;
pub use logging::initialize_logging;

pub mod file_lock;
mod hashing;
pub use hashing::{mac_domain_hasher, DomainDigest};

Expand Down

0 comments on commit dca7b06

Please sign in to comment.