forked from slowli/jwt-compact
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Cargo.toml
30 lines (24 loc) · 912 Bytes
/
Cargo.toml
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
[package]
name = "jwt-compact-wasm"
version = "0.0.0"
authors = ["Alex Ostrovski <[email protected]>"]
edition = "2021"
license = "Apache-2.0"
description = "Testing usability of `jwt-compact` in WASM"
repository = "https://github.com/slowli/jwt-compact"
publish = false
[package.metadata.wasm-pack.profile.release]
wasm-opt = ["-Os", "--enable-mutable-globals"]
[lib]
crate-type = ["cdylib", "rlib"]
[dependencies]
wasm-bindgen = "0.2.75"
chrono = { version = "0.4.22", features = ["wasmbind"] }
serde = { version = "1.0", default-features = false, features = ["alloc", "derive"] }
serde_json = { version = "1.0", default-features = false, features = ["alloc"] }
# Set up `getrandom` crate to use the host JS CSPRNG.
getrandom = { version = "0.2", features = ["js"] }
[dependencies.jwt-compact]
path = "../.."
default-features = false
features = ["clock", "ed25519-compact", "rsa", "k256", "p256"]