rstox is a Rust wrapper for toxcore.
You need to have
toxcore installed as dependency to use
rstox. Follow the install instructions.
rstox in your project, add to your
[dependencies.rstox] git = "https://github.com/tox-rs/rstox.git"
and make something - example
Toxcore API documentation
rstox is licensed under GPLv3+