-
Notifications
You must be signed in to change notification settings - Fork 41
Expand file tree
/
Copy pathCargo.toml
More file actions
73 lines (67 loc) · 3.02 KB
/
Copy pathCargo.toml
File metadata and controls
73 lines (67 loc) · 3.02 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
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
72
73
[package]
name = "bitwarden-wasm-internal"
version = "0.1.0"
publish = false
authors.workspace = true
edition.workspace = true
rust-version.workspace = true
readme.workspace = true
homepage.workspace = true
repository.workspace = true
license = "GPL-3.0-only OR LicenseRef-Bitwarden-SDK"
keywords.workspace = true
[package.metadata.cargo-udeps.ignore]
normal = [
"bitwarden-organization-crypto",
] # Only used to enable wasm-bindgen, not imported directly
[lib]
crate-type = ["cdylib"]
[features]
bitwarden-license = ["bitwarden-pm/bitwarden-license", "dep:bitwarden-commercial-vault"]
# WARNING: This feature is for debugging purposes only and should never be enabled in production.
# It disables compile-time debug prevention for cryptographic keys, exposing sensitive key material
# in debug output, and adds tracing debug logs to encrypt/decrypt operations.
dangerous-crypto-debug = ["bitwarden-core/dangerous-crypto-debug"]
# WARNING: There are a lot of traces emitted to give context for operations. This is quite slow and may slow down decryption
# and other bulk data operations, and should only be enabled for debugging purposes.
performance-tracing = []
[dependencies]
async-trait = { workspace = true }
bitwarden-commercial-vault = { workspace = true, optional = true, features = [
"wasm",
] }
bitwarden-core = { workspace = true, features = ["wasm", "internal"] }
bitwarden-crypto = { workspace = true, features = ["wasm"] }
bitwarden-error = { workspace = true }
bitwarden-ipc = { workspace = true, features = ["wasm"] }
bitwarden-logging = { workspace = true, features = ["wasm"] }
# This dependency is not used directly, but we need to include it in order to
# ensure wasm-bindgen is generated for the `bitwarden-organization-crypto` crate
# See [package.metadata.cargo-udeps.ignore] above for more.
bitwarden-organization-crypto = { workspace = true, features = ["wasm"] }
bitwarden-organization-invite-link = { workspace = true, features = ["wasm"] }
bitwarden-pm = { workspace = true, features = ["wasm"] }
bitwarden-policies = { workspace = true, features = ["wasm"] }
bitwarden-random = { workspace = true, features = ["wasm"] }
bitwarden-send = { workspace = true, features = ["wasm"] }
bitwarden-server-communication-config = { workspace = true, features = ["wasm"] }
bitwarden-shared-unlock = { workspace = true, features = ["wasm"] }
bitwarden-ssh = { workspace = true, features = ["wasm"] }
bitwarden-state = { workspace = true, features = ["wasm"] }
bitwarden-threading = { workspace = true }
bitwarden-user-crypto-management = { workspace = true, features = ["wasm"] }
bitwarden-vault = { workspace = true, features = ["wasm"] }
console_error_panic_hook = "0.1.7"
rand = { workspace = true }
rsa = { workspace = true }
serde = { workspace = true }
sha1 = { workspace = true }
tracing = { workspace = true }
tracing-subscriber = { workspace = true }
tracing-web = { version = "0.1.3" }
tsify = { workspace = true }
uuid = { workspace = true }
wasm-bindgen = { workspace = true }
wasm-bindgen-futures = { workspace = true }
[lints]
workspace = true