Skip to content

dtobin/conjure-rust

 
 

Repository files navigation

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-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.

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.

About

Conjure support for Rust

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • Rust 99.8%
  • Shell 0.2%