cujson 0.1.3

GPU JSON parsing with cuJSON (ASPLOS '26), packaged for Rust and Python
Documentation
//! Tape format, CPU reference builder, and navigator.
//!
//! See `FORMAT.md` in this directory for the tape layout this module
//! implements, cited to the upstream CUDA/C++ source.

mod document;
mod error;
mod storage;
mod visit;

#[cfg(feature = "cpu-reference")]
mod builder;
#[cfg(feature = "cpu-reference")]
mod diff;

pub use document::{Document, Kind, Node};
pub use error::Error;
pub(crate) use error::NOT_SINGLE_VALUE;
pub use storage::{Tape, TapeStorage};
pub use visit::Visitor;

#[cfg(feature = "cuda")]
pub(crate) use storage::tape_from_ffi;

#[cfg(feature = "cpu-reference")]
pub use builder::{Mode, build_tape_cpu};
#[cfg(feature = "cpu-reference")]
pub use diff::{DiffField, TapeDiff, diff_tapes};