depends_rs_core/lib.rs
1#![forbid(unsafe_code)]
2//! Pure syntax transformations for the depends-rs procedural macros.
3//!
4//! Expansion state travels in tokens. This crate does not read source files,
5//! resolve Rust names, inspect function bodies, or keep a global registry.
6
7mod elaborate;
8mod expand;
9mod protocol;
10mod syntax;
11
12pub use expand::{continue_expansion, expand_depends, expand_lifetimes};
13pub use syntax::{
14 DependencyPath, DependencySource, GenericSlot, LifetimeShape, LifetimeSlot, OpaqueSlot,
15 Relation,
16};