mirror of
https://github.com/openharmony/third_party_rust_rust-openssl.git
synced 2026-07-19 23:23:31 -04:00
+47
@@ -0,0 +1,47 @@
|
||||
{
|
||||
"name": "@ohos/rust_rust-openssl",
|
||||
"description": "OpenSSl of the rust version. OpenSSL is a robust, commercial-grade, full-featured Open Source Toolkit for the Transport Layer Security (TLS) protocol formerly known as the Secure Sockets Layer (SSL) protocol.",
|
||||
"version": "5.0",
|
||||
"license": "Apache License 2.0",
|
||||
"publishAs": "code-segment",
|
||||
"segment": {
|
||||
"destPath": "third_party/rust/crates/rust-openssl"
|
||||
},
|
||||
"dirs": {},
|
||||
"scripts": {},
|
||||
"readmePath": {
|
||||
"en": "README.md"
|
||||
},
|
||||
"component": {
|
||||
"name": "rust_rust-openssl",
|
||||
"subsystem": "thirdparty",
|
||||
"syscap": [],
|
||||
"features": [],
|
||||
"adapted_system_type": [
|
||||
"standard"
|
||||
],
|
||||
"rom": "100KB",
|
||||
"ram": "~200KB",
|
||||
"deps": {
|
||||
"components": [
|
||||
"openssl"
|
||||
],
|
||||
"third_party": []
|
||||
},
|
||||
"build": {
|
||||
"sub_component": [
|
||||
"//third_party/rust/crates/rust-openssl/openssl:lib"
|
||||
],
|
||||
"inner_kits": [
|
||||
{
|
||||
"name" : "//third_party/rust/crates/rust-openssl/openssl:lib",
|
||||
"header": {
|
||||
"header_base": [],
|
||||
"header_files": []
|
||||
}
|
||||
}
|
||||
],
|
||||
"test": []
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -28,4 +28,6 @@ ohos_cargo_crate("lib") {
|
||||
"//third_party/rust/crates/quote:lib",
|
||||
"//third_party/rust/crates/syn:lib",
|
||||
]
|
||||
subsystem_name = "thirdparty"
|
||||
part_name = "rust_rust-openssl"
|
||||
}
|
||||
|
||||
@@ -24,10 +24,10 @@ ohos_cargo_crate("lib") {
|
||||
cargo_pkg_authors = "Alex Crichton <alex@alexcrichton.com>, Steven Fackler <sfackler@gmail.com>"
|
||||
cargo_pkg_name = "openssl-sys"
|
||||
cargo_pkg_description = "FFI bindings to OpenSSL"
|
||||
deps = [
|
||||
"//third_party/openssl:libcrypto_shared",
|
||||
"//third_party/openssl:libssl_shared",
|
||||
"//third_party/rust/crates/libc:lib",
|
||||
deps = [ "//third_party/rust/crates/libc:lib" ]
|
||||
external_deps = [
|
||||
"openssl:libcrypto_shared",
|
||||
"openssl:libssl_shared",
|
||||
]
|
||||
rustflags = [
|
||||
"--cfg=const_fn",
|
||||
@@ -51,4 +51,6 @@ ohos_cargo_crate("lib") {
|
||||
"--cfg=ossl111b",
|
||||
"--cfg=ossl111c",
|
||||
]
|
||||
subsystem_name = "thirdparty"
|
||||
part_name = "rust_rust-openssl"
|
||||
}
|
||||
|
||||
@@ -49,4 +49,6 @@ ohos_cargo_crate("lib") {
|
||||
"--cfg=ossl111",
|
||||
"--cfg=ossl300",
|
||||
]
|
||||
subsystem_name = "thirdparty"
|
||||
part_name = "rust_rust-openssl"
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user