Cargo Features

[dependencies]
gelx = { version = "0.3.0", default-features = false, features = ["with_bigint", "with_bigdecimal", "with_chrono", "with_all", "builder", "query", "serde"] }
default = with_all

! #### Default

The default feature is with_all.

with_bigint with_all

! #### Types

Include the num-bigint dependency.

Enables num-bigint and num-traits, with-num-bigint of gel-protocol, with_bigint of gelx_macros

with_bigdecimal with_all

Use the bigdecimal crate.

Enables bigdecimal, num-bigint and num-traits, with-bigdecimal of gel-protocol, with_bigdecimal of gelx_macros

with_chrono with_all

Use the chrono crate for all dates.

Enables chrono, with-chrono of gel-protocol, with_chrono of gelx_macros

with_all default = with_bigdecimal, with_bigint, with_chrono

Include all additional types. This is included by default. Use default-features = false to disable.

Enables gel-protocol, with_all of gelx_macros

builder

! #### Behavior

Use the typed-builder crate to generate the builders for the generated Input structs.

Enables typed-builder

query

Turn on the query and transaction methods and anything that relies on gel-tokio. The reason to separate this feature is to enable usage of this macro in browser environments where gel-tokio is not feasible.

Enables gel-derive and gel-tokio, query of gelx_macros

serde

Enable serde for the generated code.

Enables serde and serde_bytes, serde of chrono, with-serde of gel-protocol, serde of gelx_macros, serde of uuid