Commit graph

17 commits

Author SHA1 Message Date
Vincent Ambo
1b7464f9cf refactor(lib): Add some additional documentation
* improve delete() docs
* add docs for send() & receive()
* remove unnecessary clone() calls
2017-10-16 17:43:41 +02:00
Vincent Ambo
b75306e58f chore(lib): Derive Debug traits on Queue, Message 2017-10-16 17:42:38 +02:00
Vincent Ambo
1b79584088 fix(lib): Fix incorrect error message for name validation
The message should have been the exact opposite, duh!
2017-10-16 17:42:03 +02:00
Vincent Ambo
773d6eec9d docs(README): Add Travis-CI & crates.io badges 2017-10-16 13:59:27 +02:00
Vincent Ambo
8ea424f533 docs(Cargo): Add more info to Cargo manifest 2017-10-16 02:29:50 +02:00
Vincent Ambo
629268ef4a feat(build): Add automated Travis builds 2017-10-16 02:24:33 +02:00
Vincent Ambo
45d23efb98 docs: Add README 2017-10-16 02:09:15 +02:00
Vincent Ambo
3144b61ccc feat(lib): Implement Drop trait for Queue
Implements the Drop trait to take care of closing the queue descriptor
when a Queue instance is dropped.
2017-10-16 02:00:32 +02:00
Vincent Ambo
6be954393b feat(tests): Add a simple send/receive test 2017-10-16 02:00:25 +02:00
Vincent Ambo
c3cc663ab1 fix(lib): Trim whitespace from OS limit files 2017-10-16 01:52:38 +02:00
Vincent Ambo
3ee616a25a fix(lib): Borrow &self in send/receive 2017-10-16 01:17:05 +02:00
Vincent Ambo
557655ee1d fix(lib): drop(self) after delete() call 2017-10-16 01:14:27 +02:00
Vincent Ambo
d6fa62a968 style: Apply code format 2017-10-16 01:11:33 +02:00
Vincent Ambo
7dc6144e3f feat: Implement high-level POSIX message queue API
Implements a high-level API on top of POSIX message queues
(mq_overview(7)).

This API can be used to perform local RPC between processes that need
to exchange messages *fast* (or *easy*) with priority ordering.

The methods are mostly documented but there are still two corner cases
that need to be looked at and a lot of tests missing.
2017-10-16 01:08:08 +02:00
Vincent Ambo
1f1a74108e feat(error): Add error-mapping from C calls
Implements an error enum with mappings from the low-level C calls and
appropriate error descriptions.
2017-10-15 23:22:18 +02:00
Vincent Ambo
a89b7255ee chore: Add project scaffolding 2017-10-15 22:06:22 +02:00
Vincent Ambo
2957c16a53 chore: Initial commit 2017-10-15 22:05:56 +02:00