Best way to get your own IPs

I need all IP addresses the machine currently has.

Have you found a crate or written your crate to solve this problem? I am facing the same issue.