export types as lib

This commit is contained in:
hosted-fornet 2024-01-31 21:29:35 -08:00
parent b330a89dd9
commit 45806a286b
2 changed files with 10 additions and 0 deletions

View File

@ -8,6 +8,8 @@ homepage = "https://kinode.org"
repository = "https://github.com/kinode-dao/kinode" repository = "https://github.com/kinode-dao/kinode"
license = "Apache-2.0" license = "Apache-2.0"
[lib]
[build-dependencies] [build-dependencies]
reqwest = { version = "0.11.22", features = ["blocking"] } reqwest = { version = "0.11.22", features = ["blocking"] }
sha2 = "0.10" sha2 = "0.10"

8
src/lib.rs Normal file
View File

@ -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;