Skip to content
This repository has been archived by the owner on Dec 9, 2023. It is now read-only.

Commit

Permalink
Release v0.5
Browse files Browse the repository at this point in the history
  • Loading branch information
dr-orlovsky committed Jun 9, 2022
1 parent 4c9d0f0 commit 6f1a73e
Show file tree
Hide file tree
Showing 14 changed files with 367 additions and 459 deletions.
769 changes: 339 additions & 430 deletions Cargo.lock

Large diffs are not rendered by default.

24 changes: 12 additions & 12 deletions Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -30,22 +30,22 @@ required-features = ["cli"]

[dependencies]
# LNP/BP crates
amplify = "3.9"
strict_encoding = "1.7.2"
amplify = "3.12.0"
strict_encoding = "=1.7.4"
commit_verify = "0.5.11"
lnpbp = "0.5.0-beta.3"
descriptor-wallet = { version = "0.5.0-alpha.3", features = ["electrum"] }
bp-core = "0.5.0-beta.5"
rgb-core = "0.5.0-alpha.1"
rgb20 = { version = "0.5.0-alpha.3", optional = true }
lnpbp = "0.5.0"
descriptor-wallet = { version = "0.5.2", features = ["electrum"] }
bp-core = "0.5.0"
rgb-core = { version = "0.5.3", default-features = false }
rgb20 = { version = "0.5.0", optional = true }
# rgb21 = { git = "https://github.com/rgb-org/rgb-core", optional = true }
# rgb22 = { git = "https://github.com/rgb-org/rgb-core", optional = true }
# rgb23 = { git = "https://github.com/rgb-org/rgb-core", optional = true }
internet2 = "0.5.0-alpha.2"
microservices = { version = "0.5.0-beta.1", default-features = false }
internet2 = "=0.5.0"
microservices = { version = "=0.5.0", default-features = false }
# Bitcoin
bitcoin = "0.27.0"
electrum-client = { version = "0.8", optional = true }
electrum-client = { version = "0.8.0", optional = true }
# Rust language
lazy_static = "1.4"
nix = { version = "0.19", optional = true }
Expand All @@ -63,7 +63,7 @@ base64 = { version = "0.12", optional = true }
# Congig & logging
log = { version = "0.4", features = ["max_level_trace", "release_max_level_debug"] }
env_logger = "0.7"
clap = { version = "3.0.0-beta.4", optional = true }
clap = { version = "=3.0.0-beta.5", optional = true }
settings = { version = "0.10", package = "config", optional = true }
configure_me = { version = "0.3", optional = true }
dotenv = { version = "0.15", optional = true }
Expand Down Expand Up @@ -115,7 +115,7 @@ _rpc = []

serde = ["serde_crate", "serde_with", "serde_yaml", "serde_json", "toml",
"amplify/serde", "lnpbp/serde", "internet2/serde", "microservices/serde",
"chrono/serde", "bitcoin/use-serde", "rgb20/serde"]
"chrono/serde", "bitcoin/use-serde", "rgb-core/serde", "rgb20/serde"]
tor = ["microservices/tor", "internet2/tor"]
# sql = ["diesel"]
nosql = ["hammersbald"]
Expand Down
2 changes: 1 addition & 1 deletion src/bin/fungibled.rs
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@
// along with this software.
// If not, see <https://opensource.org/licenses/MIT>.

use clap::Clap;
use clap::Parser;
use log::*;
use std::env;

Expand Down
2 changes: 1 addition & 1 deletion src/bin/rgb-cli.rs
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@
// along with this software.
// If not, see <https://opensource.org/licenses/MIT>.

use clap::Clap;
use clap::Parser;
use log::*;
use std::env;

Expand Down
2 changes: 1 addition & 1 deletion src/bin/rgbd.rs
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@
// along with this software.
// If not, see <https://opensource.org/licenses/MIT>.

use clap::Clap;
use clap::Parser;
use log::LevelFilter;
use std::env;

Expand Down
2 changes: 1 addition & 1 deletion src/bin/stashd.rs
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@
// along with this software.
// If not, see <https://opensource.org/licenses/MIT>.

use clap::Clap;
use clap::Parser;
use log::*;
use std::env;

Expand Down
4 changes: 2 additions & 2 deletions src/cli/config.rs
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ use lnpbp::chain::Chain;
use super::{fungible, stash, Error, Runtime};
use crate::constants::*;

#[derive(Clap, Clone, Debug, Display)]
#[derive(Parser, Clone, Debug, Display)]
#[display(Debug)]
#[clap(
name = "rgb-cli",
Expand Down Expand Up @@ -55,7 +55,7 @@ pub struct Opts {
pub network: Chain,
}

#[derive(Clap, Clone, Debug, Display)]
#[derive(Parser, Clone, Debug, Display)]
#[display(Debug)]
pub enum Command {
Schema {
Expand Down
4 changes: 2 additions & 2 deletions src/cli/fungible.rs
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ use crate::rpc::fungible::{AcceptReq, IssueReq, TransferReq};
use crate::rpc::{reply, Reply};
use crate::util::file::ReadWrite;

#[derive(Clap, Clone, Debug, Display)]
#[derive(Parser, Clone, Debug, Display)]
#[display(Debug)]
pub enum Command {
/// Lists all known assets
Expand Down Expand Up @@ -101,7 +101,7 @@ pub enum Command {
},
}

#[derive(Clap, Clone, PartialEq, Debug, Display)]
#[derive(Parser, Clone, PartialEq, Debug, Display)]
#[display(Debug)]
pub struct TransferCli {
/// Asset inputs
Expand Down
4 changes: 2 additions & 2 deletions src/cli/stash.rs
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ use rgb::{ContractId, SchemaId, ToBech32};
use crate::cli::{Error, OutputFormat, Runtime};
use crate::rpc::Reply;

#[derive(Clap, Clone, Debug, Display)]
#[derive(Parser, Clone, Debug, Display)]
#[display(Debug)]
pub enum SchemaCommand {
/// Lists all known schemata
Expand All @@ -37,7 +37,7 @@ pub enum SchemaCommand {
},
}

#[derive(Clap, Clone, Debug, Display)]
#[derive(Parser, Clone, Debug, Display)]
#[display(Debug)]
pub enum GenesisCommand {
/// Lists all known contract ids
Expand Down
2 changes: 1 addition & 1 deletion src/fungibled/config.rs
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ use microservices::FileFormat;

use crate::constants::*;

#[derive(Clap)]
#[derive(Parser)]
#[clap(
name = "fungibled",
version = "0.1.0",
Expand Down
5 changes: 2 additions & 3 deletions src/rgbd/config.rs
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@
// along with this software.
// If not, see <https://opensource.org/licenses/MIT>.

use clap::{AppSettings, ArgEnum, Clap};
use clap::{ArgEnum, Parser};
#[cfg(feature = "serde")]
use serde::Deserialize;
use std::fmt::Display;
Expand All @@ -24,13 +24,12 @@ use microservices::FileFormat;

use crate::constants::*;

#[derive(Clap)]
#[derive(Parser)]
#[clap(
name = "rgbd",
bin_name = "rgbd",
author,
version,
setting = AppSettings::ColoredHelp
)]
pub struct Opts {
/// Sets verbosity level; can be used multiple times to increase verbosity
Expand Down
2 changes: 1 addition & 1 deletion src/rgbd/runtime.rs
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
// If not, see <https://opensource.org/licenses/MIT>.

#[cfg(any(feature = "node"))]
use clap::Clap;
use clap::Parser;
use std::{process, thread};

#[cfg(any(feature = "node"))]
Expand Down
2 changes: 1 addition & 1 deletion src/rpc/fungible.rs
Original file line number Diff line number Diff line change
Expand Up @@ -73,7 +73,7 @@ pub enum Request {
}

#[derive(
Clap, Clone, PartialEq, StrictEncode, StrictDecode, Debug, Display,
Parser, Clone, PartialEq, StrictEncode, StrictDecode, Debug, Display,
)]
#[display("issue({ticker}, {name}, precision: {precision}, ...)")]
#[cfg_attr(
Expand Down
2 changes: 1 addition & 1 deletion src/stashd/config.rs
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ use microservices::FileFormat;

use crate::constants::*;

#[derive(Clap)]
#[derive(Parser)]
#[clap(
name = "stashd",
version = "0.1.0",
Expand Down

0 comments on commit 6f1a73e

Please sign in to comment.