PORTNAME= trunk DISTVERSIONPREFIX= v DISTVERSION= 0.20.2 PORTREVISION= 1 CATEGORIES= www devel MAINTAINER= yuri@FreeBSD.org COMMENT= Build, bundle & ship your Rust WASM application to the web WWW= https://trunkrs.dev/ LICENSE= APACHE20 MIT LICENSE_COMB= dual LICENSE_FILE_APACHE20= ${WRKSRC}/LICENSE-APACHE LICENSE_FILE_MIT= ${WRKSRC}/LICENSE-MIT LIB_DEPENDS= libzstd.so:archivers/zstd USES= cargo USE_GITHUB= yes GH_ACCOUNT= thedodd RUSTFLAGS= ${ARCH:S/i386/YES/:C/^[a-z].*//:S/YES/-C target-feature=+sse,+sse2/} # add sse sse2 target-features only on i386 CARGO_CRATES= addr2line-0.21.0 \ adler-1.0.2 \ aes-0.8.4 \ ahash-0.7.8 \ ahash-0.8.11 \ aho-corasick-0.7.20 \ aho-corasick-1.1.3 \ aligned-0.4.2 \ ansi_term-0.12.1 \ anstream-0.6.14 \ anstyle-1.0.7 \ anstyle-parse-0.2.4 \ anstyle-query-1.0.3 \ anstyle-wincon-3.0.3 \ anyhow-1.0.82 \ arc-swap-1.7.1 \ as-slice-0.2.1 \ async-recursion-1.1.1 \ async-trait-0.1.80 \ autocfg-1.2.0 \ axum-0.7.5 \ axum-core-0.4.3 \ axum-server-0.6.0 \ backtrace-0.3.71 \ base64-0.21.7 \ base64-0.22.1 \ base64-simd-0.7.0 \ base64ct-1.6.0 \ bitflags-1.3.2 \ bitflags-2.5.0 \ bitvec-1.0.1 \ block-buffer-0.10.4 \ bumpalo-3.16.0 \ bytecheck-0.6.12 \ bytecheck_derive-0.6.12 \ bytemuck-1.15.0 \ byteorder-1.5.0 \ bytes-1.6.0 \ bzip2-0.4.4 \ bzip2-sys-0.1.11+1.0.8 \ camino-1.1.6 \ cargo-lock-9.0.0 \ cargo-platform-0.1.8 \ cargo_metadata-0.18.1 \ cc-1.0.96 \ cfg-if-1.0.0 \ chrono-0.4.38 \ cipher-0.4.4 \ clap-4.5.4 \ clap_builder-4.5.2 \ clap_derive-4.5.4 \ clap_lex-0.7.0 \ clap_mangen-0.2.20 \ colorchoice-1.0.1 \ console-0.15.8 \ const-str-0.3.2 \ const-str-proc-macro-0.3.2 \ constant_time_eq-0.1.5 \ convert_case-0.4.0 \ core-foundation-0.9.4 \ core-foundation-sys-0.8.6 \ cpufeatures-0.2.12 \ crates_io_api-0.11.0 \ crc32fast-1.4.0 \ crossbeam-channel-0.5.12 \ crossbeam-deque-0.8.5 \ crossbeam-epoch-0.9.18 \ crossbeam-utils-0.8.19 \ crypto-common-0.1.6 \ cssparser-0.27.2 \ cssparser-0.33.0 \ cssparser-color-0.1.0 \ cssparser-macros-0.6.1 \ cvt-0.1.2 \ dashmap-5.5.3 \ data-encoding-2.6.0 \ data-url-0.1.1 \ deranged-0.3.11 \ derive_more-0.99.17 \ digest-0.10.7 \ directories-5.0.1 \ dirs-sys-0.4.1 \ dtoa-1.0.9 \ dtoa-short-0.3.4 \ dunce-1.0.4 \ either-1.11.0 \ encode_unicode-0.3.6 \ encoding_rs-0.8.34 \ env_filter-0.1.0 \ env_logger-0.11.3 \ envy-0.4.2 \ equivalent-1.0.1 \ errno-0.3.8 \ fastrand-2.1.0 \ file-id-0.2.1 \ filetime-0.2.23 \ flate2-1.0.30 \ fnv-1.0.7 \ foreign-types-0.3.2 \ foreign-types-shared-0.1.1 \ form_urlencoded-1.2.1 \ fs_at-0.1.10 \ fsevent-sys-4.1.0 \ funty-2.0.0 \ futures-0.3.30 \ futures-channel-0.3.30 \ futures-core-0.3.30 \ futures-executor-0.3.30 \ futures-io-0.3.30 \ futures-macro-0.3.30 \ futures-sink-0.3.30 \ futures-task-0.3.30 \ futures-timer-3.0.3 \ futures-util-0.3.30 \ fxhash-0.2.1 \ generic-array-0.14.7 \ getrandom-0.1.16 \ getrandom-0.2.14 \ gimli-0.28.1 \ glob-0.3.1 \ h2-0.4.4 \ hashbrown-0.12.3 \ hashbrown-0.13.2 \ hashbrown-0.14.5 \ heck-0.4.1 \ heck-0.5.0 \ hermit-abi-0.3.9 \ hmac-0.12.1 \ home-0.5.9 \ htmlescape-0.3.1 \ http-1.1.0 \ http-body-1.0.0 \ http-body-util-0.1.1 \ http-range-header-0.4.0 \ httparse-1.8.0 \ httpdate-1.0.3 \ humantime-2.1.0 \ humantime-serde-1.1.1 \ hyper-1.3.1 \ hyper-rustls-0.26.0 \ hyper-tls-0.6.0 \ hyper-util-0.1.3 \ idna-0.5.0 \ indexmap-2.2.6 \ inotify-0.9.6 \ inotify-sys-0.1.5 \ inout-0.1.3 \ ipnet-2.9.0 \ is-docker-0.2.0 \ is-wsl-0.4.0 \ is_terminal_polyfill-1.70.0 \ itertools-0.10.5 \ itertools-0.12.1 \ itoa-0.4.8 \ itoa-1.0.11 \ jobserver-0.1.31 \ js-sys-0.3.69 \ kqueue-1.0.8 \ kqueue-sys-1.0.4 \ lazy_static-1.4.0 \ lazycell-1.3.0 \ libc-0.2.154 \ libdeflate-sys-1.20.0 \ libdeflater-1.20.0 \ libredox-0.1.3 \ lightningcss-1.0.0-alpha.55 \ linux-raw-sys-0.4.13 \ local-ip-address-0.6.1 \ lock_api-0.4.12 \ log-0.4.21 \ lol_html-1.2.1 \ matchers-0.1.0 \ matches-0.1.10 \ matchit-0.7.3 \ memchr-2.7.2 \ mime-0.3.17 \ mime_guess-2.0.4 \ minify-html-0.15.0 \ minify-html-common-0.0.2 \ minify-js-0.5.6 \ miniz_oxide-0.7.2 \ mio-0.8.11 \ native-tls-0.2.11 \ neli-0.6.4 \ neli-proc-macros-0.1.3 \ nix-0.26.4 \ nodrop-0.1.14 \ normpath-1.2.0 \ notify-6.1.1 \ notify-debouncer-full-0.3.1 \ nu-ansi-term-0.46.0 \ num-conv-0.1.0 \ num-traits-0.2.18 \ num_cpus-1.16.0 \ object-0.32.2 \ once_cell-1.19.0 \ open-5.1.2 \ openssl-0.10.64 \ openssl-macros-0.1.1 \ openssl-probe-0.1.5 \ openssl-sys-0.9.102 \ option-ext-0.2.0 \ outref-0.1.0 \ overload-0.1.1 \ oxipng-9.1.1 \ parcel_selectors-0.26.4 \ parcel_sourcemap-2.1.1 \ parking_lot-0.12.2 \ parking_lot_core-0.9.10 \ parse-js-0.17.0 \ password-hash-0.4.2 \ paste-1.0.14 \ pathdiff-0.2.1 \ pbkdf2-0.11.0 \ percent-encoding-2.3.1 \ phf-0.8.0 \ phf-0.10.1 \ phf-0.11.2 \ phf_codegen-0.8.0 \ phf_codegen-0.10.0 \ phf_generator-0.8.0 \ phf_generator-0.10.0 \ phf_generator-0.11.2 \ phf_macros-0.8.0 \ phf_macros-0.11.2 \ phf_shared-0.8.0 \ phf_shared-0.10.0 \ phf_shared-0.11.2 \ pin-project-1.1.5 \ pin-project-internal-1.1.5 \ pin-project-lite-0.2.14 \ pin-utils-0.1.0 \ pkg-config-0.3.30 \ powerfmt-0.2.0 \ ppv-lite86-0.2.17 \ precomputed-hash-0.1.1 \ proc-macro-hack-0.5.20+deprecated \ proc-macro2-1.0.81 \ ptr_meta-0.1.4 \ ptr_meta_derive-0.1.4 \ quote-1.0.36 \ radium-0.7.0 \ rand-0.7.3 \ rand-0.8.5 \ rand_chacha-0.2.2 \ rand_chacha-0.3.1 \ rand_core-0.5.1 \ rand_core-0.6.4 \ rand_hc-0.2.0 \ rand_pcg-0.2.1 \ rayon-1.10.0 \ rayon-core-1.12.1 \ redox_syscall-0.4.1 \ redox_syscall-0.5.1 \ redox_users-0.4.5 \ regex-1.10.4 \ regex-automata-0.1.10 \ regex-automata-0.4.6 \ regex-syntax-0.6.29 \ regex-syntax-0.8.3 \ relative-path-1.9.2 \ remove_dir_all-0.8.2 \ rend-0.4.2 \ reqwest-0.12.4 \ rgb-0.8.37 \ ring-0.17.8 \ rkyv-0.7.44 \ rkyv_derive-0.7.44 \ roff-0.2.1 \ rstest-0.19.0 \ rstest_macros-0.19.0 \ rustc-demangle-0.1.23 \ rustc-hash-1.1.0 \ rustc_version-0.4.0 \ rustix-0.38.34 \ rustls-0.21.12 \ rustls-0.22.4 \ rustls-native-certs-0.7.0 \ rustls-pemfile-2.1.2 \ rustls-pki-types-1.5.0 \ rustls-webpki-0.101.7 \ rustls-webpki-0.102.3 \ rustversion-1.0.15 \ ryu-1.0.17 \ same-file-1.0.6 \ schannel-0.1.23 \ scopeguard-1.2.0 \ sct-0.7.1 \ seahash-4.1.0 \ security-framework-2.10.0 \ security-framework-sys-2.10.0 \ selectors-0.22.0 \ semver-1.0.22 \ serde-1.0.200 \ serde_derive-1.0.200 \ serde_json-1.0.116 \ serde_path_to_error-0.1.16 \ serde_spanned-0.6.5 \ serde_urlencoded-0.7.1 \ servo_arc-0.1.1 \ sha1-0.10.6 \ sha2-0.10.8 \ sharded-slab-0.1.7 \ signal-hook-registry-1.4.2 \ simd-abstraction-0.7.1 \ simd-adler32-0.3.7 \ simdutf8-0.1.4 \ siphasher-0.3.11 \ slab-0.4.9 \ smallvec-1.13.2 \ socket2-0.5.7 \ spin-0.9.8 \ stable_deref_trait-1.2.0 \ strsim-0.11.1 \ strum-0.26.2 \ strum_macros-0.26.2 \ subtle-2.5.0 \ syn-1.0.109 \ syn-2.0.60 \ sync_wrapper-0.1.2 \ sync_wrapper-1.0.1 \ tap-1.0.1 \ tar-0.4.40 \ tempfile-3.10.1 \ terminal_size-0.3.0 \ thin-slice-0.1.1 \ thiserror-1.0.59 \ thiserror-impl-1.0.59 \ thread_local-1.1.8 \ time-0.3.36 \ time-core-0.1.2 \ time-macros-0.2.18 \ tinyvec-1.6.0 \ tinyvec_macros-0.1.1 \ tokio-1.37.0 \ tokio-macros-2.2.0 \ tokio-native-tls-0.3.1 \ tokio-openssl-0.6.4 \ tokio-rustls-0.24.1 \ tokio-rustls-0.25.0 \ tokio-stream-0.1.15 \ tokio-tungstenite-0.21.0 \ tokio-util-0.7.10 \ toml-0.7.8 \ toml-0.8.12 \ toml_datetime-0.6.5 \ toml_edit-0.19.15 \ toml_edit-0.22.12 \ tower-0.4.13 \ tower-http-0.5.2 \ tower-layer-0.3.2 \ tower-service-0.3.2 \ tracing-0.1.40 \ tracing-attributes-0.1.27 \ tracing-core-0.1.32 \ tracing-log-0.2.0 \ tracing-subscriber-0.3.18 \ try-lock-0.2.5 \ tungstenite-0.21.0 \ typed-arena-2.0.2 \ typenum-1.17.0 \ unicase-2.7.0 \ unicode-bidi-0.3.15 \ unicode-ident-1.0.12 \ unicode-normalization-0.1.23 \ unicode-width-0.1.12 \ untrusted-0.9.0 \ url-2.5.0 \ utf-8-0.7.6 \ utf8parse-0.2.1 \ uuid-1.8.0 \ valuable-0.1.0 \ vcpkg-0.2.15 \ version_check-0.9.4 \ 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 \ wasm-streams-0.4.0 \ web-sys-0.3.69 \ webpki-roots-0.26.1 \ which-6.0.1 \ winapi-0.3.9 \ winapi-i686-pc-windows-gnu-0.4.0 \ winapi-util-0.1.8 \ winapi-x86_64-pc-windows-gnu-0.4.0 \ windows-sys-0.45.0 \ windows-sys-0.48.0 \ windows-sys-0.52.0 \ windows-targets-0.42.2 \ windows-targets-0.48.5 \ windows-targets-0.52.5 \ windows_aarch64_gnullvm-0.42.2 \ windows_aarch64_gnullvm-0.48.5 \ windows_aarch64_gnullvm-0.52.5 \ windows_aarch64_msvc-0.42.2 \ windows_aarch64_msvc-0.48.5 \ windows_aarch64_msvc-0.52.5 \ windows_i686_gnu-0.42.2 \ windows_i686_gnu-0.48.5 \ windows_i686_gnu-0.52.5 \ windows_i686_gnullvm-0.52.5 \ windows_i686_msvc-0.42.2 \ windows_i686_msvc-0.48.5 \ windows_i686_msvc-0.52.5 \ windows_x86_64_gnu-0.42.2 \ windows_x86_64_gnu-0.48.5 \ windows_x86_64_gnu-0.52.5 \ windows_x86_64_gnullvm-0.42.2 \ windows_x86_64_gnullvm-0.48.5 \ windows_x86_64_gnullvm-0.52.5 \ windows_x86_64_msvc-0.42.2 \ windows_x86_64_msvc-0.48.5 \ windows_x86_64_msvc-0.52.5 \ winnow-0.5.40 \ winnow-0.6.7 \ winreg-0.52.0 \ winsafe-0.0.19 \ wyz-0.5.1 \ xattr-1.3.1 \ zerocopy-0.7.32 \ zerocopy-derive-0.7.32 \ zeroize-1.7.0 \ zip-0.6.6 \ zopfli-0.8.0 \ zstd-0.11.2+zstd.1.5.2 \ zstd-safe-5.0.2+zstd.1.5.2 \ zstd-sys-2.0.10+zstd.1.5.6 OPENSSLINC= /usr/include OPENSSLLIB= /usr/lib PLIST_FILES= bin/${PORTNAME} post-install: @${STRIP_CMD} ${STAGEDIR}${PREFIX}/bin/${PORTNAME} .include