mirror of
https://github.com/allankoechke/turso.git
synced 2026-11-30 11:12:58 +00:00
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.
24 lines
458 B
TOML
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 }
|