forked from dfinity/internet-identity
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathCargo.toml
54 lines (43 loc) · 1.47 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
[package]
name = "internet_identity"
version = "0.1.0"
edition = "2021"
[dependencies]
internet_identity_interface = { path = "../internet_identity_interface" }
hex = "0.4"
include_dir = "0.7"
lazy_static = "1.4"
serde = { version = "1", features = ["rc"] }
serde_bytes = "0.11"
serde_cbor = "0.11"
sha2 = "^0.10" # set bound to match ic-certified-map bound
# Captcha deps
lodepng = "*"
base64 = "*"
rand = { version ="*", default-features = false }
rand_core = { version = "*", default-features = false }
rand_chacha = { version = "*", default-features = false }
captcha = { git = "https://github.com/nmattia/captcha", rev = "9c0d2dd9bf519e255eaa239d9f4e9fdc83f65391" }
# All IC deps
candid = "0.9"
ic-cdk = "0.10"
ic-cdk-macros = "0.7"
ic-certified-map = "0.4"
ic-metrics-encoder = "1"
ic-stable-structures = "0.5"
[target.'cfg(all(target_arch = "wasm32", target_vendor = "unknown", target_os = "unknown"))'.dependencies]
getrandom = { version = "0.2", features = ["custom"] }
[dev-dependencies]
ic-test-state-machine-client = "3"
candid = { version = "0.9", features = ["parser"] }
canister_tests = { path = "../canister_tests" }
hex-literal = "0.4"
regex = "1.9"
ic-response-verification = "1.0"
[features]
# the dummy_captcha feature which ensures the captcha string is always "a"
# (needed for tests)
dummy_captcha = []
# the insecure requests disables removes the 'upgrade-insecure-requests' directive from the CSP in oder to allow local
# development with Safari.
insecure_requests = []