Skip to content
Snippets Groups Projects
Commit 2215aca7 authored by Éloïs's avatar Éloïs
Browse files

[pub] dubp-documents v0.14.0

parent 0b6d66b3
No related branches found
No related tags found
1 merge request!194Elois/indexs
[package]
name = "dubp-documents"
version = "0.13.0"
version = "0.14.0"
authors = ["nanocryk <nanocryk@duniter.org>", "elois <elois@ifee.fr>"]
description = "Handles DUBP documents (DUBP: DUniter Blockhain Protocol)"
repository = "https://git.duniter.org/nodes/rust/duniter-rs"
......@@ -13,11 +13,11 @@ edition = "2018"
path = "src/lib.rs"
[dependencies]
durs-common-tools = { path = "../../tools/common-tools" }
dup-crypto = { path = "../../crypto" }
dup-currency-params = { path = "../currency-params" }
durs-common-tools = { path = "../../tools/common-tools", version = "0.2.0" }
dup-crypto = { path = "../../crypto", version = "0.7.0" }
dubp-currency-params = { path = "../currency-params", version = "0.2.0" }
failure = "0.1.5"
json-pest-parser = { path = "../../tools/json-pest-parser" }
json-pest-parser = { path = "../../tools/json-pest-parser", version = "0.2.0" }
pest = "2.1.0"
pest_derive = "2.1.0"
serde = "1.0.*"
......
# Documents
Do not use this crate anymore. It was cut into 4 new crates:
- dubp-common
- dubp-wot-doc
- dubp⁻tx-doc
- dubp-block
`documents` is a crate implementing the [Duniter] Documents Protocol in [version 10][version10].
[Duniter]: https://duniter.org/en/
......@@ -7,4 +14,5 @@
## How to use it
You can add `dubp-documents` as a `cargo` dependency in your Rust project.
Please do not use this crate anymore, it is no longer maintained.
Use instead the 4 new crates mentioned above.
......@@ -17,8 +17,8 @@
use dup_crypto::hashs::Hash;
use dup_crypto::keys::*;
use dup_currency_params::genesis_block_params::v10::BlockV10Parameters;
use dup_currency_params::CurrencyName;
use dubp_currency_params::genesis_block_params::v10::BlockV10Parameters;
use dubp_currency_params::CurrencyName;
use durs_common_tools::fatal_error;
use std::ops::Deref;
use unwrap::unwrap;
......
WHITESPACE = _{ "" } // Prohibition of white spaces
//WHITESPACE = _{ "" } // Prohibition of white spaces
nl = _{ "\n" } // Only one way to break a line is accepted
hexa_upper = { ASCII_DIGIT | 'A'..'F' }
......
......@@ -20,8 +20,8 @@ use crate::*;
use dup_crypto::bases::BaseConvertionError;
use dup_crypto::hashs::Hash;
use dup_crypto::keys::*;
use dup_currency_params::genesis_block_params::v10::BlockV10Parameters;
use dup_currency_params::CurrencyName;
use dubp_currency_params::genesis_block_params::v10::BlockV10Parameters;
use dubp_currency_params::CurrencyName;
use failure::Error;
use json_pest_parser::*;
use std::str::FromStr;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment