Rust wrapper for analytics-next