#octo-correct-managed #error

conjure-error

Runtime support for generated Conjure errors

31 releases (3 major breaking)

3.2.0 Nov 2, 2022
2.0.0 Jul 19, 2022
1.1.0 Mar 17, 2022
0.7.4 Jan 28, 2021
0.3.10 Jul 30, 2019

#119 in Parser implementations

Download history 526/week @ 2022-08-09 773/week @ 2022-08-16 563/week @ 2022-08-23 822/week @ 2022-08-30 797/week @ 2022-09-06 208/week @ 2022-09-13 221/week @ 2022-09-20 168/week @ 2022-09-27 167/week @ 2022-10-04 229/week @ 2022-10-11 110/week @ 2022-10-18 262/week @ 2022-10-25 275/week @ 2022-11-01 261/week @ 2022-11-08 224/week @ 2022-11-15 240/week @ 2022-11-22

1,016 downloads per month
Used in 7 crates (6 directly)

Apache-2.0

145KB
4K 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] <inputJson> <outputDirectory>

ARGS:
    <inputJson>          Path to a JSON-formatted Conjure IR file
    <outputDirectory>    Directory to place generated code

OPTIONS:
        --exhaustive                  Generate exhaustively matchable enums and unions
        --useStagedBuilders           Generate compile-time safe builders to ensure all required
                                      attributes are set
        --stripPrefix <prefix>        Strip a prefix from types's package paths
        --productName <name>          The name of the generated crate
        --productVersion <version>    The version of the generated crate
    -h, --help                        Print help information

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

~7–13MB
~248K SLoC