1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
//! Ruskel generates skeletonized versions of Rust crates.
//!
//! It produces a single-page, syntactically valid Rust code representation of a crate,
//! with all implementations omitted. This provides a clear overview of the crate's structure
//! and public API.
//!
//! Ruskel works by first fetching all dependencies, then using the nightly Rust toolchain
//! to generate JSON documentation data. This data is then parsed and rendered into
//! the skeletonized format. The skeletonized code is then formatted with rustfmt, and optionally
//! has syntax highlighting applied.
//!
//!
//! You must have the nightly Rust toolchain installed to use (but not to install) Ruskel.
/// Helper utilities for querying Cargo metadata and managing crate sources.
/// Utilities for normalising rustdoc structures before rendering.
/// Error types exposed by the libruskel crate.
/// Frontmatter formatting and configuration helpers.
/// Identifier helpers shared across rendering code.
/// Rendering logic that turns rustdoc data into skeleton code.
/// Public API surface for driving the renderer.
/// Search and indexing utilities used by the CLI.
/// Target parsing helpers for user-provided specifications.
/// Shared nightly/rustup helpers.
pub use Ruskel;
pub use crate::;