All releases with the relative changes are documented in this file.
- Include build.rs in the published crate
- OpenBSD and NetBSD support (#39)
- Update process name retrieval on Windows for improved performance (#43 — fixes #42)
- Update benchmarks to be even more comprehensive: test multiple processes each listening on multiple ports (#41 — fixes #35)
- Use more loose version requirements to avoid dependency conflicts in projects using this library
- FreeBSD support (#32)
- New API
get_process_by_portto efficiently get the process listening on a specific port and protocol (#34 — fixes #25) IS_OS_SUPPORTEDconstant to check if the consumer platform is supported by the library- Benchmarks on all supported platforms, which helped to considerably improve this library performance (#31)
- Only open one
ProcFdat a time on Linux (#30)
get_ports_by_pid,get_ports_by_process_name, andget_processes_by_port, since they were not optimized because internally simply based onget_all
- Added
pathfield toProcessstruct, making it possible to obtain the executables' full path (#23) - New
Protocolenum - Added
protocolfield toListenerstruct, indicating whether the listener uses TCP or UDP
- The library now retrieves all the processes listening on TCP/UDP ports, instead of just the TCP-based ones in
LISTENstate (#13 — fixes #5)
- New APIs to get the listening processes in a more granular way
get_ports_by_pidget_ports_by_process_nameget_processes_by_port
- New
Processstruct to represent a process identified by its PID and name
Listenerstruct now has aprocessfield of typeProcess, which takes place of the old fieldspidandname
- Support for Windows, Linux and macOS
get_allAPI to get all the listening processes