#[cfg(feature = "streaming")]
#[test]
fn streaming_feature_compiles() {
use anthropic_async::streaming::Accumulator;
use anthropic_async::streaming::Event;
use anthropic_async::streaming::EventStream;
use anthropic_async::streaming::SSEDecoder;
use anthropic_async::streaming::SseFrame;
drop::<SSEDecoder>(SSEDecoder::new());
drop::<Accumulator>(Accumulator::new());
drop::<SseFrame>(SseFrame::default());
drop::<Event>(Event::MessageStop);
drop::<Option<EventStream>>(None);
}
#[cfg(not(feature = "streaming"))]
#[test]
fn streaming_feature_not_enabled() {
}