summaryrefslogtreecommitdiffstats
path: root/build.rs
AgeCommit message (Collapse)Author
2024-03-01Remove redundant imports (#377)cyqsimon
* Remove redundant imports - Now linted by clippy in 1.78 - See https://github.com/rust-lang/rust/pull/117772 * Write changelog * Remove Windows-only redundant imports in build script
2024-01-28Generate completion & manpage (#357)cyqsimon
* Generate completion & manpage * Write changelog
2023-08-31Cache npcap SDK when building on Windows (#281)cyqsimon
* Cache npcap SDK on Windows * Call build function correctly * Log when local cache of SDK is found * Fix clippy warnings * Log to STDERR
2023-08-25Use variable capture syntax in format macros where possiblecyqsimon
2023-08-25Fix build script on Windowscyqsimon
2023-08-25Fix deprecated use of `panic!` macrocyqsimon
This time, actually.
2020-09-10feat(platform): windows build and run support (#180)remgodow
* Remove connections vector from OpenSockets, use common OpenSockets implementation based on sysinfo and netstat2. * Replace termion backend with crossterm, which works on Windows as well. * More fixes for windows build. * Remove tui default-features (termion), update unit tests for crossterm. * Windows compilation fixes. * Remove unused get_open_sockets implementations for linux and mac. Fix formatting. * Add build.rs for windows to download and extract Packet.lib from npcap SDK. * Resolve Cargo.lock after merging main. * fix(tests): adjust snapshots new location of the dns resolution * style(clippy): clippy * style(clippy): remove dead code * style(clippy): use write_all in build.rs * style(clippy): remove unused import added by Intellij * style(review): use String instead of str * fix(build): run build.rs only once * fix(regression): skip iface_is_up() filter only for Windows * fix(review): restore per os implementation of get_open_sockets() * fix(cargo): add missing os specific packages * fix: conditional compilation of windows module * fix: compilation errors * fix: missing Protocol::from_str() implementation * style(clippy): remove unused methods Co-authored-by: Aram Drevekenin <aram@poor.dev>