From e8be075f13094079df7d66ae315fcb479d1174ba Mon Sep 17 00:00:00 2001 From: lovasoa Date: Thu, 4 Apr 2024 18:18:52 +0200 Subject: [PATCH] fix docs.rs --- Cargo.toml | 2 +- src/lib.rs | 1 + 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/Cargo.toml b/Cargo.toml index 8e5662f..0dfd59b 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "good_lp" -version = "1.8.0" +version = "1.8.1" authors = ["Ophir LOJKINE "] edition = "2018" repository = "https://github.com/rust-or/good_lp" diff --git a/src/lib.rs b/src/lib.rs index 57536c2..785f8e0 100644 --- a/src/lib.rs +++ b/src/lib.rs @@ -79,6 +79,7 @@ pub use expression::Expression; )))] #[cfg(feature = "clarabel")] pub use solvers::clarabel::clarabel as default_solver; +#[cfg_attr(docsrs, doc(cfg(feature = "clarabel")))] #[cfg(feature = "clarabel")] pub use solvers::clarabel::clarabel; #[cfg_attr(docsrs, doc(cfg(feature = "coin_cbc")))]