-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathbcryptlua-dev-1.rockspec
More file actions
49 lines (42 loc) · 1.03 KB
/
Copy pathbcryptlua-dev-1.rockspec
File metadata and controls
49 lines (42 loc) · 1.03 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
rockspec_format = "3.0"
package = "bcryptlua"
version = "dev-1"
source = {
url = "git+https://github.com/Ludi-Framework/bcryptlua.git"
}
description = {
summary = "bcrypt password hashing for Lua, powered by Rust",
detailed = [[
Safe bcrypt password hashing with a two-function API: hash and
verify (plus cost, for rehash-on-login checks). The implementation
is a native module written in Rust: OS CSPRNG salts, constant-time
verification, no C-string truncation pitfalls. Generates standard
$2b$ hashes and verifies $2a$/$2x$/$2y$ ones, so password
databases from PHP, Python or Node keep working.
]],
homepage = "https://github.com/Ludi-Framework/bcryptlua",
license = "MIT"
}
dependencies = {
"lua >= 5.1"
}
build_dependencies = {
"luarocks-build-rust-mlua"
}
test_dependencies = {
"busted"
}
test = {
type = "busted"
}
build = {
type = "rust-mlua",
modules = {
"bcryptlua_core"
},
install = {
lua = {
["bcryptlua"] = "bcryptlua.lua"
}
}
}