-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathCargo.toml
More file actions
39 lines (32 loc) · 1.17 KB
/
Copy pathCargo.toml
File metadata and controls
39 lines (32 loc) · 1.17 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
[package]
name = "xwing-wasm-rs"
version = "0.3.0"
edition = "2024"
license = "MIT OR Apache-2.0"
authors = ["UneBaguette <tom@unebaguette.fr>"]
publish = false
repository = "https://github.com/UneBaguette/xwing.wasm"
description = "X-Wing hybrid KEM (ML-KEM-768 + X25519) with WASM bindings"
readme = "README.md"
keywords = ["crypto", "xwing", "kem", "post-quantum", "wasm"]
categories = ["cryptography", "wasm"]
[lib]
crate-type = ["cdylib", "rlib"]
[features]
default = []
wasm = ["dep:wasm-bindgen", "dep:serde-wasm-bindgen", "dep:tsify"]
talc = ["dep:talc"]
[dependencies]
x-wing = { version = "0.1", features = ["getrandom", "zeroize"] }
serde = { version = "1.0", features = ["derive"] }
zeroize = { version = "1", features = ["derive"] }
# WASM deps (optional)
wasm-bindgen = { version = "=0.2.126", optional = true }
serde-wasm-bindgen = { version = "0.6", optional = true }
tsify = { version = "0.5", features = ["js"], optional = true }
[dev-dependencies]
wasm-bindgen-test = "0.3"
[target.'cfg(target_arch = "wasm32")'.dependencies]
getrandom = { version = "0.4", features = ["wasm_js"] }
[target.'cfg(target_family = "wasm")'.dependencies]
talc = { version = "5", optional = true }