25 lines
792 B
TOML
25 lines
792 B
TOML
|
[package]
|
||
|
name = "mcaptcha-pow-ffi"
|
||
|
version = "0.1.0"
|
||
|
edition = "2021"
|
||
|
authors = ["realaravinth <realaravinth@batsense.net>"]
|
||
|
description = "FFI library to compute mCaptcha Proof-of-Work"
|
||
|
keywords = ["DDoS", "mcaptcha", "captcha", "pow"]
|
||
|
homepage = "https://mcaptcha.org"
|
||
|
repository = "https://git.batsense.net/mCaptcha/mcaptcha-pow-rs"
|
||
|
documentation = "https://docs.rs/mcaptcha-api-rs"
|
||
|
license = "MIT OR Apache-2.0"
|
||
|
readme = "README.md"
|
||
|
|
||
|
[lib]
|
||
|
# If you only wanted dynamic library, you'd use only "cdylib".
|
||
|
# If you only wanted static library, you'd use only "staticlib".
|
||
|
# This demo shows both. See https://doc.rust-lang.org/reference/linkage.html
|
||
|
# for more information.
|
||
|
crate-type = ["cdylib", "staticlib"]
|
||
|
|
||
|
[dependencies]
|
||
|
bincode = "1.3.3"
|
||
|
libc = "0.2.151"
|
||
|
mcaptcha_pow_sha256 = "0.5.0"
|