# libjmap
Client library for JMAP, focusing on support for Calendars and Contacts.
This code works, but is of prototype quality—it will panic on many errors rather
than properly return an error. All interfaces are currently subject to change.
# Hacking
Tests currently run against a test server, which can be run using
[cyrus-docker-test-server], with:
[cyrus-docker-test-server]:
https://github.com/cyrusimap/cyrus-docker-test-server
```sh
docker run -it \
-p 8080:8080 -p 8143:8143 -p 8110:8110 -p 8024:8024 -p 8001:8001 \
cyrus-testserver
```
Tests mutate the server state and must be run serially to avoid state mismatches
due to concurrent tests. Be sure to use `cargo test -- --test-threads=1` (or
simply `make check`).
## Licence
Copyright 2025 Hugo Osvaldo Barrera
Licensed under the ISC
SPDX-License-Identifier: ISC