Update version, remove unused features

This commit is contained in:
micialware committed 2026-09-20 22:18:59 +03:00
1 parent 96a58c61bc
commit 1d4b37e381
5 files changed
+36 -36

No files matched your search

-20
View File
@@ -69,26 +69,6 @@ fn additional_to_string(map: &LiteMap<Id, String>) -> String {
parts.join("")
}
fn additional_from_string_temp(data: String) -> LiteMap<Id, String> {
let pre_map: LiteMap<String, String> = serde_json::from_str(data.as_str()).unwrap();
LiteMap::from(
pre_map
.iter()
.map(|(k, v)| {
(
match k.as_str() {
"reading" => Id(1),
"description" => Id(2),
"context" => Id(3),
&_ => Id(0),
},
v.to_string(),
)
})
.collect(),
)
}
fn additional_from_string(data: String) -> LiteMap<Id, String> {
if data.is_empty() {
return LiteMap::new();