diff --git a/CHANGELOG.md b/CHANGELOG.md index 756f06c..ed6bf4a 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -5,7 +5,7 @@ All notable changes to this project will be documented in this file. The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/), and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html). -## [0.1.2] - 2025-01-09 +## [0.1.2] - 2025-10-09 ### Fixed - GitHub Actions release workflow binary name mismatch (code-guardian-cli vs code_guardian_cli) @@ -21,6 +21,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0 - Release workflow now extracts and uses proper changelog content - Improved error handling in release process - Updated existing v0.1.1 release with proper description +- Bump version to 0.1.1 ## [0.1.1] - 2025-10-09 @@ -74,4 +75,4 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0 - CI/CD workflows for continuous integration, documentation generation, and automated releases. - Agent-based development system for collaborative and automated code management. - Benchmarks and performance tests to ensure optimal scanning speed. -- Test suites across crates for reliability and code quality. \ No newline at end of file +- Test suites across crates for reliability and code quality. diff --git a/Cargo.lock b/Cargo.lock index e60082d..61a51ae 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -225,12 +225,6 @@ version = "3.19.0" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "46c5e41b57b8bba42a04676d81cb89e9ee8e859a1a66f80a5a72e1cb76b34d43" -[[package]] -name = "bytes" -version = "1.10.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "d71b6127be86fdcfddb610f7182ac57211d4b18a3e9c82eb2d17662f2227ad6a" - [[package]] name = "cast" version = "0.3.0" @@ -433,9 +427,11 @@ dependencies = [ "serde", "serde_json", "serde_yaml", + "sysinfo", "tempfile", "thiserror", "tokio", + "tracing", "tracing-subscriber", ] @@ -2215,15 +2211,6 @@ version = "1.3.0" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "0fda2ff0d084019ba4d7c6f371c95d8fd75ce3524c3cb8fb653a3023f6323e64" -[[package]] -name = "signal-hook-registry" -version = "1.4.6" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "b2a4719bff48cee6b39d12c020eeb490953ad2443b7055bd0b21fca26bd8c28b" -dependencies = [ - "libc", -] - [[package]] name = "similar" version = "2.7.0" @@ -2248,16 +2235,6 @@ version = "1.15.1" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "67b1b7a3b5fe4f1376887184045fcf45c69e92af734b7aaddc05fb777b6fbd03" -[[package]] -name = "socket2" -version = "0.6.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "233504af464074f9d066d7b5416c5f9b894a5862a6506e306f7b816cdd6f1807" -dependencies = [ - "libc", - "windows-sys 0.59.0", -] - [[package]] name = "stable_deref_trait" version = "1.2.0" @@ -2422,17 +2399,12 @@ source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "89e49afdadebb872d3145a5638b59eb0691ea23e46ca484037cfab3b76b95038" dependencies = [ "backtrace", - "bytes", "io-uring", "libc", "mio", - "parking_lot", "pin-project-lite", - "signal-hook-registry", "slab", - "socket2", "tokio-macros", - "windows-sys 0.59.0", ] [[package]] diff --git a/Cargo.toml b/Cargo.toml index e2f96a7..1260527 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -41,7 +41,12 @@ ignore = "0.4" # Concurrency rayon = "1.10" num_cpus = "1.16" -tokio = { version = "1.0", features = ["fs", "rt-multi-thread"] } +tokio = { version = "1.0", features = ["fs", "rt-multi-thread", "time", "sync", "macros"] } + +# Logging and Monitoring +tracing = "0.1" +tracing-subscriber = { version = "0.3", features = ["env-filter"] } +sysinfo = "0.30" # Error Handling thiserror = "1.0" diff --git a/crates/cli/Cargo.toml b/crates/cli/Cargo.toml index 79008fb..d527937 100644 --- a/crates/cli/Cargo.toml +++ b/crates/cli/Cargo.toml @@ -20,8 +20,10 @@ ignore = { workspace = true } git2 = { workspace = true, optional = true } num_cpus = { workspace = true } rayon = { workspace = true } -tokio = { version = "1.0", features = ["full"] } -tracing-subscriber = { version = "0.3", features = ["env-filter"] } +tokio = { workspace = true } +tracing = { workspace = true } +tracing-subscriber = { workspace = true } +sysinfo = { workspace = true } code-guardian-core = { path = "../core" } code-guardian-storage = { path = "../storage" } @@ -35,4 +37,3 @@ tempfile = "3.0" [features] default = [] git = ["git2"] - diff --git a/crates/core/Cargo.toml b/crates/core/Cargo.toml index 8baf6f0..8fc3968 100644 --- a/crates/core/Cargo.toml +++ b/crates/core/Cargo.toml @@ -22,9 +22,10 @@ toml = "0.8" uuid = { version = "1.0", features = ["v4"] } memmap2 = "0.9" smallvec = { version = "1.13", features = ["union"] } -tokio = { version = "1.0", features = ["full"] } -tracing = "0.1" -sysinfo = "0.30" + + tracing = "0.1" + sysinfo = "0.30" + tokio = { workspace = true } [dev-dependencies] tempfile = { workspace = true }