Modern Apps git
git clone https://git.maproj.org/Modern-Apps.git
translate ▾

Modern-Apps.git / weather / src / main / rust / Cargo.toml

Cargo.toml21 lines · 830 BRaw
1[package]
2name = "weather_om"
3version = "0.1.0"
4edition = "2021"
5description = "Native .om decoder for the Weather app map, exposed to Kotlin via JNI"
6license = "GPL-2.0-only"
7
8[lib]
9name = "weather_om"
10crate-type = ["cdylib", "rlib"]
11
12[dependencies]
13# omfiles crate removed – it pulled an async runtime (async-executor/async-lock/futures/…)
14# + ndarray (~17 crates) for a synchronous 2D read. Replaced by src/om.rs, a thin sync
15# reader calling the vendored C lib directly. The C decode/parse lives in om-file-format-sys.
16om-file-format-sys = { path = "../../../../third_party/om-file-format-sys" }
17jni.workspace = true
18# HTTP goes through library:network via the flat-framed JNI bridge, so this .so links no TLS.
19jni_http = { path = "../../../../library/jni-http/src/main/rust" }
20
21# Patch moved to workspace root Cargo.toml