Skip to content

Commit a671cad

Browse files
committed
feat: Reimport openapi generated client
1 parent f3323c9 commit a671cad

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

typesense/Cargo.toml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ description = "WIP client for typesense"
88

99
[features]
1010
default = ["derive"]
11-
codegen = ["typesense_codegen"]
11+
openapi_client = []
1212
tokio-rt = ["hyper/runtime", "hyper/tcp", "hyper-tls"]
1313

1414
# Provide derive(Document) macro.
@@ -27,7 +27,7 @@ serde_json = "1"
2727
sha2 = "0.9.5"
2828
thiserror = "1.0.24"
2929
typesense_derive = { version = "0.1.0", path="../typesense_derive", optional = true }
30-
typesense_codegen = { verision = "0.24.0", path="../typesense_codegen", optional = true }
30+
typesense_codegen = { version = "0.23.0", path="../typesense_codegen" }
3131

3232
[dev-dependencies]
3333
serde_json = "1.0"

typesense/src/lib.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
//!
66
//! Welcome to typesense, the rust library for the Typesense API.
77
8-
#[cfg(feature = "codegen")]
8+
#[cfg(feature = "openapi_client")]
99
pub use typesense_codegen as openapi_client;
1010

1111
mod client;

0 commit comments

Comments
 (0)