Crates.io | bitcoin_opcodes |
lib.rs | bitcoin_opcodes |
version | 0.1.0 |
source | src |
created_at | 2024-01-02 20:23:37.368503 |
updated_at | 2024-01-02 20:23:37.368503 |
description | Bitcoin OpCodes that can be used interchangably with unsigned primitives |
homepage | |
repository | https://github.com/blocksurf/bitcoin_opcodes |
max_upload_size | |
id | 1086615 |
size | 22,784 |
bitcoin_opcodes
provides OpCodes that can be used interchangably with numeric primitives
Add this to your Cargo.toml
:
[dependencies]
bitcoin_opcodes = "0.1.0"
This crate supports two features: std
and alloc
.
The std
feature is enabled by default. If you specify default-features = false
to disable std
, be aware this removes Serde support for any standard library data structures that involve heap memory allocation.
The alloc
feature enables serde/alloc
for cases when an allocator is needed.