[dependencies.bitwarden-error-macro]
version = "=2.0.0"
[dependencies.js-sys]
optional = true
version = ">=0.3.72, <0.4"
[dependencies.tsify]
default-features = false
features = ["js"]
optional = true
version = ">=0.5.5, <0.6"
[dependencies.wasm-bindgen]
features = ["serde-serialize"]
optional = true
version = "=0.2.105"
[dev-dependencies.serde]
features = ["derive"]
version = ">=1.0, <2.0"
[dev-dependencies.trybuild]
version = "1.0.101"
[dev-dependencies.wasm-bindgen-test]
version = "0.3.55"
[features]
wasm = ["bitwarden-error-macro/wasm", "dep:js-sys", "dep:tsify", "dep:wasm-bindgen"]
[lib]
name = "bitwarden_error"
path = "src/lib.rs"
[lints.clippy]
disallowed-macros = "deny"
string_slice = "warn"
unused_async = "deny"
unwrap_used = "deny"
[lints.rust]
missing_docs = "warn"
[lints.rust.unexpected_cfgs]
check-cfg = ['cfg(feature, values("uniffi", "wasm"))']
level = "warn"
priority = 0
[package]
authors = ["Bitwarden Inc"]
autobenches = false
autobins = false
autoexamples = false
autolib = false
autotests = false
build = false
description = """
Internal crate for the bitwarden crate. Do not use.
"""
edition = "2024"
homepage = "https://bitwarden.com"
keywords = ["bitwarden"]
license-file = "LICENSE"
name = "bitwarden-error"
readme = "DISCLAIMER.md"
repository = "https://github.com/bitwarden/sdk-internal"
resolver = "2"
rust-version = "1.85.1"
version = "2.0.0"
[[test]]
name = "basic"
path = "tests/basic.rs"
[[test]]
name = "flat"
path = "tests/flat.rs"
[[test]]
name = "full"
path = "tests/full.rs"
[[test]]
name = "mod"
path = "tests/mod.rs"