diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index b89cb58..f84d781 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -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 diff --git a/Cargo.toml b/Cargo.toml index 8a7fa01..d39114e 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -24,4 +24,6 @@ bitcoin_hashes = "0.10" [features] "4_1_5" = [] "4_5_4" = [] +"4_6_2" = [] +"4_7_0" = [] diff --git a/sha256/electrum-4.6.2-SHA256SUM b/sha256/electrum-4.6.2-SHA256SUM new file mode 100644 index 0000000..415df7b --- /dev/null +++ b/sha256/electrum-4.6.2-SHA256SUM @@ -0,0 +1 @@ +4453985699e497af47696c69026d21513426c6f483a2c706741afb8031e78d4d \ No newline at end of file diff --git a/sha256/electrum-4.7.0-SHA256SUM b/sha256/electrum-4.7.0-SHA256SUM new file mode 100644 index 0000000..e498d12 --- /dev/null +++ b/sha256/electrum-4.7.0-SHA256SUM @@ -0,0 +1 @@ +c666ef44fb7681ca359ea8db5c5ed4d3de196e049225af074a48a97f0f03abd9 \ No newline at end of file diff --git a/src/versions.rs b/src/versions.rs index a8015df..4e70881 100644 --- a/src/versions.rs +++ b/src/versions.rs @@ -1,6 +1,6 @@ -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")] @@ -8,3 +8,9 @@ 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";