feat(ohos) build har package (#1440)

Co-authored-by: niuhuan <20847533+niuhuan@users.noreply.github.com>
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
This commit is contained in:
niuhuan
2025-10-02 22:29:49 +08:00
committed by GitHub
parent 841d525913
commit 92fab5aafa
13 changed files with 832 additions and 568 deletions

View File

@@ -9,8 +9,8 @@ crate-type=["cdylib"]
[dependencies]
ohos-hilog-binding = {version = "*", features = ["redirect"]}
easytier = { git = "https://github.com/EasyTier/EasyTier.git" }
napi-derive-ohos = "1.1.1"
napi-ohos = { version = "1.1.1", default-features = false, features = [
napi-derive-ohos = "1.1"
napi-ohos = { version = "1.1", default-features = false, features = [
"serde-json",
"latin1",
"chrono_date",
@@ -33,7 +33,7 @@ tracing = "0.1.41"
uuid = { version = "1.17.0", features = ["v4"] }
[build-dependencies]
napi-build-ohos = "1.1.1"
napi-build-ohos = "1.1"
[profile.dev]
panic = "unwind"
debug = true