Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 3 additions & 3 deletions app/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,11 +1,11 @@
[package]
name = "{{crate_name}}_app"
name = "plain_app"
version = "0.1.0"
edition = "2021"
authors = [ "{{authors}}" ]
authors = [ "Nikita Chashchinskii <nikita.chashchinskii@gmail.com>" ]

[dependencies]
{{crate_name}} = { path = "../lib" }
plain = { path = "../lib" }

anyhow = "1.0.72"
serde = { version = "1.0.179", features = ["derive"] }
Expand Down
2 changes: 1 addition & 1 deletion app/src/app.rs
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ use std::collections::HashMap;

use crate::cli::Config;

pub use {{crate_name}} as lib;
pub use plain as lib;
use lib::{
bip300301::{self, bitcoin, jsonrpsee, MainClient},
miner::{self, Miner},
Expand Down
2 changes: 1 addition & 1 deletion app/src/cli.rs
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,7 @@ impl Cli {
.unwrap_or_else(|| {
dirs::data_dir().expect("couldn't get default datadir, specify --datadir")
})
.join("{{crate_name}}");
.join("plain");
let main_user = self.user_main.clone().unwrap_or_else(|| "user".into());
let main_password = self
.password_main
Expand Down
4 changes: 2 additions & 2 deletions lib/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
[package]
name = "{{crate_name}}"
name = "plain"
version = "0.1.0"
edition = "2021"
authors = [ "{{authors}}" ]
authors = [ "Nikita Chashchinskii <nikita.chashchinskii@gmail.com>" ]

[dependencies]
bip300301 = { git = "https://github.com/nchashch/bip300301", rev = "cf917605ab1937c57f19f72311f96ac0b4832de0" }
Expand Down