Initial commit with core utilities

Add core utilities for IP address handling, process information, and OS detection

- Introduce `guess_local_ip` function to determine local IP address
- Implement `list_all_ips` to list all non-loopback IP addresses
- Add `find_process_using_port` to identify processes using specific ports
- Include OS information utility with `get_os_string`
- Setup project structure with Cargo.toml, .gitignore, and documentation
- Add comprehensive tests for all utility functions
- Configure code style guidelines in AGENTS.md
This commit is contained in:
2026-02-28 14:54:48 +01:00
commit bf180f2b9b
7 changed files with 1462 additions and 0 deletions

13
Cargo.toml Normal file
View File

@@ -0,0 +1,13 @@
[package]
name = "pmoutils"
version = "0.1.0"
edition = "2024"
[dependencies]
get_if_addrs = "0.5.3"
os_info = "3.8"
netstat2 = "0.11"
sysinfo = "0.30"
users = "0.11"
quick-xml = "0.37"
xmltree = "0.10"