This commit is contained in:
Alex Emmet 2026-04-05 00:03:19 +02:00
commit 1ea0b97f6d
49 changed files with 869 additions and 289 deletions

View file

@ -5,6 +5,7 @@ edition = "2024"
[dependencies]
iota-state = { path = "../iota-state" }
iota-util = { path = "../iota-util" }
json = "*"
reqwest = "0.13.2"

View file

@ -1,6 +1,7 @@
use json::{JsonValue, object::Object};
use crate::{terms::terms_getter::Type, util::file_util::load_file};
use crate::terms_getter::Type;
use iota_util::file_util::load_file;
#[derive(Clone, Debug, PartialEq, Eq)]
#[allow(unused)]

View file

@ -1,2 +1,14 @@
pub mod doc;
pub mod terms_getter;
pub use terms_getter::Type as TermsType;
pub use terms_getter::get_current_docs;
pub use terms_getter::get_link;
pub use terms_getter::get_newest_docs;
pub use terms_getter::get_newest_link;
pub use terms_getter::get_terms;
pub mod doc;
pub use doc::Doc;

View file

@ -1,6 +1,6 @@
use json::JsonValue::Object;
use crate::terms::doc::Doc;
use crate::doc::Doc;
#[derive(Clone, Copy, Debug, PartialEq, Eq)]
pub enum Type {