Skip to content

Commit

Permalink
added base converter (#5)
Browse files Browse the repository at this point in the history
* changed output format keyword

* added stub for base-convert

* added converter trait

* added validation methods

* added unit tests and started adding binary converter

* finished implementing binary str to bytes

* finish binary converter to_bytes

* added tests for binary converter validation

* added implementation for decimal converter

* switched from Vec<_> to &[_] for method arguments

* added unit tests for dec converter

* added base64 converter

* added hex converter

* added remaining documentation
  • Loading branch information
haondt committed Sep 10, 2023
1 parent ece010b commit 2dc68af
Show file tree
Hide file tree
Showing 10 changed files with 1,095 additions and 134 deletions.
1 change: 1 addition & 0 deletions medea/Cargo.toml
Expand Up @@ -21,6 +21,7 @@ mac_address = "1.1.5"
md-5 = "0.10.5"
rand = "0.8.5"
regex = "1.9.3"
rstest = "0.18.2"
sha1 = "0.10.5"
sha2 = "0.10.7"
uuid = { version = "1.4.1", features = ["v4", "fast-rng", "v1", "std"] }
Expand Down

0 comments on commit 2dc68af

Please sign in to comment.