File tree Expand file tree Collapse file tree 2 files changed +3
-4
lines changed
sdk/typespec/typespec_client_core/src/http Expand file tree Collapse file tree 2 files changed +3
-4
lines changed Original file line number Diff line number Diff line change @@ -24,10 +24,6 @@ pub use pipeline::*;
2424pub use request:: { Body , Request , RequestContent } ;
2525pub use response:: { Model , Response } ;
2626
27- // Re-export derive macro for Model.
28- #[ cfg( feature = "derive" ) ]
29- pub use typespec_derive:: Model ;
30-
3127// Re-export important types.
3228pub use http_types:: { Method , StatusCode } ;
3329pub use url:: Url ;
Original file line number Diff line number Diff line change @@ -9,6 +9,9 @@ use std::future::Future;
99use std:: { fmt, marker:: PhantomData , pin:: Pin } ;
1010use typespec:: error:: { ErrorKind , ResultExt } ;
1111
12+ #[ cfg( feature = "derive" ) ]
13+ pub use typespec_derive:: Model ;
14+
1215#[ cfg( not( target_arch = "wasm32" ) ) ]
1316pub type PinnedStream = Pin < Box < dyn Stream < Item = crate :: Result < Bytes > > + Send + Sync > > ;
1417#[ cfg( target_arch = "wasm32" ) ]
You can’t perform that action at this time.
0 commit comments