Skip to content

Commit

Permalink
Merge pull request #61 from haveibeensquatted/0.6.1
Browse files Browse the repository at this point in the history
0.6.1
  • Loading branch information
JuxhinDB authored Sep 30, 2023
2 parents e0953ea + 2a2c968 commit e33428a
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 3 deletions.
6 changes: 6 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,11 @@
# CHANGELOG.md

## 0.6.1 (2023-09-30)

Fix:

- Add `Serialize` trait to `Permutation` and `PermutationKind`

## 0.6.0 (2023-09-30)

### BREAKING
Expand Down
2 changes: 1 addition & 1 deletion twistrs/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "twistrs"
version = "0.6.0"
version = "0.6.1"
description = "An asynchronous domain name permutation and enumeration library."
license = "MIT"
repository = "https://github.com/JuxhinDB/twistrs"
Expand Down
4 changes: 2 additions & 2 deletions twistrs/src/permutate.rs
Original file line number Diff line number Diff line change
Expand Up @@ -45,13 +45,13 @@ pub struct Domain {
domain: String,
}

#[derive(Clone, Hash, Debug, Eq, PartialEq)]
#[derive(Clone, Debug, Serialize, Hash, Eq, PartialEq)]
pub struct Permutation {
pub domain: Domain,
pub kind: PermutationKind,
}

#[derive(Clone, Copy, Hash, Debug, Eq, PartialEq)]
#[derive(Clone, Copy, Serialize, Hash, Debug, Eq, PartialEq)]
pub enum PermutationKind {
Addition,
Bitsquatting,
Expand Down

0 comments on commit e33428a

Please sign in to comment.