#schema #server #talk #serde #fetch #restli #pdsc

rustli

Rustli is a minimal Rust library to talk to Restli servers https://github.com/linkedin/rest.li and to reason about PDSC schemas. This is personal project

13 unstable releases (3 breaking)

Uses old Rust 2015

0.4.0 Apr 24, 2017
0.3.1 Apr 23, 2017
0.2.3 Feb 21, 2017
0.1.5 Oct 11, 2016

#17 in #talk

34 downloads per month

MIT/Apache

47KB
1K SLoC

Intro

Rustli is a minimal Rust library to talk to Restli servers.

Serialization

This library requires serde 1.0 on rust version 1.15.1 or better.

Fetch

Rustli provides fetch functionality on top of curl-rust.

We have also evaluate hyper.

See also rust-rest

Unfortunately there is a bug in cargo for our use case of hyper. We want to support OS X with native libraries and Linux with Openssl. This requires loading hyper with different features based on the target os and this is not supported in cargo.

Typescript generation

Typescript code generation is provided in the generate module.

Tests

To run tests for all features use run-tests.sh

Dependencies

~1–4.5MB
~96K SLoC