Files
turso/bindings/java/Cargo.toml
Jussi Saurio aeab2f512c lint/perf: deny eager function calls (ok_or, map_or, unwrap_or)
in the past we've already have horrible performance regressions
due to e.g. `.unwrap_or(SomeError::AllocateString("foo".to_string()))`
in the hot path, so let's just ban it with the `or_fun_call` clippy
rule,

Also fixing all the existing usages of such patterns here.
2025-12-27 09:53:54 +02:00

24 lines
458 B
TOML

[package]
name = "turso-java"
version.workspace = true
authors.workspace = true
edition.workspace = true
license.workspace = true
repository.workspace = true
publish = false
[lints]
workspace = true
[features]
tracing_release = ["turso_core/tracing_release"]
[lib]
name = "_turso_java"
crate-type = ["cdylib"]
path = "rs_src/lib.rs"
[dependencies]
turso_core = { workspace = true, features = ["io_uring"] }
jni = "0.21.1"
thiserror = { workspace = true }