From 33eab90298f558133f2c30982511d006a1d83fa8 Mon Sep 17 00:00:00 2001 From: core Date: Thu, 30 Mar 2023 20:05:06 -0400 Subject: [PATCH] static link --- Cargo.lock | 20 ++++++++++++++++---- dnapi-rs/Cargo.toml | 5 +++-- tfclient/Cargo.toml | 3 ++- 3 files changed, 21 insertions(+), 7 deletions(-) diff --git a/Cargo.lock b/Cargo.lock index ba13516..ab8422d 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -622,12 +622,13 @@ dependencies = [ [[package]] name = "dnapi-rs" -version = "0.1.7" +version = "0.1.8" dependencies = [ "base64 0.21.0", "base64-serde", "chrono", "log", + "openssl-sys", "rand", "reqwest", "serde", @@ -1520,14 +1521,24 @@ source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "ff011a302c396a5197692431fc1948019154afc178baf7d8e37367442a4601cf" [[package]] -name = "openssl-sys" -version = "0.9.80" +name = "openssl-src" +version = "111.25.2+1.1.1t" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "23bbbf7854cd45b83958ebe919f0e8e516793727652e27fda10a8384cfc790b7" +checksum = "320708a054ad9b3bf314688b5db87cf4d6683d64cfc835e2337924ae62bf4431" +dependencies = [ + "cc", +] + +[[package]] +name = "openssl-sys" +version = "0.9.83" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "666416d899cf077260dac8698d60a60b435a46d57e82acb1be3d0dad87284e5b" dependencies = [ "autocfg", "cc", "libc", + "openssl-src", "pkg-config", "vcpkg", ] @@ -2482,6 +2493,7 @@ dependencies = [ "hex", "ipnet", "log", + "openssl-sys", "reqwest", "serde", "serde_json", diff --git a/dnapi-rs/Cargo.toml b/dnapi-rs/Cargo.toml index 7a0bebc..9f08a15 100644 --- a/dnapi-rs/Cargo.toml +++ b/dnapi-rs/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "dnapi-rs" -version = "0.1.7" +version = "0.1.8" edition = "2021" description = "A rust client for the Defined Networking API" license = "AGPL-3.0-or-later" @@ -21,4 +21,5 @@ base64 = "0.21.0" serde_json = "1.0.95" trifid-pki = { version = "0.1.6", path = "../trifid-pki", features = ["serde_derive"] } rand = "0.8.5" -chrono = "0.4.24" \ No newline at end of file +chrono = "0.4.24" +openssl-sys = { version = "0.9.83", features = ["vendored"] } \ No newline at end of file diff --git a/tfclient/Cargo.toml b/tfclient/Cargo.toml index 5ce8753..078dea7 100644 --- a/tfclient/Cargo.toml +++ b/tfclient/Cargo.toml @@ -28,8 +28,9 @@ base64 = "0.21.0" chrono = "0.4.24" ipnet = "2.7.1" base64-serde = "0.7.0" -dnapi-rs = { version = "0.1.7", path = "../dnapi-rs" } +dnapi-rs = { version = "0.1.8", path = "../dnapi-rs" } serde_yaml = "0.9.19" +openssl-sys = { version = "0.9.83", features = ["vendored"] } [build-dependencies] serde = { version = "1.0.157", features = ["derive"] }