This repository was archived by the owner on Nov 30, 2022. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 51
Add no_std support
#52
Merged
Merged
Changes from all commits
Commits
Show all changes
9 commits
Select commit
Hold shift + click to select a range
ec648eb
add std_impls module, for now with only unit tests
apoelstra f629a0d
eliminate `write_impl` macro
apoelstra c26a604
remove io::Write impls (will restore them in next commit)
apoelstra fc981df
move all std-specific stuff into the `std_impls` module
apoelstra 55da5ec
add no_std support
apoelstra c26dfb4
add no_std build test to travis
apoelstra 052c29b
bump version to 0.6.0
apoelstra 761af28
Pass down no_std to dependencies.
dongcarl eac6cde
Add engine_input_impl! macro.
dongcarl File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or 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
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -7,3 +7,5 @@ Cargo.lock | |
| #fuzz | ||
| fuzz/hfuzz_target | ||
| fuzz/hfuzz_workspace | ||
|
|
||
| *~ | ||
This file contains hidden or 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
This file contains hidden or 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
This file contains hidden or 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
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -1,6 +1,6 @@ | ||
| [package] | ||
| name = "bitcoin_hashes" | ||
| version = "0.5.0" | ||
| version = "0.6.0" | ||
| authors = ["Andrew Poelstra <[email protected]>"] | ||
| license = "CC0-1.0" | ||
| description = "Hash functions used by rust-bitcoin which support rustc 1.14.0" | ||
|
|
@@ -13,17 +13,18 @@ name = "bitcoin_hashes" | |
| path = "src/lib.rs" | ||
|
|
||
| [features] | ||
| default = [] | ||
| default = [ "std" ] | ||
| std = ["byteorder/std", "serde/std"] | ||
| unstable = [] # for benchmarking | ||
| fuzztarget = [] # used by other rust-bitcoin projects to make hashes almost-noops, DON'T USE THIS | ||
|
|
||
| [dev-dependencies] | ||
| serde_test = "1.0" | ||
|
|
||
| [dependencies] | ||
| byteorder = "1.2" | ||
| byteorder = { version = "1.2", default-features = false } | ||
|
|
||
| [dependencies.serde] | ||
| version = "1.0" | ||
| optional = true | ||
|
|
||
| default-features = false | ||
This file contains hidden or 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
This file contains hidden or 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
This file contains hidden or 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
This file contains hidden or 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
This file contains hidden or 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
This file contains hidden or 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
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.