Make Errors Hash and Eq, bump version
This commit is contained in:
parent
bc5e64b79d
commit
db533f9700
|
@ -177,7 +177,7 @@ checksum = "baf1de4339761588bc0619e3cbc0120ee582ebb74b53b4efbf79117bd2da40fd"
|
|||
|
||||
[[package]]
|
||||
name = "chorus"
|
||||
version = "0.8.1"
|
||||
version = "0.9.0"
|
||||
dependencies = [
|
||||
"async-trait",
|
||||
"base64 0.21.3",
|
||||
|
|
|
@ -1,7 +1,7 @@
|
|||
[package]
|
||||
name = "chorus"
|
||||
description = "A library for interacting with multiple Spacebar-compatible Instances at once."
|
||||
version = "0.8.1"
|
||||
version = "0.9.0"
|
||||
license = "AGPL-3.0"
|
||||
edition = "2021"
|
||||
repository = "https://github.com/polyphony-chat/chorus"
|
||||
|
|
|
@ -4,7 +4,7 @@ use custom_error::custom_error;
|
|||
use crate::types::WebSocketEvent;
|
||||
|
||||
custom_error! {
|
||||
#[derive(PartialEq, Eq)]
|
||||
#[derive(PartialEq, Eq, Clone, Hash)]
|
||||
pub RegistrationError
|
||||
Consent = "Consent must be 'true' to register.",
|
||||
}
|
||||
|
@ -12,7 +12,7 @@ custom_error! {
|
|||
pub type ChorusResult<T> = std::result::Result<T, ChorusError>;
|
||||
|
||||
custom_error! {
|
||||
#[derive(Clone)]
|
||||
#[derive(Clone, Hash, PartialEq, Eq)]
|
||||
pub ChorusError
|
||||
/// Server did not respond.
|
||||
NoResponse = "Did not receive a response from the Server.",
|
||||
|
|
Loading…
Reference in New Issue