diff --git a/Cargo.lock b/Cargo.lock index 993815a100e6b0f46f9b1afe8ed5f65dd102fb23..57f345fb53f160c551fe3409e850a16ea1dab415 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -826,6 +826,7 @@ dependencies = [ name = "duniter-core" version = "1.8.1" dependencies = [ + "dubp", "dubp-wot", "duniter-bc-reader", "duniter-conf", diff --git a/Cargo.toml b/Cargo.toml index a2e1dc520b699bd16362cf7757d006cee5d40e09..5a58423dccd64dc473440443343b68286a8ad999 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -9,6 +9,8 @@ repository = "https://git.duniter.org/nodes/rust/duniter-core" version = "1.8.1" [dependencies] +dubp = { version = "0.55.1", features = ["duniter"] } +dubp-wot = { path = "dubp-wot" } duniter-bc-reader = { path = "bc-reader" } duniter-conf = { path = "conf" } duniter-dbs = { path = "dbs" } @@ -16,7 +18,6 @@ duniter-dbs-write-ops = { path = "dbs-write-ops", optional = true } duniter-mempools = { path = "mempools" } duniter-module = { path = "module" } duniter-global = { path = "global" } -dubp-wot = { path = "dubp-wot" } [features] bc-writer = ["duniter-dbs-write-ops"] diff --git a/src/lib.rs b/src/lib.rs index 5e5caa295c8e662b9688a62c7d0abd29fae53c66..d745e6b8425d9e80330954e43afa77d128e3f65b 100644 --- a/src/lib.rs +++ b/src/lib.rs @@ -13,6 +13,17 @@ // You should have received a copy of the GNU Affero General Public License // along with this program. If not, see <https://www.gnu.org/licenses/>. +// Re-export dubp crates +pub use dubp::bda_types; +pub use dubp::block; +pub use dubp::common; +pub use dubp::crypto; +pub use dubp::documents; +pub use dubp::documents_parser; +pub use dubp::peer; +pub use dubp::wallet; + +// Re-export core crates pub use dubp_wot as wot; pub use duniter_conf as conf; pub use duniter_dbs as dbs;