use crate::attributes::{self, PipelineAttributes};
use crate::errors::Result;
use proc_macro2::TokenStream;
use syn::DeriveInput;
use crate::pipeline;
pub fn pipeline_derive(input: DeriveInput) -> Result<TokenStream> {
let attrs: PipelineAttributes = attributes::parse_attributes(&input)?;
pipeline::pipeline_derive(input, &attrs)
}