Rust implementation of the Relayed Data task.
Switch branches/tags
Nothing to show
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
.circleci
examples
ffi
src
tests
.editorconfig
.gitignore
Cargo.toml
LICENSE-APACHE
LICENSE-MIT
README.md
clippy.toml

README.md

SaltyRTC Relayed Data Task

CircleCI Rust Join our chat on Gitter

Testing

Unit Tests

Prerequisites:

  • You need to install valgrind and splint
  • The integration tests currently require a saltyrtc.der test CA certificate in the root directory of the repository.

To run the testsuite:

cargo test

Linting

To run clippy lints, compile the library with --features clippy on a nightly compiler:

$ cargo build --features clippy

If nightly is not your default compiler:

$ rustup run nightly cargo build --features clippy

Msgpack Debugging

If you enable the msgpack-debugging compile flag, you'll get direct msgpack analysis URLs for all decoded messages in your TRACE level logs.

cargo build --features 'msgpack-debugging'

You can customize that URL prefix at compile time using the MSGPACK_DEBUG_URL env var. This is the default URL:

MSGPACK_DEBUG_URL='https://msgpack.dbrgn.ch/#base64='

Release Signatures

Release commits and tags are signed with the Threema signing key (E7ADD9914E260E8B35DFB50665FDE935573ACDA6).

License

Licensed under either of

Contributing

Unless you explicitly state otherwise, any contribution intentionally submitted for inclusion in the work by you, as defined in the Apache-2.0 license, shall be dual licensed as above, without any additional terms or conditions.