A better Rust ATProto crate
1//! Re-exports of external crate dependencies for consistent access across jacquard.
2//!
3//! This module centralises all external crate access so downstream crates and generated code
4//! reference known-good versions through a single path. This allows for easier dependency
5//! management and version upgrades across the workspace.
6
7/// Re-export of the [`bytes`](https://docs.rs/bytes/) crate for byte buffer operations.
8pub use bytes;
9
10/// Re-export of the [`chrono`](https://docs.rs/chrono/) crate for date/time handling.
11pub use chrono;
12
13/// Re-export of the [`smol_str`](https://docs.rs/smol_str/) crate for optimized small strings.
14pub use smol_str;
15
16/// Re-export of the [`fluent_uri`](https://docs.rs/fluent-uri/) crate for RFC 3986 compliant URI parsing and manipulation.
17pub use fluent_uri;
18
19/// Re-exports of crates used in code generation contexts.
20///
21/// This submodule is hidden from documentation and intended for use by generated code
22/// and related internal tooling. Stability guarantees may differ from the public API.
23#[doc(hidden)]
24pub mod codegen {
25 /// Re-export of the [`serde`](https://docs.rs/serde/) crate for serialization/deserialization.
26 pub use serde;
27
28 /// Re-export of the [`serde_bytes`](https://docs.rs/serde_bytes/) crate for efficient byte serialization.
29 pub use serde_bytes;
30
31 /// Re-export of the [`serde_ipld_dagcbor`](https://docs.rs/serde_ipld_dagcbor/) crate for CBOR encoding.
32 pub use serde_ipld_dagcbor;
33
34 /// Re-export of the [`miette`](https://docs.rs/miette/) crate for rich error diagnostics.
35 /// Only available when the `std` feature is enabled.
36 #[cfg(feature = "std")]
37 pub use miette;
38
39 /// Re-export of the [`thiserror`](https://docs.rs/thiserror/) crate for error definition macros.
40 pub use thiserror;
41
42 /// Re-export of the [`rustversion`](https://docs.rs/rustversion/) crate for conditional compilation based on Rust version.
43 pub use rustversion;
44
45 /// Re-export of the [`unicode_segmentation`](https://docs.rs/unicode-segmentation/) crate for grapheme counting.
46 pub use unicode_segmentation;
47}