-
Notifications
You must be signed in to change notification settings - Fork 32
/
Copy pathCargo.toml
71 lines (64 loc) · 2.09 KB
/
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
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
[package]
edition.workspace = true
name = "account-wasm"
version.workspace = true
# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html
[lib]
crate-type = ["cdylib", "rlib"]
[profile.release]
opt-level = 'z'
lto = true
codegen-units = 1
panic = 'abort'
strip = true
debug = false
incremental = false
[dependencies]
wee_alloc = { version = "0.4.5", optional = true }
account_sdk = { workspace = true, features = ["webauthn"] }
async-trait.workspace = true
base64.workspace = true
cainome.workspace = true
convert_case = "0.6.0"
coset.workspace = true
futures.workspace = true
getrandom = { version = "0.2", features = ["js"] }
hex = "0.4.3"
num-traits.workspace = true
rand = { version = "0.8", features = ["getrandom"] }
serde = { workspace = true, features = ["derive"] }
serde_json = { workspace = true, features = ["alloc"] }
serde-wasm-bindgen.workspace = true
serde_with.workspace = true
starknet.workspace = true
starknet-crypto.workspace = true
starknet-types-core.workspace = true
thiserror.workspace = true
url = { workspace = true, default-features = false }
urlencoding = "2.1.0"
wasm-bindgen = { workspace = true, features = ["serde-serialize"] }
wasm-bindgen-futures.workspace = true
webauthn-rs-proto = { workspace = true, features = ["wasm"] }
web-sys = { version = "0.3", default-features = false, features = [
"CredentialCreationOptions",
"CredentialRequestOptions",
"CredentialsContainer",
"Navigator",
"PublicKeyCredential",
"PublicKeyCredentialCreationOptions",
"Storage",
] }
# The `console_error_panic_hook` crate provides better debugging of panics by
# logging them with `console.error`. This is great for development, but requires
# all the `std::fmt` and `std::panicking` infrastructure, so isn't great for
# code size when deploying.
console_error_panic_hook = { version = "0.1.7", optional = true }
tsify-next = "0.5.4"
[dev-dependencies]
wasm-bindgen-test = "0.3.34"
[features]
console-error-panic = ["dep:console_error_panic_hook"]
console_error_panic_hook = []
controller_account = []
session_account = []
wee_alloc = ["dep:wee_alloc"]