You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert

42
+
43
+
API documentation is available at the following [link] (https://binarybirds.github.io/bcrypt). Refer to the mock objects in the Tests directory if you want to build a custom database driver implementation.
44
+
45
+
> [!TIP]
46
+
> Avoid calling `database.execute` while in a transaction; use the transaction `connection` instead.
47
+
48
+
> [!WARNING]
49
+
> This repository is a work in progress, things can break until it reaches v1.0.0.
50
+
19
51
## Usage example
20
52
21
53
Basic example
@@ -32,3 +64,16 @@ let res = try Bcrypt.verify("binary-birds", created: digest)
32
64
This code is derived from the Vapor web framework:
33
65
34
66
-[Vapor](https://github.com/vapor/vapor)
67
+
68
+
## Development
69
+
70
+
- Build: `swift build`
71
+
- Test:
72
+
- local: `swift test`
73
+
- using Docker: `make docker-test`
74
+
- Format: `make format`
75
+
- Check: `make check`
76
+
77
+
## Contributing
78
+
79
+
[Pull requests](https://github.com/binarybirds/swift-bcrypt/pulls) are welcome. Please keep changes focused and include tests for new logic. 🙏
0 commit comments