Modern-Apps.git
Publicgit clone https://git.maproj.org/Modern-Apps.gitModern-Apps.git / weather / src / main / rust / Cargo.toml
Cargo.toml21 lines · 830 BRaw
| 1 | [package] |
| 2 | name = "weather_om" |
| 3 | version = "0.1.0" |
| 4 | edition = "2021" |
| 5 | description = "Native .om decoder for the Weather app map, exposed to Kotlin via JNI" |
| 6 | license = "GPL-2.0-only" |
| 7 | |
| 8 | [lib] |
| 9 | name = "weather_om" |
| 10 | crate-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. |
| 16 | om-file-format-sys = { path = "../../../../third_party/om-file-format-sys" } |
| 17 | jni.workspace = true |
| 18 | # HTTP goes through library:network via the flat-framed JNI bridge, so this .so links no TLS. |
| 19 | jni_http = { path = "../../../../library/jni-http/src/main/rust" } |
| 20 | |
| 21 | # Patch moved to workspace root Cargo.toml |