SaltyRTC Relayed Data Task
Testing
Unit Tests
Prerequisites:
- You need to install
valgrind
andsplint
- The integration tests currently require a
saltyrtc.der
test CA certificate in the root directory of the repository.
To run the testsuite:
cargo test
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
- Apache License, Version 2.0 (LICENSE-APACHE or http://www.apache.org/licenses/LICENSE-2.0)
- MIT license (LICENSE-MIT or http://opensource.org/licenses/MIT) at your option.
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.