#bitcoin #ecosystem #type

no-std bitcoin-primitives

Primitive types used by the rust-bitcoin ecosystem

10 releases ()

1.0.0-rc.2 Dec 27, 2025
1.0.0-rc.1 Dec 10, 2025
1.0.0-rc.0 Oct 18, 2025
0.102.0 Feb 23, 2026
0.1.12-alpha.0 Jan 18, 2023

#231 in #ecosystem

Download history 133/week @ 2025-12-27 144/week @ 2026-01-03 29/week @ 2026-01-10 457/week @ 2026-01-17 534/week @ 2026-01-24 198/week @ 2026-01-31 311/week @ 2026-02-07 532/week @ 2026-02-14 330/week @ 2026-02-21 243/week @ 2026-02-28 193/week @ 2026-03-07 169/week @ 2026-03-14 171/week @ 2026-03-21 158/week @ 2026-03-28 161/week @ 2026-04-04 239/week @ 2026-04-11

789 downloads per month
Used in 99 crates (62 directly)

CC0 license

1MB
22K SLoC

Rust Bitcoin - primitive types

Primitive data types that are used throughout the rust-bitcoin ecosystem.

If you are using rust-bitcoin then you do not need to access this crate directly. Everything here is re-exported in rust-bitcoin at the same path.

This crate can be used in a no-std environment but a lot of the functionality requires an allocator i.e., requires the alloc feature to be enabled.


Rust Bitcoin - primitive types.

This crate provides primitive data types that are used throughout the rust-bitcoin ecosystem.

Semver compliance

Functions marked as unstable (e.g. foo__unstable) are not guaranteed to uphold semver compliance. They are primarily provided to support rust-bitcoin.

Dependencies