Skip to content
This repository has been archived by the owner on Aug 5, 2024. It is now read-only.

Kinto/kinto-http.rs

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

43 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Kinto Rust client

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