This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# install Berkeley DB 5.1 | |
echo "deb http://security.debian.org/debian-security wheezy/updates main" >> /etc/apt/sources.list | |
apt-get --assume-yes update | |
apt-get --assume-yes install libdb5.1++-dev | |
# checkout dogecoin | |
apt-get --assume-yes install git | |
git clone http://github.com/dogecoin/dogecoin.git | |
# configure build |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
struct ThingA; | |
impl ThingA { | |
fn do_action_a(self) -> ThingB { | |
ThingB | |
} | |
} | |
struct ThingB; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
struct ThingA; | |
impl ThingA { | |
fn do_action_a(self) -> ThingB { | |
ThingB | |
} | |
} | |
struct ThingB; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
extern crate reqwest; | |
#[macro_use] | |
extern crate serde_derive; | |
#[derive(Debug, Deserialize)] | |
struct MarketGroup { | |
description: String, | |
market_group_id: u32, | |
name: String, |