Changeset View
Changeset View
Standalone View
Standalone View
src/rust/bitcoinsuite-core/src/lib.rs
- This file was added.
// Copyright (c) 2022 The Bitcoin developers | |||||
// Distributed under the MIT software license, see the accompanying | |||||
// file COPYING or http://www.opensource.org/licenses/mit-license.php. | |||||
#![deny(unsafe_code)] | |||||
#![warn(const_err, | |||||
dead_code, | |||||
elided_lifetimes_in_paths, | |||||
explicit_outlives_requirements, | |||||
improper_ctypes, | |||||
keyword_idents, | |||||
missing_debug_implementations, | |||||
missing_docs, | |||||
no_mangle_generic_items, | |||||
non_ascii_idents, | |||||
non_shorthand_field_patterns, | |||||
noop_method_call, | |||||
overflowing_literals, | |||||
path_statements, | |||||
patterns_in_fns_without_body, | |||||
private_in_public, | |||||
rust_2018_idioms, | |||||
single_use_lifetimes, | |||||
unconditional_recursion, | |||||
unreachable_pub, | |||||
unused_comparisons, | |||||
unused, | |||||
while_true)] | |||||
//! Core primitives for dealing with Bitcoin-like chains. | |||||
//! | |||||
//! Note: This is a general purpose library, but has been optimized for the | |||||
//! usage in Chronik, an indexer for Bitcoin ABC. | |||||
pub mod hash; |