Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Dependency updates and minor changes #54

Merged
merged 3 commits into from
Jan 13, 2025
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Next Next commit
dependency updates
puffyCid committed Jan 13, 2025
commit dcfbe8093596c56ad31044f954c0b941e716c34c
8 changes: 4 additions & 4 deletions Cargo.toml
Original file line number Diff line number Diff line change
@@ -11,23 +11,23 @@ keywords = ["forensics", "macOS", "unifiedlog"]

[dependencies]
nom = "7.1.3"
serde_json = "1.0.133"
serde = { version = "1.0.215", features = ["derive"] }
serde_json = "1.0.135"
serde = { version = "1.0.217", features = ["derive"] }
log = "0.4.22"
lz4_flex = "0.11.3"
byteorder = "1.5.0"
plist = "1.7.0"
regex = "1.11.1"
base64 = "0.22.1"
chrono = "0.4.38"
chrono = "0.4.39"
walkdir = "2.5.0"

[dev-dependencies]
simplelog = "0.12.2"
csv = "1.3.1"
chrono = "0.4.38"
criterion = "0.5.1"
anyhow = "1.0.94"
anyhow = "1.0.95"
test-case = "3.3"

[[bench]]
9 changes: 1 addition & 8 deletions deny.toml
Original file line number Diff line number Diff line change
@@ -99,14 +99,7 @@ ignore = []
# List of explicitly allowed licenses
# See https://spdx.org/licenses/ for list of possible licenses
# [possible values: any SPDX 3.11 short identifier (+ optional exception)].
allow = [
"MIT",
"Apache-2.0",
"BSL-1.0",
"Unlicense",
"Unicode-DFS-2016",
"Unicode-3.0",
]
allow = ["MIT", "Apache-2.0", "BSL-1.0", "Unlicense", "Unicode-3.0"]
# List of explicitly disallowed licenses
# See https://spdx.org/licenses/ for list of possible licenses
# [possible values: any SPDX 3.11 short identifier (+ optional exception)].
5 changes: 4 additions & 1 deletion src/parser.rs
Original file line number Diff line number Diff line change
@@ -174,7 +174,7 @@ pub fn collect_timesync(provider: &dyn FileProvider) -> Result<Vec<TimesyncBoot>

#[cfg(test)]
mod tests {
use crate::filesystem::{LiveSystemProvider, LogarchiveProvider};
use crate::filesystem::LogarchiveProvider;
use crate::parser::{
build_log, collect_shared_strings, collect_strings, collect_timesync, parse_log,
};
@@ -183,6 +183,7 @@ mod tests {
#[test]
#[cfg(target_os = "macos")]
fn test_collect_strings_system() {
use crate::filesystem::LiveSystemProvider;
let system_provider = LiveSystemProvider::default();
let uuidtext_results = collect_strings(&system_provider).unwrap();
assert!(uuidtext_results.len() > 100);
@@ -191,6 +192,7 @@ mod tests {
#[test]
#[cfg(target_os = "macos")]
fn test_collect_timesync_system() {
use crate::filesystem::LiveSystemProvider;
let system_provider = LiveSystemProvider::default();
let timesync_results = collect_timesync(&system_provider).unwrap();
assert!(timesync_results.len() > 1);
@@ -225,6 +227,7 @@ mod tests {
#[test]
#[cfg(target_os = "macos")]
fn test_collect_shared_strings_system() {
use crate::filesystem::LiveSystemProvider;
let system_provider = LiveSystemProvider::default();
let shared_strings_results = collect_shared_strings(&system_provider).unwrap();
assert!(shared_strings_results[0].ranges.len() > 1);