File tree Expand file tree Collapse file tree 2 files changed +5
-0
lines changed Expand file tree Collapse file tree 2 files changed +5
-0
lines changed Original file line number Diff line number Diff line change @@ -8,6 +8,7 @@ description = "WIP client for typesense"
8
8
9
9
[features ]
10
10
default = [" derive" ]
11
+ codegen = [" typesense_codegen" ]
11
12
tokio-rt = [" hyper/runtime" , " hyper/tcp" , " hyper-tls" ]
12
13
13
14
# Provide derive(Document) macro.
@@ -26,6 +27,7 @@ serde_json = "1"
26
27
sha2 = " 0.9.5"
27
28
thiserror = " 1.0.24"
28
29
typesense_derive = { version = " 0.1.0" , path =" ../typesense_derive" , optional = true }
30
+ typesense_codegen = { verision = " 0.24.0" , path =" ../typesense_codegen" , optional = true }
29
31
30
32
[dev-dependencies ]
31
33
serde_json = " 1.0"
Original file line number Diff line number Diff line change 5
5
//!
6
6
//! Welcome to typesense, the rust library for the Typesense API.
7
7
8
+ #[ cfg( feature = "codegen" ) ]
9
+ pub use typesense_codegen as openapi_client;
10
+
8
11
mod client;
9
12
pub mod collection;
10
13
pub mod document;
You can’t perform that action at this time.
0 commit comments