From b4c25f17cd8d75f05123928e47f44dd56275749f Mon Sep 17 00:00:00 2001 From: IshitaTakeshi Date: Wed, 15 May 2024 18:02:22 +0900 Subject: Make this crate work with no-std --- Cargo.toml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'Cargo.toml') diff --git a/Cargo.toml b/Cargo.toml index b37398b..e84ce3e 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -11,7 +11,7 @@ keywords = ["ann", "knn", "nearest-neighbors"] categories = ["algorithms", "data-structures"] [dependencies] -num-traits = "0.2.14" +num-traits = { version = "0.2.14", default-features = false, features = ["libm"] } [dev-dependencies] criterion = "0.3.5" -- cgit v1.2.3