// Rust Bitcoin Library // Written in 2014 by // Andrew Poelstra // // To the extent possible under law, the author(s) have dedicated all // copyright and related and neighboring rights to this software to // the public domain worldwide. This software is distributed without // any warranty. // // You should have received a copy of the CC0 Public Domain Dedication // along with this software. // If not, see . // //! # Rust Bitcoin Library //! //! This is a library for which supports the Bitcoin network protocol and associated //! primitives. It is designed for Rust programs built to work with the Bitcoin //! network. //! //! It is also written entirely in Rust to illustrate the benefits of strong type //! safety, including ownership and lifetime, for financial and/or cryptographic //! software. //! #![crate_name = "bitcoin"] #![crate_type = "dylib"] #![crate_type = "rlib"] // Experimental features we need #![cfg_attr(all(test, feature = "unstable"), feature(test))] // Coding conventions #![deny(non_upper_case_globals)] #![deny(non_camel_case_types)] #![deny(non_snake_case)] #![deny(unused_mut)] #![deny(missing_docs)] extern crate byteorder; extern crate crypto; #[macro_use] extern crate jsonrpc; extern crate num; extern crate num_cpus; extern crate rand; extern crate rustc_serialize as serialize; extern crate secp256k1; extern crate serde; extern crate strason; #[cfg(all(test, feature = "unstable"))] extern crate test; extern crate time; #[cfg(test)] #[macro_use] mod test_macros; #[macro_use] mod internal_macros; #[macro_use] pub mod macros; pub mod network; pub mod blockdata; pub mod util;