btrbk: add mainProgram
[NixPkgs.git] / pkgs / by-name / su / surrealist / 0001-Cargo.patch
blob9b175cc9a50e6b8125cad81b5f25954488708256
1 diff --git a/src-tauri/Cargo.lock b/src-tauri/Cargo.lock
2 index 55f480a8..a69f9ed9 100644
3 --- a/src-tauri/Cargo.lock
4 +++ b/src-tauri/Cargo.lock
5 @@ -1839,6 +1839,22 @@ dependencies = [
6 "tower-service",
9 +[[package]]
10 +name = "hyper-tls"
11 +version = "0.6.0"
12 +source = "registry+https://github.com/rust-lang/crates.io-index"
13 +checksum = "70206fc6890eaca9fde8a0bf71caa2ddfc9fe045ac9e5c70df101a7dbde866e0"
14 +dependencies = [
15 + "bytes",
16 + "http-body-util",
17 + "hyper",
18 + "hyper-util",
19 + "native-tls",
20 + "tokio",
21 + "tokio-native-tls",
22 + "tower-service",
25 [[package]]
26 name = "hyper-util"
27 version = "0.1.3"
28 @@ -2302,6 +2318,23 @@ dependencies = [
29 "windows-sys 0.52.0",
32 +[[package]]
33 +name = "native-tls"
34 +version = "0.2.12"
35 +source = "registry+https://github.com/rust-lang/crates.io-index"
36 +checksum = "a8614eb2c83d59d1c8cc974dd3f920198647674a0a035e1af1fa58707e317466"
37 +dependencies = [
38 + "libc",
39 + "log",
40 + "openssl",
41 + "openssl-probe",
42 + "openssl-sys",
43 + "schannel",
44 + "security-framework",
45 + "security-framework-sys",
46 + "tempfile",
49 [[package]]
50 name = "ndk"
51 version = "0.7.0"
52 @@ -2511,6 +2544,12 @@ dependencies = [
53 "syn 2.0.50",
56 +[[package]]
57 +name = "openssl-probe"
58 +version = "0.1.5"
59 +source = "registry+https://github.com/rust-lang/crates.io-index"
60 +checksum = "ff011a302c396a5197692431fc1948019154afc178baf7d8e37367442a4601cf"
62 [[package]]
63 name = "openssl-src"
64 version = "300.2.3+3.2.1"
65 @@ -3416,6 +3455,15 @@ dependencies = [
66 "winapi-util",
69 +[[package]]
70 +name = "schannel"
71 +version = "0.1.23"
72 +source = "registry+https://github.com/rust-lang/crates.io-index"
73 +checksum = "fbc91545643bcf3a0bbb6569265615222618bdf33ce4ffbbd13c4bbd4c093534"
74 +dependencies = [
75 + "windows-sys 0.52.0",
78 [[package]]
79 name = "schemars"
80 version = "0.8.19"
81 @@ -3460,6 +3508,29 @@ version = "4.1.0"
82 source = "registry+https://github.com/rust-lang/crates.io-index"
83 checksum = "1c107b6f4780854c8b126e228ea8869f4d7b71260f962fefb57b996b8959ba6b"
85 +[[package]]
86 +name = "security-framework"
87 +version = "2.10.0"
88 +source = "registry+https://github.com/rust-lang/crates.io-index"
89 +checksum = "770452e37cad93e0a50d5abc3990d2bc351c36d0328f86cefec2f2fb206eaef6"
90 +dependencies = [
91 + "bitflags 1.3.2",
92 + "core-foundation",
93 + "core-foundation-sys",
94 + "libc",
95 + "security-framework-sys",
98 +[[package]]
99 +name = "security-framework-sys"
100 +version = "2.11.1"
101 +source = "registry+https://github.com/rust-lang/crates.io-index"
102 +checksum = "75da29fe9b9b08fe9d6b22b5b4bcbc75d8db3aa31e639aa56bb62e9d46bfceaf"
103 +dependencies = [
104 + "core-foundation-sys",
105 + "libc",
108 [[package]]
109 name = "selectors"
110 version = "0.22.0"
111 @@ -3847,6 +3918,7 @@ name = "surrealist"
112 version = "0.0.0"
113 dependencies = [
114 "dirs",
115 + "hyper-tls",
116 "log",
117 "openssl",
118 "portpicker",
119 @@ -4563,6 +4635,16 @@ dependencies = [
120 "windows-sys 0.48.0",
123 +[[package]]
124 +name = "tokio-native-tls"
125 +version = "0.3.1"
126 +source = "registry+https://github.com/rust-lang/crates.io-index"
127 +checksum = "bbae76ab933c85776efabc971569dd6119c580d8f5d448769dec1764bf796ef2"
128 +dependencies = [
129 + "native-tls",
130 + "tokio",
133 [[package]]
134 name = "tokio-rustls"
135 version = "0.25.0"
136 diff --git a/src-tauri/Cargo.toml b/src-tauri/Cargo.toml
137 index 3e3ab7ee..b6612f95 100644
138 --- a/src-tauri/Cargo.toml
139 +++ b/src-tauri/Cargo.toml
140 @@ -28,6 +28,8 @@ time = { version = "0.3", default-features = false}
141 log = "^0.4"
142 url = "2"
144 +hyper-tls = "0.6.0"
146 [target.'cfg(target_os = "linux")'.dependencies]
147 openssl = { version = "0.10.64", features = ["vendored"] }