Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ jobs:
fail-fast: false
matrix:
os: [ ubuntu-20.04 ]
feature: [ "4_1_5", "4_5_4" ]
feature: [ "4_1_5", "4_5_4", "4_6_2", "4_7_0" ]

steps:
- run: df -h
Expand Down
2 changes: 2 additions & 0 deletions Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -24,4 +24,6 @@ bitcoin_hashes = "0.10"
[features]
"4_1_5" = []
"4_5_4" = []
"4_6_2" = []
"4_7_0" = []

1 change: 1 addition & 0 deletions sha256/electrum-4.6.2-SHA256SUM
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
4453985699e497af47696c69026d21513426c6f483a2c706741afb8031e78d4d
1 change: 1 addition & 0 deletions sha256/electrum-4.7.0-SHA256SUM
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
c666ef44fb7681ca359ea8db5c5ed4d3de196e049225af074a48a97f0f03abd9
10 changes: 8 additions & 2 deletions src/versions.rs
Original file line number Diff line number Diff line change
@@ -1,10 +1,16 @@
pub const HAS_FEATURE: bool = cfg!(any(feature = "4_1_5", feature = "4_5_4"));
pub const HAS_FEATURE: bool = cfg!(any(feature = "4_1_5", feature = "4_5_4", feature = "4_6_2", feature = "4_7_0"));

#[cfg(not(any(feature = "4_1_5", feature = "4_5_4")))]
#[cfg(not(any(feature = "4_1_5", feature = "4_5_4", feature = "4_6_2", feature = "4_7_0")))]
pub const VERSION: &str = "N/A";

#[cfg(feature = "4_1_5")]
pub const VERSION: &str = "4.1.5";

#[cfg(feature = "4_5_4")]
pub const VERSION: &str = "4.5.4";

#[cfg(feature = "4_6_2")]
pub const VERSION: &str = "4.6.2";

#[cfg(feature = "4_7_0")]
pub const VERSION: &str = "4.7.0";
Loading