From ad4892f9fb845e89ad0d779cd085d957b174455c Mon Sep 17 00:00:00 2001 From: Rusty Pickle Date: Tue, 5 Aug 2025 17:22:03 +0600 Subject: [PATCH 1/2] Docs update --- Cargo.toml | 6 ++++++ src/lib.rs | 3 +++ 2 files changed, 9 insertions(+) diff --git a/Cargo.toml b/Cargo.toml index 5b7cf9e..50a1037 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -37,4 +37,10 @@ missing_panics_doc = { level = "allow", priority = 7 } struct_excessive_bools = { level = "allow", priority = 8 } [features] +default = [] fuzzy-matching = ["dep:nucleo-matcher"] + +[package.metadata.docs.rs] +all-features = true +features = ["fuzzy-matching"] +rustdoc-args = ["--cfg", "docsrs"] diff --git a/src/lib.rs b/src/lib.rs index 02426c7..dad971b 100644 --- a/src/lib.rs +++ b/src/lib.rs @@ -1,9 +1,12 @@ +#![cfg_attr(docsrs, feature(doc_cfg))] + mod auto_reload; mod auto_scroll; mod row_modification; mod row_selection; #[cfg(feature = "fuzzy-matching")] +#[cfg_attr(docsrs, doc(cfg(feature = "fuzzy-matching")))] mod fuzzy_matcher; use auto_reload::AutoReload; From 720fdd5e1949c85979dbf174352a104d7244ce06 Mon Sep 17 00:00:00 2001 From: Rusty Pickle Date: Tue, 5 Aug 2025 17:22:14 +0600 Subject: [PATCH 2/2] Update version --- Cargo.toml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Cargo.toml b/Cargo.toml index 50a1037..0d98969 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "egui-selectable-table" -version = "0.4.0" +version = "0.4.1" edition = "2024" authors = ["TheRustyPickle "] readme = "README.md"