//! Derive macro implementations for IntoLean and FromLean traits.
//!
//! This module provides automatic derive implementations for converting Rust types
//! to and from Lean constructors.
use TokenStream;
use DeriveInput;
/// Expand `#[derive(IntoLean)]` for a Rust type.
///
/// Generates an implementation of the `IntoLean` trait that converts
/// the Rust type into a Lean constructor.
/// Expand `#[derive(FromLean)]` for a Rust type.
///
/// Generates an implementation of the `FromLean` trait that extracts
/// a Rust value from a Lean constructor.