Skip to content

Commit 83498d7

Browse files
authored
Merge pull request #5 from guzba/ryan
use updated crunchy
2 parents 4f4dd9c + 9de00f9 commit 83498d7

File tree

4 files changed

+4
-89
lines changed

4 files changed

+4
-89
lines changed

depot.nimble

+2-2
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
version = "0.2.3"
1+
version = "0.2.4"
22
author = "Ryan Oldenburg"
33
description = "For working with S3-compatible storage APIs"
44
license = "MIT"
@@ -8,4 +8,4 @@ srcDir = "src"
88
requires "nim >= 1.6.8"
99
requires "nimsimd >= 1.2.2"
1010
requires "webby >= 0.1.3"
11-
requires "crunchy >= 0.1.1"
11+
requires "crunchy >= 0.1.2"

src/depot.nim

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
import crunchy, depot/internal, std/algorithm, std/strutils, std/times, webby
1+
import crunchy, std/algorithm, std/strutils, std/times, webby
22

33
export webby
44

src/depot/internal.nim

-64
This file was deleted.

tests/test.nim

+1-22
Original file line numberDiff line numberDiff line change
@@ -1,22 +1 @@
1-
import crunchy, depot/internal
2-
3-
const hmacSha256Tests = [
4-
(
5-
"abc",
6-
"def",
7-
"20ebc0f09344470134f35040f63ea98b1d8e414212949ee5c500429d15eab081"
8-
),
9-
(
10-
"asdf3q5q23rfasf3a",
11-
"dfasdfasfd3qr3fqfaefa3fa3rfasadfasfdasdfasdfasdfasfdasd",
12-
"a1629e21b02776e7eacef6f615165d08894963a12dfbd304a47e7a8aff0a2dc5"
13-
),
14-
(
15-
"awjieops;oi4etaawjieops;oi4etaawjieops;oi4etaawjieops;oi4etaawjieops;oi4",
16-
"p890y6t3q9ah2pqh8t6q3pth8qa3whu",
17-
"a1b7d6b597ae74f950dad4eb4dc1700420281b186abfaa321f728f38d675b099"
18-
)
19-
]
20-
21-
for (a, b, c) in hmacSha256Tests:
22-
doAssert hmacSha256(a, b).toHex() == c
1+
import depot

0 commit comments

Comments
 (0)