build: fix compilation without default features (#218)

* build: fix compilation with optional features
* Remove unused config from Cargo.toml
* Fix cache keys
Co-authored-by: Luis Moreno <morenol@users.noreply.github.com>
This commit is contained in:
morenol
2022-11-02 05:09:03 -05:00
committed by GitHub
parent 4cf7e4d7b7
commit 4b096ad558
7 changed files with 45 additions and 15 deletions
+1 -1
View File
@@ -92,7 +92,7 @@ pub struct SVRParameters<'a, T: Number + RealNumber> {
pub c: T,
/// Tolerance for stopping criterion.
pub tol: T,
#[serde(skip_deserializing)]
#[cfg_attr(feature = "serde", serde(skip_deserializing))]
/// The kernel function.
pub kernel: Option<&'a dyn Kernel<'a>>,
}