diff options
author | etoledom <etoledom@icloud.com> | 2019-11-18 17:37:56 +0100 |
---|---|---|
committer | Aram Drevekenin <aram@poor.dev> | 2019-11-18 17:37:56 +0100 |
commit | 81e95f74f5ac10c60f12b33880d3fe65a1eac549 (patch) | |
tree | 831fad07adfbfa25238e2ba0ba5d24aa67e151a0 /Cargo.lock | |
parent | b4b3eace371cf802f261e7b5294365bb9bec63f0 (diff) |
refactor(macos): handle lsof in macos in a different module
* Refactor lsof connections as iterator
* Fix build issues and warnings
* Fix iterator to not finish on first wrong line
* Remove println
* Fix overflow.
Creating the regex instance on every iteration is too bad performant
* Adding connection regex as static
* Small syntax improvement
Diffstat (limited to 'Cargo.lock')
-rw-r--r-- | Cargo.lock | 1 |
1 files changed, 1 insertions, 0 deletions
@@ -1253,6 +1253,7 @@ dependencies = [ "failure 0.1.6 (registry+https://github.com/rust-lang/crates.io-index)", "insta 0.11.0 (registry+https://github.com/rust-lang/crates.io-index)", "ipnetwork 0.15.0 (registry+https://github.com/rust-lang/crates.io-index)", + "lazy_static 1.4.0 (registry+https://github.com/rust-lang/crates.io-index)", "packet-builder 0.4.0 (registry+https://github.com/rust-lang/crates.io-index)", "pnet 0.23.0 (registry+https://github.com/rust-lang/crates.io-index)", "pnet_base 0.23.0 (registry+https://github.com/rust-lang/crates.io-index)", |