Crates.io | etebase |
lib.rs | etebase |
version | 0.6.0 |
source | src |
created_at | 2020-11-11 13:00:28.914415 |
updated_at | 2023-05-31 13:08:43.87465 |
description | A Rust client library for Etebase |
homepage | https://www.etebase.com |
repository | https://github.com/etesync/etebase-rs/ |
max_upload_size | |
id | 311209 |
size | 284,287 |
A Rust library for Etebase
In addition to exposing a Rust API, this library forms the basis of other Etebase libraries, for example libetebase.
In addition to the API documentation, there are docs available at https://docs.etebase.com
The current MSRV is 1.63.0. Changes to the MSRV are not considered breaking and may occur in any patch release, it is however guaranteed that at least the previous Rust version will always be supported. This results in a three-month grace period from when a new Rust verion is released until it may become required.
To build:
$ cargo build
To test, run the etesync/test-server
image using the latest version, e.g.,
docker run -p 3735:3735 -d etesync/test-server:latest
and then set ETEBASE_TEST_HOST
to the host:port on which that is running; for the docker invocation above, that's
export ETEBASE_TEST_HOST=localhost:3735
and then run the tests:
$ cargo test -- --test-threads 1
Please note that the tests run against the local server so we need to run them single threaded to make sure they don't clash.