Showcase Iced Rust GUI framework tools, apps and more!
A product registry
I'm verifying ownership of zebraswamp@protonmail.com at EarnCarrot. |
[target.x86_64-pc-windows-gnu] | |
linker = "x86_64-w64-mingw32-gcc" | |
[target.i686-pc-windows-gnu] | |
linker = "i686-w64-mingw32-gcc" | |
rustflags = "-C panic=abort" |
use bitcoin::Network; | |
use std::path::PathBuf; | |
use magical_bitcoin_wallet::bitcoincore_rpc::{Auth as RpcAuth, Client as RpcClient}; | |
use magical_bitcoin_wallet::blockchain::{ | |
BitcoinRpcBlockchain, Blockchain, Capability, ElectrumBlockchain, OnlineBlockchain, Progress, | |
}; | |
use magical_bitcoin_wallet::Client as ElectrumClient; | |
use std::collections::HashSet; |
[4:52:58 pm] <justinmoon> How should "sortedmulti" work with rust-miniscript? Seems like we'd need extended descriptor support and another `Terminal` variant to accomplish this? | |
[5:05:36 pm] <sanket1729> Can you elaborate? What is sortedmulti? | |
[5:13:58 pm] <sanket1729> I see, it is a descriptor like multi, but with pubkeys sorted | |
[5:23:10 pm] <andytoshi> is this part of core? i've never heard of it | |
[5:23:18 pm] <andytoshi> why would this be a distinct descriptor? | |
[5:24:09 pm] <sanket1729> Looks like it is present in core | |
[5:24:10 pm] <sanket1729> https://github.com/bitcoin/bitcoin/blob/master/doc/descriptors.md | |
[5:25:09 pm] <sanket1729> https://github.com/bitcoin/bitcoin/pull/17056 | |
[5:25:47 pm] <andytoshi> ok i see | |
[5:25:51 pm] <andytoshi> yeah this is cool, we should support it |
$ cargo run | |
Compiling cc v1.0.50 | |
Compiling pkg-config v0.3.17 | |
Compiling proc-macro2 v1.0.9 | |
Compiling libc v0.2.68 | |
Compiling autocfg v1.0.0 | |
Compiling unicode-xid v0.2.0 | |
Compiling fs_extra v1.1.0 | |
Compiling syn v1.0.17 | |
Compiling log v0.4.8 |
use iced::{button, Align, Button, Column, Element, Sandbox, Settings, Text}; | |
pub fn main() { | |
App::run(Settings::default()) | |
} | |
#[derive(Default)] | |
struct First<'value> { | |
value: &'value str, | |
} |
use iced::{button, Align, Button, Column, Element, Row, Sandbox, Settings, Text}; | |
// | |
// Node page | |
// | |
struct NodePage {} | |
impl NodePage { | |
fn view(&mut self) -> Element<Message> { |
import asyncio | |
from colorama import Fore, Back, Style | |
from random import choice | |
def random_color(): | |
return choice([Fore.BLACK, Fore.RED, Fore.GREEN, Fore.YELLOW, Fore.BLUE, Fore.MAGENTA, Fore.CYAN, Fore.WHITE]) | |
class Pool: |
#[cfg(all(target_os = "linux"))] | |
fn are_you_on_linux() { | |
println!("You are running linux!"); | |
} | |
#[cfg(not(target_os = "linux"))] | |
fn are_you_on_linux() { | |
println!("You are *not* running linux!"); | |
} |