#serde

conjure-serde

Serde Serializer and Deserializer wrappers for Conjure

29 releases

✓ Uses Rust 2018 edition

new 0.4.6 Sep 9, 2019
0.4.0 Aug 30, 2019
0.3.10 Jul 30, 2019
0.2.4 Feb 11, 2019

#93 in Encoding

Download history 78/week @ 2019-05-26 150/week @ 2019-06-02 106/week @ 2019-06-09 118/week @ 2019-06-16 147/week @ 2019-06-23 86/week @ 2019-06-30 178/week @ 2019-07-07 72/week @ 2019-07-14 137/week @ 2019-07-21 78/week @ 2019-07-28 151/week @ 2019-08-04 42/week @ 2019-08-11 58/week @ 2019-08-18 197/week @ 2019-08-25 188/week @ 2019-09-01

519 downloads per month
Used in 2 crates

Apache-2.0

75KB
2.5K SLoC

Autorelease

Conjure-Rust

CircleCI Bintray License

Conjure support for Rust.

conjure-rust

conjure-rust is an RFC 002-compliant CLI, which can be used via a build tool like gradle-conjure, or manually:

USAGE:
    conjure-rust generate [OPTIONS] <input-json> <output-directory>

OPTIONS:
        --exhaustive                   Generate exhaustively matchable enums and unions
    -h, --help                         Prints help information
    -V, --version                      Prints version information

ARGS:
    <input-json>          Path to a JSON-formatted Conjure IR file
    <output-directory>    Directory to place generated code

conjure-codegen

Documentation

conjure-codegen is the library which turns a Conjure IR file into Rust code. It powers the conjure-rust CLI, but can also be used on its own in e.g. build scripts as an alternative approach. See its documentation for more details, as well as examples of generated code.

conjure-error

Documentation

conjure-error is the runtime support library that the errors generated by conjure-codegen depend on. It defines various standard error types and functionality to serialize and deserialize errors.

conjure-http

Documentation

conjure-http is the runtime support library that the service clients and resources generated by conjure-codegen depend on. It defines interfaces used by the underlying client and server implementations.

conjure-object

Documentation

conjure-object is the runtime support library that the objects generated by conjure-codegen depend on. It reexports the various third party types that correspond to Conjure primitives.

conjure-serde

Documentation

conjure-serde provides wrapper types for serde Serializers and Deserializers which adjust behavior to match Conjure's expectations around binary data, non-finite floating point values, and unknown fields.

Dependencies

~0.7–1MB
~19K SLoC