No description
Find a file
Evgeny Kurnevsky 5ab95a61f0
Some checks failed
Rust / build (macos-latest, 1.65) (push) Has been cancelled
Rust / build (macos-latest, stable) (push) Has been cancelled
Rust / build (ubuntu-latest, 1.65) (push) Has been cancelled
Rust / build (ubuntu-latest, stable) (push) Has been cancelled
Rust / build (windows-latest, 1.65) (push) Has been cancelled
Rust / build (windows-latest, stable) (push) Has been cancelled
Rust / Clippy (push) Has been cancelled
Rust / Rustfmt (push) Has been cancelled
Rust / Code coverage (push) Has been cancelled
Merge pull request #474 from tox-rs/fmt
Apply rustfmt
2023-05-19 08:22:43 +00:00
.github/workflows chore: add rustfmt check to github actions 2023-05-14 21:45:04 +03:00
examples chore: apply rustfmt 2023-05-14 21:09:41 +03:00
scripts chore: replace Travis CI with Github Actions 2020-02-25 13:33:09 +03:00
tox chore: apply rustfmt 2023-05-14 21:09:41 +03:00
tox_binary_io chore: apply rustfmt 2023-05-14 21:09:41 +03:00
tox_core chore: apply rustfmt 2023-05-14 21:09:41 +03:00
tox_crypto chore: apply rustfmt 2023-05-14 21:09:41 +03:00
tox_encryptsave chore: apply rustfmt 2023-05-14 21:09:41 +03:00
tox_node chore: apply rustfmt 2023-05-14 21:09:41 +03:00
tox_packet chore: apply rustfmt 2023-05-14 21:09:41 +03:00
.editorconfig chore(editorconfig): add .editorconfig 2019-04-27 13:09:40 +03:00
.gitignore chore(node): add tox node to the workspace 2022-09-04 19:56:54 +03:00
AUTHORS.md chore(docs): fix markdownlint warnings 2023-04-15 15:30:50 +03:00
Cargo.lock chore(cargo): update deps 2023-05-14 19:25:06 +03:00
Cargo.toml chore(node): add tox node to the workspace 2022-09-04 19:56:54 +03:00
CHANGELOG.md chore(docs): fix markdownlint warnings 2023-04-15 15:30:50 +03:00
CONTRIBUTING.md chore(docs): fix markdownlint warnings 2023-04-15 15:30:50 +03:00
COPYING.iOS feat(license): drop MIT license 2020-06-22 18:51:52 +03:00
LICENSE feat(license): drop MIT license 2020-06-22 18:51:52 +03:00
README.md chore(rustc): bump minimum version 2023-05-14 19:29:25 +03:00
rustfmt.toml chore: apply rustfmt 2023-05-14 21:09:41 +03:00

Tox

Github Build Status Coverage Status Docs Current Crates.io Version Join Gitter

This library is an implementation of toxcore in Rust - P2P, distributed, encrypted, easy to use DHT-based network.

Reference

The Tox Reference should be used for implementing toxcore in Rust. Reference source repository.

If existing documentation appears to not be complete, or is not clear enough, issue / pull request should be filled on the reference repository.

Contributions

...are welcome. 😄 For details, look at CONTRIBUTING.md.

Building

Fairly simple. First, install Rust >= 1.65 and a C compiler (Build Tools for Visual Studio on Windows, GCC or Clang on other platforms).

Then you can build the debug version with

cargo build

To run tests, use:

cargo test

To build docs and open them in your browser:

cargo doc --open

With clippy

To check for clippy warnings (linting), you need nightly Rust with clippy-preview component.

To check:

cargo clippy --all

To check with tests:

cargo clippy --all --tests

Goals

  • improved toxcore implementation in Rust
  • Rust API
  • documentation
  • tests
  • more

Progress

A fully working tox-node written in pure Rust with a DHT server and a TCP relay can be found here.

Right now we are working on the client part.

Authors

zetox was created by Zetok Zalbavar (zetok/openmailbox/org) and assimilated by the tox-rs team.

tox-rs has contributions from many users. See AUTHORS.md. Thanks everyone!

License

Licensed under GPLv3+ with Apple app store exception.