From 45806a286be985c372fa5cfea17271b7512d4ddb Mon Sep 17 00:00:00 2001 From: hosted-fornet Date: Wed, 31 Jan 2024 21:29:35 -0800 Subject: [PATCH] export types as lib --- Cargo.toml | 2 ++ src/lib.rs | 8 ++++++++ 2 files changed, 10 insertions(+) create mode 100644 src/lib.rs diff --git a/Cargo.toml b/Cargo.toml index 4e6ad213..9537445b 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -8,6 +8,8 @@ homepage = "https://kinode.org" repository = "https://github.com/kinode-dao/kinode" license = "Apache-2.0" +[lib] + [build-dependencies] reqwest = { version = "0.11.22", features = ["blocking"] } sha2 = "0.10" diff --git a/src/lib.rs b/src/lib.rs new file mode 100644 index 00000000..1319ed24 --- /dev/null +++ b/src/lib.rs @@ -0,0 +1,8 @@ +mod types; +mod eth; +mod http; + +pub use crate::types::*; +pub use eth::types as eth_types; +pub use crate::http::client_types as http_client; +pub use crate::http::server_types as http_server;