www/zola: Update to 0.20.0

This commit is contained in:
Mikael Urankar
2025-03-28 10:25:11 +01:00
parent 24326063f8
commit 0819f90130
4 changed files with 763 additions and 832 deletions
+1 -2
View File
@@ -1,7 +1,6 @@
PORTNAME= zola
DISTVERSIONPREFIX= v
DISTVERSION= 0.19.2
PORTREVISION= 5
DISTVERSION= 0.20.0
CATEGORIES= www
MAINTAINER= mikael@FreeBSD.org
+253 -236
View File
@@ -1,109 +1,112 @@
CARGO_CRATES= addr2line-0.22.0 \
adler-1.0.2 \
CARGO_CRATES= addr2line-0.24.2 \
adler2-2.0.0 \
ahash-0.7.8 \
ahash-0.8.11 \
aho-corasick-0.7.20 \
aho-corasick-1.1.3 \
aligned-vec-0.5.0 \
allocator-api2-0.2.21 \
ammonia-4.0.0 \
android-tzdata-0.1.1 \
android_system_properties-0.1.5 \
anstream-0.6.14 \
anstyle-1.0.7 \
anstyle-parse-0.2.4 \
anstyle-query-1.1.0 \
anstyle-wincon-3.0.3 \
anstream-0.6.18 \
anstyle-1.0.10 \
anstyle-parse-0.2.6 \
anstyle-query-1.1.2 \
anstyle-wincon-3.0.7 \
any_ascii-0.1.7 \
anyhow-1.0.86 \
arbitrary-1.3.2 \
anyhow-1.0.95 \
arbitrary-1.4.1 \
arg_enum_proc_macro-0.3.4 \
arrayvec-0.7.4 \
arrayvec-0.7.6 \
assert-json-diff-2.0.2 \
atomic-waker-1.1.2 \
atty-0.2.14 \
autocfg-1.3.0 \
autocfg-1.4.0 \
av1-grain-0.2.3 \
avif-serialize-0.8.1 \
backtrace-0.3.73 \
base64-0.21.7 \
avif-parse-1.3.2 \
avif-serialize-0.8.2 \
backtrace-0.3.74 \
base64-0.22.1 \
base64-simd-0.7.0 \
bincode-1.3.3 \
bit_field-0.10.2 \
bitflags-1.3.2 \
bitflags-2.5.0 \
bitstream-io-2.4.1 \
bitflags-2.8.0 \
bitreader-0.3.11 \
bitstream-io-2.6.0 \
bitvec-1.0.1 \
block-buffer-0.7.3 \
block-buffer-0.10.4 \
block-padding-0.1.5 \
bstr-1.9.1 \
bstr-1.11.3 \
build_const-0.2.2 \
built-0.7.3 \
bumpalo-3.16.0 \
built-0.7.6 \
bumpalo-3.17.0 \
byte-tools-0.3.1 \
bytecheck-0.6.12 \
bytecheck_derive-0.6.12 \
bytecount-0.6.8 \
bytemuck-1.16.0 \
bytemuck-1.21.0 \
byteorder-1.5.0 \
byteorder-lite-0.1.0 \
bytes-0.4.12 \
bytes-1.6.0 \
cc-1.0.99 \
bytes-1.10.0 \
cc-1.2.14 \
cedarwood-0.4.6 \
cfg-expr-0.15.8 \
cfg-if-0.1.10 \
cfg-if-1.0.0 \
cfg_aliases-0.1.1 \
chrono-0.4.38 \
cfg_aliases-0.2.1 \
chrono-0.4.39 \
chrono-tz-0.9.0 \
chrono-tz-build-0.3.0 \
clap-3.2.25 \
clap-4.5.7 \
clap_builder-4.5.7 \
clap_complete-4.5.5 \
clap-4.5.29 \
clap_builder-4.5.29 \
clap_complete-4.5.44 \
clap_derive-3.2.25 \
clap_derive-4.5.5 \
clap_derive-4.5.28 \
clap_lex-0.2.4 \
clap_lex-0.7.1 \
clap_lex-0.7.4 \
codemap-0.1.3 \
color_quant-1.1.0 \
colorchoice-1.0.1 \
colored-2.1.0 \
console-0.15.8 \
colorchoice-1.0.3 \
colored-2.2.0 \
console-0.15.10 \
const-str-0.3.2 \
const-str-proc-macro-0.3.2 \
convert_case-0.6.0 \
core-foundation-0.9.4 \
core-foundation-sys-0.8.6 \
cpufeatures-0.2.12 \
core-foundation-sys-0.8.7 \
cpufeatures-0.2.17 \
crc-1.8.1 \
crc32fast-1.4.2 \
crossbeam-channel-0.5.13 \
crossbeam-deque-0.8.5 \
crossbeam-deque-0.8.6 \
crossbeam-epoch-0.9.18 \
crossbeam-utils-0.8.20 \
crunchy-0.2.2 \
crossbeam-utils-0.8.21 \
crunchy-0.2.3 \
crypto-common-0.1.6 \
cssparser-0.33.0 \
cssparser-color-0.1.0 \
cssparser-macros-0.6.1 \
csv-1.3.0 \
csv-core-0.1.11 \
ctrlc-3.4.4 \
csv-1.3.1 \
csv-core-0.1.12 \
ctrlc-3.4.5 \
dashmap-5.5.3 \
data-encoding-2.6.0 \
data-encoding-2.8.0 \
data-url-0.1.1 \
deranged-0.3.11 \
deunicode-1.6.0 \
digest-0.8.1 \
digest-0.10.7 \
displaydoc-0.2.4 \
displaydoc-0.2.5 \
doc-comment-0.3.3 \
dtoa-1.0.9 \
dtoa-short-0.3.5 \
either-1.12.0 \
either-1.13.0 \
elasticlunr-rs-3.0.2 \
encode_unicode-0.3.6 \
encode_unicode-1.0.0 \
encoding-0.2.33 \
encoding-index-japanese-1.20141219.5 \
encoding-index-korean-1.20141219.5 \
@@ -111,18 +114,17 @@ CARGO_CRATES= addr2line-0.22.0 \
encoding-index-singlebyte-1.20141219.5 \
encoding-index-tradchinese-1.20141219.5 \
encoding_index_tests-0.1.4 \
encoding_rs-0.8.34 \
env_logger-0.9.3 \
equivalent-1.0.1 \
errno-0.3.9 \
exr-1.72.0 \
errno-0.3.10 \
exr-1.73.0 \
fake-simd-0.1.2 \
fastrand-2.1.0 \
fdeflate-0.3.4 \
file-id-0.2.1 \
filetime-0.2.23 \
flate2-1.0.30 \
flume-0.11.0 \
fallible_collections-0.5.1 \
fastrand-2.3.0 \
fdeflate-0.3.7 \
file-id-0.2.2 \
filetime-0.2.25 \
flate2-1.0.35 \
fnv-1.0.7 \
foreign-types-0.3.2 \
foreign-types-shared-0.1.1 \
@@ -132,44 +134,52 @@ CARGO_CRATES= addr2line-0.22.0 \
fuchsia-zircon-sys-0.3.3 \
funty-2.0.0 \
futf-0.1.5 \
futures-channel-0.3.30 \
futures-core-0.3.30 \
futures-io-0.3.30 \
futures-sink-0.3.30 \
futures-task-0.3.30 \
futures-util-0.3.30 \
futures-channel-0.3.31 \
futures-core-0.3.31 \
futures-io-0.3.31 \
futures-sink-0.3.31 \
futures-task-0.3.31 \
futures-util-0.3.31 \
fxhash-0.2.1 \
generic-array-0.12.4 \
generic-array-0.14.7 \
getrandom-0.1.16 \
getrandom-0.2.15 \
getrandom-0.3.1 \
gh-emoji-1.0.8 \
gif-0.13.1 \
gimli-0.29.0 \
glob-0.3.1 \
globset-0.4.14 \
gimli-0.31.1 \
glob-0.3.2 \
globset-0.4.15 \
globwalk-0.9.1 \
grass-0.13.3 \
grass_compiler-0.13.3 \
grass-0.13.4 \
grass_compiler-0.13.4 \
h2-0.3.26 \
h2-0.4.7 \
half-2.4.1 \
hashbrown-0.12.3 \
hashbrown-0.13.2 \
hashbrown-0.14.5 \
hashbrown-0.15.2 \
heck-0.4.1 \
heck-0.5.0 \
hermit-abi-0.1.19 \
html5ever-0.27.0 \
http-0.2.12 \
http-1.2.0 \
http-body-0.4.6 \
httparse-1.9.3 \
http-body-1.0.1 \
http-body-util-0.1.2 \
httparse-1.10.0 \
httpdate-1.0.3 \
humansize-2.1.3 \
humantime-2.1.0 \
hyper-0.14.29 \
hyper-rustls-0.24.2 \
hyper-tls-0.5.0 \
iana-time-zone-0.1.60 \
hyper-0.14.32 \
hyper-1.6.0 \
hyper-rustls-0.27.5 \
hyper-tls-0.6.0 \
hyper-util-0.1.10 \
iana-time-zone-0.1.61 \
iana-time-zone-haiku-0.1.2 \
icu_collections-1.5.0 \
icu_locid-1.5.0 \
@@ -177,47 +187,51 @@ CARGO_CRATES= addr2line-0.22.0 \
icu_locid_transform_data-1.5.0 \
icu_normalizer-1.5.0 \
icu_normalizer_data-1.5.0 \
icu_properties-1.5.0 \
icu_properties-1.5.1 \
icu_properties_data-1.5.0 \
icu_provider-1.5.0 \
icu_provider_macros-1.5.0 \
idna-1.0.0 \
ignore-0.4.22 \
image-0.25.1 \
image-webp-0.1.2 \
imgref-1.10.1 \
idna-1.0.3 \
idna_adapter-1.2.0 \
ignore-0.4.23 \
image-0.25.5 \
image-webp-0.2.1 \
imgref-1.11.0 \
indexmap-1.9.3 \
indexmap-2.2.6 \
inotify-0.9.6 \
indexmap-2.7.1 \
inotify-0.11.0 \
inotify-sys-0.1.5 \
insta-1.39.0 \
insta-1.42.1 \
interpolate_name-0.2.4 \
iovec-0.1.4 \
ipnet-2.9.0 \
ipnet-2.11.0 \
is-docker-0.2.0 \
is-wsl-0.4.0 \
is_terminal_polyfill-1.70.0 \
is_terminal_polyfill-1.70.1 \
itertools-0.10.5 \
itertools-0.12.1 \
itoa-1.0.11 \
itoa-1.0.14 \
jieba-rs-0.6.8 \
jobserver-0.1.31 \
jobserver-0.1.32 \
jpeg-decoder-0.3.1 \
js-sys-0.3.69 \
kamadak-exif-0.5.5 \
js-sys-0.3.77 \
kamadak-exif-0.6.1 \
kernel32-sys-0.2.2 \
kqueue-1.0.8 \
kqueue-sys-1.0.4 \
lasso-0.7.2 \
lazy_static-1.4.0 \
lasso-0.7.3 \
lazy_static-1.5.0 \
lazycell-1.3.0 \
leb128-0.2.5 \
lebe-0.5.2 \
lexical-sort-0.3.1 \
libc-0.2.155 \
libfuzzer-sys-0.4.7 \
libm-0.2.8 \
libwebp-sys-0.9.5 \
lightningcss-1.0.0-alpha.57 \
libc-0.2.169 \
libfuzzer-sys-0.4.9 \
libm-0.2.11 \
libredox-0.1.3 \
libwebp-sys-0.9.6 \
lightningcss-1.0.0-alpha.63 \
lightningcss-derive-1.0.0-alpha.43 \
lindera-0.14.0 \
lindera-cc-cedict-builder-0.13.5 \
lindera-core-0.13.5 \
@@ -227,12 +241,11 @@ CARGO_CRATES= addr2line-0.22.0 \
lindera-ipadic-builder-0.13.5 \
lindera-ko-dic-builder-0.13.5 \
lindera-unidic-builder-0.13.5 \
line-wrap-0.2.0 \
linked-hash-map-0.5.6 \
linux-raw-sys-0.4.14 \
litemap-0.7.3 \
linux-raw-sys-0.4.15 \
litemap-0.7.4 \
lock_api-0.4.12 \
log-0.4.21 \
log-0.4.25 \
loop9-0.1.5 \
lzma-rs-0.2.0 \
mac-0.1.1 \
@@ -242,32 +255,33 @@ CARGO_CRATES= addr2line-0.22.0 \
maybe-rayon-0.1.1 \
memchr-2.7.4 \
mime-0.3.17 \
mime_guess-2.0.4 \
mime_guess-2.0.5 \
minidom-0.12.0 \
minify-html-0.15.0 \
minify-html-common-0.0.2 \
minify-js-0.5.6 \
minimal-lexical-0.2.1 \
miniz_oxide-0.7.3 \
miniz_oxide-0.8.4 \
mio-0.6.23 \
mio-0.8.11 \
mio-1.0.3 \
mio-extras-2.0.6 \
miow-0.2.2 \
mockito-0.31.1 \
mockito-1.6.1 \
mutate_once-0.1.1 \
native-tls-0.2.12 \
native-tls-0.2.13 \
net2-0.2.39 \
new_debug_unreachable-1.0.6 \
nix-0.28.0 \
nix-0.29.0 \
nom-7.1.3 \
nom-bibtex-0.5.0 \
nom-tracable-0.9.1 \
nom-tracable-macros-0.9.1 \
nom_locate-4.2.0 \
noop_proc_macro-0.3.0 \
notify-6.1.1 \
notify-debouncer-full-0.3.1 \
num-bigint-0.4.5 \
notify-8.0.0 \
notify-debouncer-full-0.5.0 \
notify-types-2.0.0 \
num-bigint-0.4.6 \
num-conv-0.1.0 \
num-derive-0.4.2 \
num-format-0.4.4 \
@@ -275,19 +289,19 @@ CARGO_CRATES= addr2line-0.22.0 \
num-rational-0.4.2 \
num-traits-0.2.19 \
num_threads-0.1.7 \
object-0.36.0 \
once_cell-1.19.0 \
object-0.36.7 \
once_cell-1.20.3 \
onig-6.4.0 \
onig_sys-69.8.1 \
opaque-debug-0.2.3 \
open-5.1.4 \
openssl-0.10.64 \
open-5.3.2 \
openssl-0.10.70 \
openssl-macros-0.1.1 \
openssl-probe-0.1.5 \
openssl-sys-0.9.102 \
openssl-probe-0.1.6 \
openssl-sys-0.9.105 \
os_str_bytes-6.6.1 \
outref-0.1.0 \
parcel_selectors-0.26.5 \
parcel_selectors-0.28.1 \
parcel_sourcemap-2.1.1 \
parking_lot-0.12.3 \
parking_lot_core-0.9.10 \
@@ -295,45 +309,46 @@ CARGO_CRATES= addr2line-0.22.0 \
parse-zoneinfo-0.3.1 \
paste-1.0.15 \
path-slash-0.2.1 \
pathdiff-0.2.1 \
pathdiff-0.2.3 \
percent-encoding-2.3.1 \
pest-2.7.10 \
pest_derive-2.7.10 \
pest_generator-2.7.10 \
pest_meta-2.7.10 \
phf-0.10.1 \
phf-0.11.2 \
phf_codegen-0.10.0 \
phf_codegen-0.11.2 \
phf_generator-0.10.0 \
phf_generator-0.11.2 \
phf_macros-0.11.2 \
phf_shared-0.10.0 \
phf_shared-0.11.2 \
pin-project-lite-0.2.14 \
pest-2.7.15 \
pest_derive-2.7.15 \
pest_generator-2.7.15 \
pest_meta-2.7.15 \
phf-0.11.3 \
phf_codegen-0.11.3 \
phf_generator-0.11.3 \
phf_macros-0.11.3 \
phf_shared-0.11.3 \
pin-project-1.1.9 \
pin-project-internal-1.1.9 \
pin-project-lite-0.2.16 \
pin-utils-0.1.0 \
pkg-config-0.3.30 \
plist-1.6.1 \
png-0.17.13 \
pkg-config-0.3.31 \
plist-1.7.0 \
png-0.17.16 \
powerfmt-0.2.0 \
ppv-lite86-0.2.17 \
ppv-lite86-0.2.20 \
precomputed-hash-0.1.1 \
proc-macro-error-1.0.4 \
proc-macro-error-attr-1.0.4 \
proc-macro2-1.0.85 \
profiling-1.0.15 \
profiling-procmacros-1.0.15 \
proc-macro2-1.0.93 \
profiling-1.0.16 \
profiling-procmacros-1.0.16 \
ptr_meta-0.1.4 \
ptr_meta_derive-0.1.4 \
pulldown-cmark-0.11.0 \
pulldown-cmark-0.13.0 \
pulldown-cmark-escape-0.11.0 \
pure-rust-locales-0.8.1 \
qoi-0.4.1 \
quick-error-2.0.1 \
quick-xml-0.17.2 \
quick-xml-0.31.0 \
quick-xml-0.32.0 \
quickxml_to_serde-0.6.0 \
quote-1.0.36 \
quinn-0.11.6 \
quinn-proto-0.11.9 \
quinn-udp-0.5.10 \
quote-1.0.38 \
radium-0.7.0 \
rand-0.7.3 \
rand-0.8.5 \
@@ -343,74 +358,74 @@ CARGO_CRATES= addr2line-0.22.0 \
rand_core-0.6.4 \
rand_hc-0.2.0 \
rav1e-0.7.1 \
ravif-0.11.7 \
ravif-0.11.11 \
rayon-1.10.0 \
rayon-core-1.12.1 \
redox_syscall-0.4.1 \
redox_syscall-0.5.2 \
regex-1.10.5 \
regex-automata-0.4.7 \
regex-syntax-0.8.4 \
redox_syscall-0.5.8 \
regex-1.11.1 \
regex-automata-0.4.9 \
regex-syntax-0.8.5 \
relative-path-1.9.3 \
rend-0.4.2 \
reqwest-0.11.27 \
rgb-0.8.37 \
ring-0.17.8 \
rkyv-0.7.44 \
rkyv_derive-0.7.44 \
reqwest-0.12.12 \
rgb-0.8.50 \
ring-0.17.9 \
rkyv-0.7.45 \
rkyv_derive-0.7.45 \
roxmltree-0.20.0 \
rust-stemmers-1.2.0 \
rustc-demangle-0.1.24 \
rustc-hash-1.1.0 \
rustix-0.38.34 \
rustls-0.21.12 \
rustls-pemfile-1.0.4 \
rustls-webpki-0.101.7 \
ryu-1.0.18 \
rustc-hash-2.1.1 \
rustix-0.38.44 \
rustls-0.23.23 \
rustls-pemfile-2.2.0 \
rustls-pki-types-1.11.0 \
rustls-webpki-0.102.8 \
rustversion-1.0.19 \
ryu-1.0.19 \
same-file-1.0.6 \
schannel-0.1.23 \
schannel-0.1.27 \
scopeguard-1.2.0 \
sct-0.7.1 \
seahash-4.1.0 \
security-framework-2.11.0 \
security-framework-sys-2.11.0 \
serde-1.0.203 \
serde_derive-1.0.203 \
serde_json-1.0.117 \
serde_spanned-0.6.6 \
security-framework-2.11.1 \
security-framework-sys-2.14.0 \
serde-1.0.217 \
serde_derive-1.0.217 \
serde_json-1.0.138 \
serde_spanned-0.6.8 \
serde_urlencoded-0.7.1 \
serde_yaml-0.9.34+deprecated \
sha-1-0.8.2 \
sha2-0.10.8 \
shlex-1.3.0 \
simd-abstraction-0.7.1 \
simd-adler32-0.3.7 \
simd_helpers-0.1.0 \
simdutf8-0.1.4 \
similar-2.5.0 \
siphasher-0.3.11 \
simdutf8-0.1.5 \
similar-2.7.0 \
siphasher-1.0.1 \
slab-0.4.9 \
slug-0.1.5 \
slug-0.1.6 \
smallvec-1.13.2 \
socket2-0.5.7 \
spin-0.9.8 \
socket2-0.5.8 \
stable_deref_trait-1.2.0 \
string_cache-0.8.7 \
string_cache_codegen-0.5.2 \
string_cache-0.8.8 \
string_cache_codegen-0.5.3 \
strsim-0.10.0 \
strsim-0.11.1 \
subtle-2.6.1 \
svg_metadata-0.5.1 \
syn-1.0.109 \
syn-2.0.66 \
sync_wrapper-0.1.2 \
syn-2.0.98 \
sync_wrapper-1.0.2 \
synstructure-0.13.1 \
syntect-5.2.0 \
system-configuration-0.5.1 \
system-configuration-sys-0.5.0 \
system-deps-6.2.2 \
tap-1.0.1 \
tar-0.4.41 \
target-lexicon-0.12.14 \
tempfile-3.10.1 \
tar-0.4.43 \
target-lexicon-0.12.16 \
tempfile-3.16.0 \
tendril-0.4.3 \
tera-1.20.0 \
termcolor-1.4.1 \
@@ -418,29 +433,33 @@ CARGO_CRATES= addr2line-0.22.0 \
test-case-core-3.3.1 \
test-case-macros-3.3.1 \
textwrap-0.16.1 \
thiserror-1.0.61 \
thiserror-impl-1.0.61 \
thiserror-1.0.69 \
thiserror-2.0.11 \
thiserror-impl-1.0.69 \
thiserror-impl-2.0.11 \
tiff-0.9.1 \
time-0.3.36 \
time-0.3.37 \
time-core-0.1.2 \
time-macros-0.2.18 \
time-macros-0.2.19 \
tinystr-0.7.6 \
tinyvec-1.6.0 \
tinyvec-1.8.1 \
tinyvec_macros-0.1.1 \
tokio-1.38.0 \
tokio-1.43.0 \
tokio-native-tls-0.3.1 \
tokio-rustls-0.24.1 \
tokio-util-0.7.11 \
tokio-rustls-0.26.1 \
tokio-util-0.7.13 \
toml-0.5.11 \
toml-0.8.14 \
toml_datetime-0.6.6 \
toml_edit-0.22.14 \
tower-service-0.3.2 \
tracing-0.1.40 \
tracing-core-0.1.32 \
toml-0.8.20 \
toml_datetime-0.6.8 \
toml_edit-0.22.24 \
tower-0.5.2 \
tower-layer-0.3.3 \
tower-service-0.3.3 \
tracing-0.1.41 \
tracing-core-0.1.33 \
try-lock-0.2.5 \
typenum-1.17.0 \
ucd-trie-0.1.6 \
ucd-trie-0.1.7 \
unic-char-property-0.9.0 \
unic-char-range-0.9.0 \
unic-common-0.9.0 \
@@ -449,81 +468,79 @@ CARGO_CRATES= addr2line-0.22.0 \
unic-segment-0.9.0 \
unic-ucd-segment-0.9.0 \
unic-ucd-version-0.9.0 \
unicase-2.7.0 \
unicode-ident-1.0.12 \
unicode-segmentation-1.11.0 \
unicase-2.8.1 \
unicode-ident-1.0.16 \
unicode-segmentation-1.12.0 \
unsafe-libyaml-0.2.11 \
untrusted-0.9.0 \
url-2.5.1 \
url-2.5.4 \
utf-8-0.7.6 \
utf16_iter-1.0.5 \
utf8_iter-1.0.4 \
utf8parse-0.2.2 \
uuid-1.8.0 \
uuid-1.13.1 \
v_frame-0.3.8 \
vcpkg-0.2.15 \
version-compare-0.2.0 \
version_check-0.9.4 \
version_check-0.9.5 \
vlq-0.5.1 \
walkdir-2.5.0 \
want-0.3.1 \
wasi-0.9.0+wasi-snapshot-preview1 \
wasi-0.11.0+wasi-snapshot-preview1 \
wasm-bindgen-0.2.92 \
wasm-bindgen-backend-0.2.92 \
wasm-bindgen-futures-0.4.42 \
wasm-bindgen-macro-0.2.92 \
wasm-bindgen-macro-support-0.2.92 \
wasm-bindgen-shared-0.2.92 \
web-sys-0.3.69 \
wasi-0.13.3+wasi-0.2.2 \
wasm-bindgen-0.2.100 \
wasm-bindgen-backend-0.2.100 \
wasm-bindgen-futures-0.4.50 \
wasm-bindgen-macro-0.2.100 \
wasm-bindgen-macro-support-0.2.100 \
wasm-bindgen-shared-0.2.100 \
web-sys-0.3.77 \
web-time-1.1.0 \
webp-0.3.0 \
webpki-roots-0.25.4 \
webpki-roots-0.26.8 \
weezl-0.1.8 \
winapi-0.2.8 \
winapi-0.3.9 \
winapi-build-0.1.1 \
winapi-i686-pc-windows-gnu-0.4.0 \
winapi-util-0.1.8 \
winapi-util-0.1.9 \
winapi-x86_64-pc-windows-gnu-0.4.0 \
windows-core-0.52.0 \
windows-sys-0.48.0 \
windows-registry-0.2.0 \
windows-result-0.2.0 \
windows-strings-0.1.0 \
windows-sys-0.52.0 \
windows-targets-0.48.5 \
windows-targets-0.52.5 \
windows_aarch64_gnullvm-0.48.5 \
windows_aarch64_gnullvm-0.52.5 \
windows_aarch64_msvc-0.48.5 \
windows_aarch64_msvc-0.52.5 \
windows_i686_gnu-0.48.5 \
windows_i686_gnu-0.52.5 \
windows_i686_gnullvm-0.52.5 \
windows_i686_msvc-0.48.5 \
windows_i686_msvc-0.52.5 \
windows_x86_64_gnu-0.48.5 \
windows_x86_64_gnu-0.52.5 \
windows_x86_64_gnullvm-0.48.5 \
windows_x86_64_gnullvm-0.52.5 \
windows_x86_64_msvc-0.48.5 \
windows_x86_64_msvc-0.52.5 \
winnow-0.6.13 \
winreg-0.50.0 \
windows-sys-0.59.0 \
windows-targets-0.52.6 \
windows_aarch64_gnullvm-0.52.6 \
windows_aarch64_msvc-0.52.6 \
windows_i686_gnu-0.52.6 \
windows_i686_gnullvm-0.52.6 \
windows_i686_msvc-0.52.6 \
windows_x86_64_gnu-0.52.6 \
windows_x86_64_gnullvm-0.52.6 \
windows_x86_64_msvc-0.52.6 \
winnow-0.7.2 \
winres-0.1.12 \
wit-bindgen-rt-0.33.0 \
write16-1.0.0 \
writeable-0.5.5 \
ws-0.9.2 \
ws2_32-sys-0.2.1 \
wyz-0.5.1 \
xattr-1.3.1 \
xattr-1.4.0 \
yada-0.5.1 \
yaml-rust-0.4.5 \
yoke-0.7.4 \
yoke-derive-0.7.4 \
zerocopy-0.7.34 \
zerocopy-derive-0.7.34 \
zerofrom-0.1.4 \
zerofrom-derive-0.1.4 \
zerovec-0.10.2 \
zerovec-derive-0.10.2 \
yoke-0.7.5 \
yoke-derive-0.7.5 \
zerocopy-0.7.35 \
zerocopy-derive-0.7.35 \
zerofrom-0.1.5 \
zerofrom-derive-0.1.5 \
zeroize-1.8.1 \
zerovec-0.10.4 \
zerovec-derive-0.10.3 \
zune-core-0.4.12 \
zune-inflate-0.2.54 \
zune-jpeg-0.4.11
zune-jpeg-0.4.14
+509 -475
View File
File diff suppressed because it is too large Load Diff
-119
View File
@@ -1,119 +0,0 @@
--- cargo-crates/ring-0.17.8/Cargo.toml.orig 1970-01-01 00:00:01 UTC
+++ cargo-crates/ring-0.17.8/Cargo.toml
@@ -215,7 +215,7 @@ wasm32_unknown_unknown_js = ["getrandom/js"]
unstable-testing-arm-no-neon = []
wasm32_unknown_unknown_js = ["getrandom/js"]
-[target."cfg(all(any(target_os = \"android\", target_os = \"linux\"), any(target_arch = \"aarch64\", target_arch = \"arm\")))".dependencies.libc]
+[target."cfg(all(any(target_os = \"android\", target_os = \"freebsd\", target_os = \"linux\"), any(target_arch = \"aarch64\", target_arch = \"arm\")))".dependencies.libc]
version = "0.2.148"
default-features = false
--- cargo-crates/ring-0.17.8/src/cpu/arm.rs.orig 1973-11-29 21:33:09 UTC
+++ cargo-crates/ring-0.17.8/src/cpu/arm.rs
@@ -26,29 +26,59 @@
// detection.
#[cfg(all(
- any(target_os = "android", target_os = "linux"),
+ any(target_os = "android", target_os = "freebsd", target_os = "linux"),
any(target_arch = "aarch64", target_arch = "arm"),
not(target_env = "uclibc")
))]
fn detect_features() -> u32 {
use libc::c_ulong;
+ #[cfg(target_os = "freebsd")]
+ use libc::{c_int, c_void};
+ #[cfg(target_os = "freebsd")]
+ extern crate std;
// XXX: The `libc` crate doesn't provide `libc::getauxval` consistently
// across all Android/Linux targets, e.g. musl.
+ #[cfg(any(target_os = "android", target_os = "linux"))]
extern "C" {
fn getauxval(type_: c_ulong) -> c_ulong;
}
+ #[cfg(target_os = "freebsd")]
+ extern "C" {
+ fn elf_aux_info(aux: c_int, buf: *mut c_void, buflen: c_int) -> c_int;
+ }
+
+ #[cfg(not(target_os = "freebsd"))]
const AT_HWCAP: c_ulong = 16;
+ #[cfg(target_os = "freebsd")]
+ const AT_HWCAP: c_int = 25;
+
#[cfg(target_arch = "aarch64")]
const HWCAP_NEON: c_ulong = 1 << 1;
#[cfg(target_arch = "arm")]
const HWCAP_NEON: c_ulong = 1 << 12;
+ #[cfg(not(target_os = "freebsd"))]
let caps = unsafe { getauxval(AT_HWCAP) };
+ #[cfg(target_os = "freebsd")]
+ let caps: c_ulong = 0;
+
+ #[cfg(target_os = "freebsd")]
+ {
+ let buffer : *mut c_void = { let t: *const c_ulong = &caps; t} as *mut c_void;
+ unsafe {
+ let _ret = elf_aux_info(
+ AT_HWCAP,
+ buffer,
+ std::mem::size_of_val(&caps) as i32
+ );
+ }
+ }
+
// We assume NEON is available on AARCH64 because it is a required
// feature.
#[cfg(target_arch = "aarch64")]
@@ -67,12 +97,27 @@ fn detect_features() -> u32 {
#[cfg(target_arch = "arm")]
const OFFSET: c_ulong = 0;
- #[cfg(target_arch = "arm")]
+ #[cfg(target_os = "freebsd")]
+ let buffer : *mut c_void = { let t: *const c_ulong = &caps; t} as *mut c_void;
+
+ #[cfg(not(target_os = "freebsd"))]
let caps = {
const AT_HWCAP2: c_ulong = 26;
unsafe { getauxval(AT_HWCAP2) }
};
+ #[cfg(target_os = "freebsd")]
+ {
+ const AT_HWCAP2: c_int = 26;
+ unsafe {
+ let _ret = elf_aux_info(
+ AT_HWCAP2,
+ buffer,
+ std::mem::size_of_val(&caps) as i32
+ );
+ };
+ }
+
const HWCAP_AES: c_ulong = 1 << 0 + OFFSET;
const HWCAP_PMULL: c_ulong = 1 << 1 + OFFSET;
const HWCAP_SHA2: c_ulong = 1 << 3 + OFFSET;
@@ -156,6 +201,7 @@ fn detect_features() -> u32 {
#[cfg(all(
any(target_arch = "aarch64", target_arch = "arm"),
not(any(
+ target_os = "freebsd",
target_os = "android",
target_os = "fuchsia",
all(target_os = "linux", not(target_env = "uclibc")),
@@ -216,6 +262,7 @@ impl Feature {
#[cfg(all(
any(
+ target_os = "freebsd",
target_os = "android",
target_os = "fuchsia",
all(target_os = "linux", not(target_env = "uclibc")),