Modern-Apps.git
Publicgit clone https://git.maproj.org/Modern-Apps.gitModern-Apps.git / euicc / src / main / rust / Cargo.toml
Cargo.toml23 lines · 886 BRaw
| 1 | [package] |
| 2 | name = "euicc" |
| 3 | version = "0.1.0" |
| 4 | edition = "2021" |
| 5 | description = "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)." |
| 6 | license = "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. |
| 12 | name = "euicc" |
| 13 | crate-type = ["cdylib", "rlib"] |
| 14 | |
| 15 | [dependencies] |
| 16 | jni.workspace = true |
| 17 | jni_bridge = { path = "../../../../library/jni-bridge/src/main/rust" } |
| 18 | log.workspace = true |
| 19 | serde_json.workspace = true |
| 20 | sha2.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. |
| 23 | jni_http = { path = "../../../../library/jni-http/src/main/rust" } |