From f7a3a38385a56841494e8c0cb9f67406090d8121 Mon Sep 17 00:00:00 2001 From: "Carpenter, Adam (CORP)" Date: Fri, 26 Nov 2021 11:58:06 -0500 Subject: feat: scaffold feature switch route extension hierarchy --- angelsharkd/Cargo.toml | 9 +++++++-- 1 file changed, 7 insertions(+), 2 deletions(-) (limited to 'angelsharkd/Cargo.toml') diff --git a/angelsharkd/Cargo.toml b/angelsharkd/Cargo.toml index f820528..9ca459e 100644 --- a/angelsharkd/Cargo.toml +++ b/angelsharkd/Cargo.toml @@ -1,10 +1,15 @@ [package] name = "angelsharkd" -version = "0.1.2" +version = "0.2.0" edition = "2021" authors = ["Adam T. Carpenter "] description = "A HTTP interface into one or more Communication Managers" +[features] +extensions = [] +simple_search = ["extensions"] +simple_deprov = ["extensions"] + [dependencies.libangelshark] path = "../libangelshark" @@ -20,7 +25,7 @@ default-features = false version = "0.4" [dependencies.env_logger] -version = "0.8" +version = "0.9" [dependencies.serde] version = "1" -- cgit v1.2.3 From 6dd3236069d5cbdd6cb946b408cd6efb7e91d0f9 Mon Sep 17 00:00:00 2001 From: "Carpenter, Adam (CORP)" Date: Fri, 26 Nov 2021 15:58:13 -0500 Subject: feat: impl lazy-refreshing cache for quick access to be used for haystack --- angelsharkd/Cargo.toml | 11 ++++++++--- 1 file changed, 8 insertions(+), 3 deletions(-) (limited to 'angelsharkd/Cargo.toml') diff --git a/angelsharkd/Cargo.toml b/angelsharkd/Cargo.toml index 9ca459e..8e617e7 100644 --- a/angelsharkd/Cargo.toml +++ b/angelsharkd/Cargo.toml @@ -6,9 +6,8 @@ authors = ["Adam T. Carpenter "] description = "A HTTP interface into one or more Communication Managers" [features] -extensions = [] -simple_search = ["extensions"] -simple_deprov = ["extensions"] +simple_search = ["cached"] +simple_deprov = [] [dependencies.libangelshark] path = "../libangelshark" @@ -33,3 +32,9 @@ features = ["derive"] [dependencies.anyhow] version = "1" + +[dependencies.cached] +optional = true +version = "0.26" +default-features = false +features = ["proc_macro"] -- cgit v1.2.3 From 91d8810402ae8e1173a3c064519c9f1b03e13224 Mon Sep 17 00:00:00 2001 From: "Carpenter, Adam (CORP)" Date: Fri, 26 Nov 2021 16:48:35 -0500 Subject: refactor: simplify by eliminating needless cached for smaller once_cell --- angelsharkd/Cargo.toml | 8 +++----- 1 file changed, 3 insertions(+), 5 deletions(-) (limited to 'angelsharkd/Cargo.toml') diff --git a/angelsharkd/Cargo.toml b/angelsharkd/Cargo.toml index 8e617e7..d532bf9 100644 --- a/angelsharkd/Cargo.toml +++ b/angelsharkd/Cargo.toml @@ -6,7 +6,7 @@ authors = ["Adam T. Carpenter "] description = "A HTTP interface into one or more Communication Managers" [features] -simple_search = ["cached"] +simple_search = ["once_cell"] simple_deprov = [] [dependencies.libangelshark] @@ -33,8 +33,6 @@ features = ["derive"] [dependencies.anyhow] version = "1" -[dependencies.cached] +[dependencies.once_cell] optional = true -version = "0.26" -default-features = false -features = ["proc_macro"] +version = "1" \ No newline at end of file -- cgit v1.2.3 From d65e36a4b6f2e28d25ed2996a94db17a7ae9abd9 Mon Sep 17 00:00:00 2001 From: "Carpenter, Adam (CORP)" Date: Mon, 29 Nov 2021 13:52:11 -0500 Subject: refactor: static global and once_cell depends --- angelsharkd/Cargo.toml | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) (limited to 'angelsharkd/Cargo.toml') diff --git a/angelsharkd/Cargo.toml b/angelsharkd/Cargo.toml index d532bf9..9fdb00c 100644 --- a/angelsharkd/Cargo.toml +++ b/angelsharkd/Cargo.toml @@ -6,7 +6,7 @@ authors = ["Adam T. Carpenter "] description = "A HTTP interface into one or more Communication Managers" [features] -simple_search = ["once_cell"] +simple_search = [] simple_deprov = [] [dependencies.libangelshark] @@ -32,7 +32,3 @@ features = ["derive"] [dependencies.anyhow] version = "1" - -[dependencies.once_cell] -optional = true -version = "1" \ No newline at end of file -- cgit v1.2.3