red-candle 1.8.0.pre2 → 1.8.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 64258a57e3c6b0574b19899fe327e252d986498ea368b071530a904d9fa78715
4
- data.tar.gz: 93340b2eb86207912e426e89a4727af813d379c84cfeebd02d7afa52ec59ca77
3
+ metadata.gz: e0ac3b5a4b70256176e585754e54c4b488ef49e556e7a1d9ab1a80583afa53da
4
+ data.tar.gz: 8d1267b249230791d124c221a0467e7fa6ba3254b2f9bc85fbb7ef423daedade
5
5
  SHA512:
6
- metadata.gz: e28c0eb9fdb28a9d138c2337654bd12e80bbef3db93b6bdde58f3e8857e537f1cd3019e61753a49ad40ad18d06419a852ec51c55a0ff3936f3c8d8caea016533
7
- data.tar.gz: cc427e5f7fdebf8c474f1d5f2c4ac59a1cfd51af99374056ceac3e373afa1dfc906d1c4a16e26c65d5245cf4cf6402beddfc99da0c63853fb2c7d6f1ee05094d
6
+ metadata.gz: d1f85d41c52a634e4d3be853bce8a80e5dcde9ce651e0e2ce970c5f4abe720082dc95fa1fe182b364dec31b376ad8551400b7e2c08d6f45bf2b671d124805e26
7
+ data.tar.gz: be9866d23bf8df914bd3b151b4a3d10a69ada5d084661de15de737d46834ccc2fa577ef1453137f2df1c9704594c775dabe0af9b12ec7b9d112a34fcdeaa2b75
data/Cargo.lock CHANGED
@@ -1029,12 +1029,6 @@ dependencies = [
1029
1029
  "regex-syntax",
1030
1030
  ]
1031
1031
 
1032
- [[package]]
1033
- name = "fastrand"
1034
- version = "2.3.0"
1035
- source = "registry+https://github.com/rust-lang/crates.io-index"
1036
- checksum = "37909eebbb50d72f9059c3b6d82c0463f2ff062c9e95845c43a6c9c0355411be"
1037
-
1038
1032
  [[package]]
1039
1033
  name = "fax"
1040
1034
  version = "0.2.6"
@@ -1132,15 +1126,6 @@ version = "0.2.0"
1132
1126
  source = "registry+https://github.com/rust-lang/crates.io-index"
1133
1127
  checksum = "77ce24cb58228fbb8aa041425bb1050850ac19177686ea6e0f41a70416f56fdb"
1134
1128
 
1135
- [[package]]
1136
- name = "foreign-types"
1137
- version = "0.3.2"
1138
- source = "registry+https://github.com/rust-lang/crates.io-index"
1139
- checksum = "f6f339eb8adc052cd2ca78910fda869aefa38d22d5cb648e6485e4d3fc06f3b1"
1140
- dependencies = [
1141
- "foreign-types-shared 0.1.1",
1142
- ]
1143
-
1144
1129
  [[package]]
1145
1130
  name = "foreign-types"
1146
1131
  version = "0.5.0"
@@ -1148,7 +1133,7 @@ source = "registry+https://github.com/rust-lang/crates.io-index"
1148
1133
  checksum = "d737d9aa519fb7b749cbc3b962edcf310a8dd1f4b67c91c4f83975dbdd17d965"
1149
1134
  dependencies = [
1150
1135
  "foreign-types-macros",
1151
- "foreign-types-shared 0.3.1",
1136
+ "foreign-types-shared",
1152
1137
  ]
1153
1138
 
1154
1139
  [[package]]
@@ -1162,12 +1147,6 @@ dependencies = [
1162
1147
  "syn",
1163
1148
  ]
1164
1149
 
1165
- [[package]]
1166
- name = "foreign-types-shared"
1167
- version = "0.1.1"
1168
- source = "registry+https://github.com/rust-lang/crates.io-index"
1169
- checksum = "00b0228411908ca8685dba7fc2cdd70ec9990a6e753e89b6ac91a84c40fbaf4b"
1170
-
1171
1150
  [[package]]
1172
1151
  name = "foreign-types-shared"
1173
1152
  version = "0.3.1"
@@ -1679,7 +1658,6 @@ dependencies = [
1679
1658
  "http",
1680
1659
  "indicatif",
1681
1660
  "log",
1682
- "native-tls",
1683
1661
  "num_cpus",
1684
1662
  "rand 0.8.6",
1685
1663
  "reqwest",
@@ -1770,22 +1748,6 @@ dependencies = [
1770
1748
  "webpki-roots 1.0.2",
1771
1749
  ]
1772
1750
 
1773
- [[package]]
1774
- name = "hyper-tls"
1775
- version = "0.6.0"
1776
- source = "registry+https://github.com/rust-lang/crates.io-index"
1777
- checksum = "70206fc6890eaca9fde8a0bf71caa2ddfc9fe045ac9e5c70df101a7dbde866e0"
1778
- dependencies = [
1779
- "bytes",
1780
- "http-body-util",
1781
- "hyper",
1782
- "hyper-util",
1783
- "native-tls",
1784
- "tokio",
1785
- "tokio-native-tls",
1786
- "tower-service",
1787
- ]
1788
-
1789
1751
  [[package]]
1790
1752
  name = "hyper-util"
1791
1753
  version = "0.1.16"
@@ -2325,7 +2287,7 @@ dependencies = [
2325
2287
  "bitflags 2.9.4",
2326
2288
  "block",
2327
2289
  "core-graphics-types",
2328
- "foreign-types 0.5.0",
2290
+ "foreign-types",
2329
2291
  "log",
2330
2292
  "objc",
2331
2293
  "paste",
@@ -2395,23 +2357,6 @@ dependencies = [
2395
2357
  "pxfm",
2396
2358
  ]
2397
2359
 
2398
- [[package]]
2399
- name = "native-tls"
2400
- version = "0.2.14"
2401
- source = "registry+https://github.com/rust-lang/crates.io-index"
2402
- checksum = "87de3442987e9dbec73158d5c715e7ad9072fda936bb03d19d7fa10e00520f0e"
2403
- dependencies = [
2404
- "libc",
2405
- "log",
2406
- "openssl",
2407
- "openssl-probe",
2408
- "openssl-sys",
2409
- "schannel",
2410
- "security-framework",
2411
- "security-framework-sys",
2412
- "tempfile",
2413
- ]
2414
-
2415
2360
  [[package]]
2416
2361
  name = "new_debug_unreachable"
2417
2362
  version = "1.0.6"
@@ -2686,49 +2631,6 @@ dependencies = [
2686
2631
  "pkg-config",
2687
2632
  ]
2688
2633
 
2689
- [[package]]
2690
- name = "openssl"
2691
- version = "0.10.80"
2692
- source = "registry+https://github.com/rust-lang/crates.io-index"
2693
- checksum = "a45fa2aa886c42762255da344f0a0d313e254066c46aad76f300c3d3da62d967"
2694
- dependencies = [
2695
- "bitflags 2.9.4",
2696
- "cfg-if",
2697
- "foreign-types 0.3.2",
2698
- "libc",
2699
- "openssl-macros",
2700
- "openssl-sys",
2701
- ]
2702
-
2703
- [[package]]
2704
- name = "openssl-macros"
2705
- version = "0.1.1"
2706
- source = "registry+https://github.com/rust-lang/crates.io-index"
2707
- checksum = "a948666b637a0f465e8564c73e89d4dde00d72d4d473cc972f390fc3dcee7d9c"
2708
- dependencies = [
2709
- "proc-macro2",
2710
- "quote",
2711
- "syn",
2712
- ]
2713
-
2714
- [[package]]
2715
- name = "openssl-probe"
2716
- version = "0.1.6"
2717
- source = "registry+https://github.com/rust-lang/crates.io-index"
2718
- checksum = "d05e27ee213611ffe7d6348b942e8f942b37114c00cc03cec254295a4a17852e"
2719
-
2720
- [[package]]
2721
- name = "openssl-sys"
2722
- version = "0.9.116"
2723
- source = "registry+https://github.com/rust-lang/crates.io-index"
2724
- checksum = "f28a22dc7140cda5f096e5e7724a6962ca81a7f8bfd2979f9b18c11af56318c4"
2725
- dependencies = [
2726
- "cc",
2727
- "libc",
2728
- "pkg-config",
2729
- "vcpkg",
2730
- ]
2731
-
2732
2634
  [[package]]
2733
2635
  name = "option-ext"
2734
2636
  version = "0.2.0"
@@ -3309,12 +3211,10 @@ dependencies = [
3309
3211
  "http-body-util",
3310
3212
  "hyper",
3311
3213
  "hyper-rustls",
3312
- "hyper-tls",
3313
3214
  "hyper-util",
3314
3215
  "js-sys",
3315
3216
  "log",
3316
3217
  "mime",
3317
- "native-tls",
3318
3218
  "percent-encoding",
3319
3219
  "pin-project-lite",
3320
3220
  "quinn",
@@ -3325,7 +3225,6 @@ dependencies = [
3325
3225
  "serde_urlencoded",
3326
3226
  "sync_wrapper",
3327
3227
  "tokio",
3328
- "tokio-native-tls",
3329
3228
  "tokio-rustls",
3330
3229
  "tokio-util",
3331
3230
  "tower",
@@ -3480,38 +3379,6 @@ dependencies = [
3480
3379
  "winapi-util",
3481
3380
  ]
3482
3381
 
3483
- [[package]]
3484
- name = "schannel"
3485
- version = "0.1.28"
3486
- source = "registry+https://github.com/rust-lang/crates.io-index"
3487
- checksum = "891d81b926048e76efe18581bf793546b4c0eaf8448d72be8de2bbee5fd166e1"
3488
- dependencies = [
3489
- "windows-sys 0.61.0",
3490
- ]
3491
-
3492
- [[package]]
3493
- name = "security-framework"
3494
- version = "2.11.1"
3495
- source = "registry+https://github.com/rust-lang/crates.io-index"
3496
- checksum = "897b2245f0b511c87893af39b033e5ca9cce68824c4d7e7630b5a1d339658d02"
3497
- dependencies = [
3498
- "bitflags 2.9.4",
3499
- "core-foundation",
3500
- "core-foundation-sys",
3501
- "libc",
3502
- "security-framework-sys",
3503
- ]
3504
-
3505
- [[package]]
3506
- name = "security-framework-sys"
3507
- version = "2.15.0"
3508
- source = "registry+https://github.com/rust-lang/crates.io-index"
3509
- checksum = "cc1f0cbffaac4852523ce30d8bd3c5cdc873501d96ff467ca09b6767bb8cd5c0"
3510
- dependencies = [
3511
- "core-foundation-sys",
3512
- "libc",
3513
- ]
3514
-
3515
3382
  [[package]]
3516
3383
  name = "semver"
3517
3384
  version = "1.0.28"
@@ -3800,19 +3667,6 @@ dependencies = [
3800
3667
  "xattr",
3801
3668
  ]
3802
3669
 
3803
- [[package]]
3804
- name = "tempfile"
3805
- version = "3.22.0"
3806
- source = "registry+https://github.com/rust-lang/crates.io-index"
3807
- checksum = "84fa4d11fadde498443cca10fd3ac23c951f0dc59e080e9f4b93d4df4e4eea53"
3808
- dependencies = [
3809
- "fastrand",
3810
- "getrandom 0.3.3",
3811
- "once_cell",
3812
- "rustix",
3813
- "windows-sys 0.52.0",
3814
- ]
3815
-
3816
3670
  [[package]]
3817
3671
  name = "thiserror"
3818
3672
  version = "1.0.69"
@@ -3988,16 +3842,6 @@ dependencies = [
3988
3842
  "syn",
3989
3843
  ]
3990
3844
 
3991
- [[package]]
3992
- name = "tokio-native-tls"
3993
- version = "0.3.1"
3994
- source = "registry+https://github.com/rust-lang/crates.io-index"
3995
- checksum = "bbae76ab933c85776efabc971569dd6119c580d8f5d448769dec1764bf796ef2"
3996
- dependencies = [
3997
- "native-tls",
3998
- "tokio",
3999
- ]
4000
-
4001
3845
  [[package]]
4002
3846
  name = "tokio-rustls"
4003
3847
  version = "0.26.2"
@@ -4264,7 +4108,6 @@ dependencies = [
4264
4108
  "base64 0.22.1",
4265
4109
  "flate2",
4266
4110
  "log",
4267
- "native-tls",
4268
4111
  "once_cell",
4269
4112
  "rustls",
4270
4113
  "rustls-pki-types",
@@ -4315,12 +4158,6 @@ dependencies = [
4315
4158
  "wasm-bindgen",
4316
4159
  ]
4317
4160
 
4318
- [[package]]
4319
- name = "vcpkg"
4320
- version = "0.2.15"
4321
- source = "registry+https://github.com/rust-lang/crates.io-index"
4322
- checksum = "accd4ea62f7bb7a82fe23066fb0957d48ef677f6eeb8215f372f52e48bb32426"
4323
-
4324
4161
  [[package]]
4325
4162
  name = "version_check"
4326
4163
  version = "0.9.5"
@@ -4709,15 +4546,6 @@ dependencies = [
4709
4546
  "windows-targets 0.53.3",
4710
4547
  ]
4711
4548
 
4712
- [[package]]
4713
- name = "windows-sys"
4714
- version = "0.61.0"
4715
- source = "registry+https://github.com/rust-lang/crates.io-index"
4716
- checksum = "e201184e40b2ede64bc2ea34968b28e33622acdbbf37104f0e4a33f7abe657aa"
4717
- dependencies = [
4718
- "windows-link 0.2.0",
4719
- ]
4720
-
4721
4549
  [[package]]
4722
4550
  name = "windows-targets"
4723
4551
  version = "0.48.5"
@@ -13,7 +13,12 @@ candle-core = { version = "0.9.2" }
13
13
  candle-nn = { version = "0.9.2" }
14
14
  candle-transformers = { version = "0.9.2" }
15
15
  tokenizers = { version = "0.22.0", default-features = true, features = ["fancy-regex"] }
16
- hf-hub = "0.4.1"
16
+ # Drop hf-hub's default `default-tls` (= native-tls = openssl-sys), which can't
17
+ # cross-compile to aarch64-linux (no OpenSSL headers in the cross sysroot). Keep
18
+ # both API surfaces red-candle uses — `tokio` (async, via reqwest) and `ureq`
19
+ # (sync) — and route reqwest through rustls (`rustls-tls`); ureq defaults to
20
+ # rustls+ring. This removes openssl-sys from every platform's build.
21
+ hf-hub = { version = "0.4.1", default-features = false, features = ["tokio", "ureq", "rustls-tls"] }
17
22
  half = "2.6.0"
18
23
  magnus = "0.8"
19
24
  safetensors = "0.3"
@@ -1,5 +1,5 @@
1
1
  # :nocov:
2
2
  module Candle
3
- VERSION = "1.8.0.pre2"
3
+ VERSION = "1.8.0"
4
4
  end
5
5
  # :nocov:
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: red-candle
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.8.0.pre2
4
+ version: 1.8.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Christopher Petersen