lb-rs 26.3.21

The rust library for interacting with your lockbook.
Documentation
[package]
name = "lb-rs"
version = "26.3.21"
edition = "2021"
description = "The rust library for interacting with your lockbook."
repository = "https://github.com/lockbook/lockbook"
homepage = "https://lockbook.net"
license = "BSD-3-Clause"
keywords = ["notes", "encryption", "productivity", "automation", "security"]

[lib]
name = "lb_rs"
crate-type = ["lib", "staticlib", "cdylib"]
bench = false

[features]
default = []
no-network = ["db-rs/clone"]

[dependencies]
aead = "0.4.2"
aes-gcm = "0.9.3"
base64 = "0.13.0"
basic-human-duration = "0.2.0"
bezier-rs = "0.2.0"
bincode = "1.3.3"
bip39-dict = "0.1.3"
chrono = "0.4"
crossbeam = "0.8.1"
db-rs-derive = "0.3.6"
db-rs = "0.3.6"
flate2 = "1.0"
futures = "0.3.30"
getrandom = "0.2"
glam = "0.22.0"
hmac = "0.11.0"
http = "0.2.6"
indexmap = { version = "2.5.0", features = ["rayon"] }
libsecp256k1 = "0.7.1"
qrcode-generator = "4.1.6"
rand = "0.8.4"
reqwest = { version = "0.11.1", default-features = false, features = [
    "json",
    "rustls-tls",
] }
serde = { version = "1.0", features = ["derive"] }
serde_bytes = "0.11"
serde_json = "1.0.44"
sha2 = "0.9.9"
similar = { version = "2.6.0", features = ["unicode"] }
time = "0.3.20"
tracing-appender = "0.2"
tracing-subscriber = "0.3.9"
tracing = "0.1.5"
unicode-segmentation = "1.10.0"
usvg = "0.41.0"
uuid = { version = "1.2.2", features = ["v4", "serde", "js"] }
web-time = "1.1.0"

[target.'cfg(target_os = "android")'.dependencies]
tracing-logcat = "=0.1.0"


[target.'cfg(target_family = "wasm")'.dependencies]
tokio = { version = "1", features = [
    "sync",
    "macros",
    "io-util",
    "rt",
    "time",
] }
wasm-bindgen-futures = "0.4.50"
tracing-wasm = "0.2.1"


[target.'cfg(not(target_family = "wasm"))'.dependencies]
tokio = { version = "1", features = ["full"] }
tantivy = { version = "0.24", package = "lb-tantivy" }


[dev-dependencies]
criterion = { version = "0.5.1", features = ["async_tokio"] }
indicatif = "=0.17.0-rc.11"
itertools = "0.10.1"
variant_count = "1.1.0"
num_cpus = "1.13.0"
rand = "0.8.4"
tempfile = { version = "3.1.0" }
test_utils = { path = "../test_utils" }

[[bench]]
name = "bench_main"
harness = false