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