Skip to main content

vitaminc_aead_napi/
lib.rs

1#![deny(clippy::unwrap_used, clippy::todo, unused_imports)]
2// The only unsafe left is where napi-rs's conversion traits require it.
3// Each block has to say why it is sound, and unsafe calls inside those trait
4// methods still need their own block.
5#![deny(unsafe_op_in_unsafe_fn, clippy::undocumented_unsafe_blocks)]
6#![doc = include_str!("../README.md")]
7mod ciphertext;
8mod error;
9mod js;
10mod js_builder;
11mod js_ref;
12mod scalar;
13mod wrappers;
14
15pub use ciphertext::{JsCipherText, NapiPassthrough};
16pub use error::JsFault;
17pub use js::MAX_DEPTH;
18pub use js_builder::JsBuilder;
19pub use js_ref::JsRef;
20pub use scalar::ConversionError;
21pub use wrappers::{Wrapper, Wrappers};