/kinto-http.rs

Kinto Rust Client

Primary LanguageRustOtherNOASSERTION

Kinto Rust client

image

image

Kinto is a service that allows users to store and synchronize arbitrary data, attached to a user account. Its primary interface is HTTP.

kinto-http is a Rust library that eases the interactions with a Kinto server instance. A project with related goals is also available for JavaScript and for Python.

Installation

You can add kinto-http to your dependencies with cargo. To get the latest release:

[dependencies]
kinto_http = "0.1.0"

Contributing

Fist, clone this Github repository. You can use cargo to build the library:

$ cargo build

Running examples

You can add and run existing examples on the examples/ directory and run them with:

$ cargo run --example <example_name>

Note

The example name should omit the .rs extension.

Running tests

Run a Kinto server in background:

$ pip install kinto
$ kinto start --ini kinto.ini

Then run the tests using cargo in a single thread:

$ RUST_TEST_THREADS=1 cargo tests --verbose