Cargo Features

[dependencies]
asn1rs = { version = "0.3.1", default-features = false, features = ["psql", "async-psql", "protobuf", "macros", "model", "debug-proc-macro", "descriptive-deserialize-errors"] }
default = macros, model

These default features are set whenever asn1rs is added without default-features = false somewhere in the dependency tree.

psql = bytes, postgres

Enables psql of asn1rs-model

feature asn1rs-*

Affects io::psql, io::psql_shared

async-psql = bytes, futures, tokio, tokio-postgres

Enables async-psql of asn1rs-model

Affects io::async_psql, io::psql_shared

protobuf

Enables protobuf of asn1rs-model

macros default = asn1rs-macros
model default = asn1rs-model

Affects asn1rs::converter

Required by the binary

debug-proc-macro

Enables debug-proc-macro of asn1rs-macros and asn1rs-model

descriptive-deserialize-errors

Affects uper::ScopeDescription

Features from optional dependencies

In crates that don't use the dep: syntax, optional dependencies automatically become Cargo features. These features may have been created by mistake, and this functionality may be removed in the future.

postgres psql?

Enables postgres

feature postgres

tokio async-psql?

Enables tokio

feature async-psql

tokio-postgres async-psql?
futures async-psql?
bytes async-psql? psql?
asn1rs-model async-psql? debug-proc-macro? model protobuf? psql?
asn1rs-macros debug-proc-macro? macros