Cargo Features

Versa has no features set by default.

[dependencies]
versa = { version = "0.18.0", features = ["client", "client_sender", "client_receiver", "diesel"] }
client client_receiver? client_sender?

Enables aes-gcm-siv, base64, bytes, hmac, http, json-canon, rand, reqwest, and sha1

Affects versa::client

client_sender = client

Affects encryption::encrypt_envelope, hmac_util::generate_token, versa::client_sender

client_receiver = client

Affects encryption::decrypt_envelope, hmac_util::verify_with_secret, versa::client_receiver

Features from optional dependencies

diesel implicit feature

Enables diesel

diesel:

A safe, extensible ORM and Query Builder for PostgreSQL, SQLite, and MySQL