Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/realityone/libnetkeeper
The netkeeper toolkits write in rust.
https://github.com/realityone/libnetkeeper
drcom netkeeper rust singlenet
Last synced: 2 months ago
JSON representation
The netkeeper toolkits write in rust.
- Host: GitHub
- URL: https://github.com/realityone/libnetkeeper
- Owner: realityone
- License: gpl-3.0
- Created: 2016-09-04T09:01:04.000Z (over 8 years ago)
- Default Branch: master
- Last Pushed: 2022-01-19T09:33:52.000Z (almost 3 years ago)
- Last Synced: 2024-10-10T22:35:56.854Z (3 months ago)
- Topics: drcom, netkeeper, rust, singlenet
- Language: Rust
- Homepage:
- Size: 324 KB
- Stars: 11
- Watchers: 3
- Forks: 4
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# libnetkeeper
[![Build Status](https://travis-ci.org/realityone/libnetkeeper.svg?branch=master)](https://travis-ci.org/realityone/libnetkeeper)
The netkeeper toolkits write in rust.
We want integrate more algorithms in rust to avoid suffering memory management in C/C++.
And rust can be happy to cross compile to another platform, such as `MIPS` or `ARM`.## State
Current we support these algorithms with fully test case:
- [SingleNet](https://github.com/singlenet/Anti_teNelgniS)
- Netkeeper
- [DrCOM](https://github.com/drcoms/drcom-generic)And some not tested algorithms:
- SRun3k
- GHCA
- IPClient## Documents
> TBD
## Develop
First of all, you have to install rust and use nightly build, [rustup](https://www.rustup.rs) is recommended.
### Run Test
```bash
$ cargo test
...
test singlenet::dialer::test_hash_key ... ok
test netkeeper_tests::test_netkeeper_heartbeat_parse ... ok
test singlenet::heartbeater::test_authenticator ... ok
test singlenet::heartbeater::test_calc_seq ... ok
test singlenet_tests::test_bubble_request ... ok
test singlenet_tests::test_real_time_bubble_request ... ok
test singlenet_tests::test_register_request ... ok
test singlenet_tests::test_singlenet_username_encrypt ... ok
test srun3k_tests::test_srun3k_v20_username_encrypt ... ok
test singlenet_tests::test_keepalive_request_generate_and_parse ... oktest result: ok. 36 passed; 0 failed; 0 ignored; 0 measured
Doc-tests netkeeper
running 0 tests
test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured
```### Work With Stable Rust
`libnetkeeper` should be compatible with stable rust in `default` feature.
If you are using stable rust, everything will be fine except `clippy`.
```bash
$ cargo build --features=default --release
Compiling libnetkeeper v0.1.0 (file:///Users/realityone/Documents/Softs/libnetkeeper)
Finished release [optimized] target(s) in 5.50 secs
```### Issue or Pull Request
Please fell free to open an issue or create a pull request if you have any question.
### License
`libnetkeeper` is under GPLv3 License.