// Copyright Two Neutron Stars Incorporated and contributors
// SPDX-License-Identifier: BlueOak-1.0.0

//! Partition writers for the symbolique pipeline.
//!
//! Extension traits for writing symbols at each pipeline stage. Import the
//! traits and call methods directly on `PartitionWriteContextRef`.
//!
//! Do not call `writer.store()` or `writer.index_entry()` directly for
//! symbolique partitions. Always use the extension trait methods.
//!
//! # Newtypes
//!
//! If your partition system uses newtypes (required by `define_partitions!`
//! for orphan rule compliance), create your own extension trait in
//! your implementing crate.

mod symbol_writer_macro;

mod file_writer;
mod linked_writer;
mod merged_writer;
mod resolution_writer;

pub use file_writer::SymboliqueWriteExt;
pub use linked_writer::LinkedSymboliqueWriteExt;
pub use merged_writer::MergedSymboliqueWriteExt;
pub use resolution_writer::ResolutionWriteExt;
