A better Rust ATProto crate
1//! # Lexicon schema parsing and Rust code generation for the Jacquard atproto ecosystem
2//!
3//! This crate provides the core lexicon types and code generation infrastructure.
4//!
5//! For fetching lexicons and running the codegen binaries, see the `jacquard-lexgen` crate.
6//!
7//! ## Modules
8//!
9//! - [`codegen`] - Rust code generation from parsed schemas
10//! - [`corpus`] - Lexicon corpus management and namespace organization
11//! - [`lexicon`] - Schema parsing and validation
12//! - [`schema`] - Schema generation from Rust types (reverse codegen)
13//! - [`fs`] - Filesystem utilities for lexicon storage
14//! - [`derive_impl`] - Implementation functions for derive macros (used by jacquard-derive)
15//! - [`validation`] - Runtime validation of Data against lexicon schemas
16
17#[cfg(feature = "codegen")]
18pub mod codegen;
19#[cfg(feature = "codegen")]
20pub mod corpus;
21#[cfg(feature = "codegen")]
22#[doc(hidden)]
23pub mod derive_impl;
24#[cfg(feature = "codegen")]
25pub mod error;
26#[cfg(feature = "codegen")]
27pub mod fs;
28pub mod lexicon;
29pub mod ref_utils;
30pub mod schema;
31pub mod validation;