diff --git a/CHANGELOG.md b/CHANGELOG.md index 33d0433..9adf151 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -5,6 +5,9 @@ All notable changes starting with v0.1.34 to this project will be documented in The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/), and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html). +# v0.1.63 (2022-05-11) +- **changed:** removed default enum feature to make it possible to use stable tool chain. + # v0.1.61 (2022-03-13) - **changed:** removed trailing slash from `tx/` post to be compatible with change in arweave gateway. diff --git a/Cargo.toml b/Cargo.toml index 9f8f721..f11cd87 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -2,7 +2,7 @@ name = "arloader" authors = ["calebeverett "] description = "Command line application and library for uploading files to Arweave." -version = "0.1.62" +version = "0.1.63" edition = "2021" license = "Apache-2.0" repository = "https://github.com/CalebEverett/arloader" diff --git a/src/lib.rs b/src/lib.rs index d22076c..378234e 100644 --- a/src/lib.rs +++ b/src/lib.rs @@ -70,7 +70,6 @@ //! #### Solana //! The functions for allowing payment to be made in SOL can be found in the [`solana`] module. -#![feature(derive_default_enum)] use blake3; use chrono::Utc; use futures::{ diff --git a/src/status.rs b/src/status.rs index 6372ba0..f81a94b 100644 --- a/src/status.rs +++ b/src/status.rs @@ -20,15 +20,20 @@ pub struct RawStatus { } /// Indicates transaction status on the network, from Submitted to Confirmed. -#[derive(Serialize, Deserialize, Debug, Default, PartialEq, Clone, Eq, Hash)] +#[derive(Serialize, Deserialize, Debug, PartialEq, Clone, Eq, Hash)] pub enum StatusCode { - #[default] Submitted, Pending, Confirmed, NotFound, } +impl Default for StatusCode { + fn default() -> Self { + StatusCode::Submitted + } +} + impl std::fmt::Display for StatusCode { fn fmt(&self, f: &mut fmt::Formatter) -> fmt::Result { match self {