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

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

Cargo.toml22 lines · 815 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
17log.workspace = true
18serde_json.workspace = true
19sha2.workspace = true
20# Rust reaches the SM-DP+ over HTTP through the flat-framed JNI bridge in
21# library:network, so no TLS is linked into libeuicc.so.
22jni_http = { path = "../../../../library/jni-http/src/main/rust" }