diff --git a/Cargo.lock b/Cargo.lock index 1cb1600..db0c711 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -79,7 +79,7 @@ checksum = "9555578bc9e57714c812a1f84e4fc5b4d21fcb063490c624de019f7464c91268" [[package]] name = "conversa_openai_client" -version = "0.2.0" +version = "0.2.1" dependencies = [ "reqwest", "serde", diff --git a/openai_client/Cargo.toml b/openai_client/Cargo.toml index b38b72c..aa1a5c9 100644 --- a/openai_client/Cargo.toml +++ b/openai_client/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "conversa_openai_client" -version = "0.2.0" +version = "0.2.1" edition = "2024" authors = ["Joao Rebelo "] license = "Apache-2.0" diff --git a/openai_client/build.rs b/openai_client/build.rs index a202e8c..7aa7d92 100644 --- a/openai_client/build.rs +++ b/openai_client/build.rs @@ -1394,6 +1394,10 @@ fn parse_endpoint_path(path_schema: &Yaml, client_output_file: &mut File) { } fn main() { + if std::env::var("DOCS_RS").is_ok() { + return; + } + println!("cargo::rerun-if-changed=./openapi.documented.yml"); println!("cargo::rerun-if-changed=src/lib.rs");