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

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

Cargo.toml23 lines · 886 BRaw
1[package]
2name = "euicc"
3version = "0.1.0"
4edition = "2021"
5description = "SGP.22 eUICC Local Profile Assistant core (ASN.1 + ES9+/ES10 + crypto) exposed over JNI. Reimplemented for this repo, following the open-source OpenEUICC (GPL-3.0-only)."
6license = "GPL-3.0-only"
7
8[lib]
9# Must match `rustNativeLib("euicc")` in build.gradle.kts and
10# `System.loadLibrary("euicc")` in EuiccNative.kt: cargo emits `lib<name>.so`,
11# which RustNative.kt copies into jniLibs.
12name = "euicc"
13crate-type = ["cdylib", "rlib"]
14
15[dependencies]
16jni.workspace = true
17jni_bridge = { path = "../../../../library/jni-bridge/src/main/rust" }
18log.workspace = true
19serde_json.workspace = true
20sha2.workspace = true
21# Rust reaches the SM-DP+ over HTTP through the flat-framed JNI bridge in
22# library:network, so no TLS is linked into libeuicc.so.
23jni_http = { path = "../../../../library/jni-http/src/main/rust" }