// SPDX-License-Identifier: Apache-2.0
// Copyright (c) 2025 ReifyDB
// SPDX-License-Identifier: Apache-2.0
// Copyright (c) 2025 ReifyDB
// This file is licensed under the MIT, see license.md file
//! Derive macros for ReifyDB client that generate code using `reifydb_client` crate paths.
//!
//! This crate is re-exported by the `reifydb-client` crate, so users typically don't
//! need to depend on it directly.
use TokenStream;
use derive_from_frame_with_crate;
/// Derives `FromFrame` for a struct, enabling deserialization from a Frame.
///
/// Generated code references types from the `reifydb_client` crate.
///
/// # Attributes
///
/// - `#[frame(column = "name")]` - Use a different column name than the field name
/// - `#[frame(optional)]` - Field is optional; missing columns or None values become None
/// - `#[frame(coerce)]` - Use widening type coercion for this field
/// - `#[frame(skip)]` - Skip this field (must implement Default)