BSD Ports

www/trunk 0.22.0 FreeBSD

Build, bundle & ship your Rust WASM application to the web

System
FreeBSD
Repository
FreeBSD ports
Maintainer
[email protected]
Last update
Commit
cbc62c2352
License
APACHE20, MIT
Categories
www, devel
Package size
5572.1 KiB, 30349.7 KiB installed

Description

Trunk is a WASM web application bundler for Rust. Trunk uses a simple, optional-config pattern for building & bundling WASM, JS snippets & other assets (images, css, scss) via a source HTML file.

Trunk ships with a built-in server for rapid development workflows, as well as support for HTTP & WebSocket proxies.

Trunk watches your application for changes and triggers builds for you, including automatic browser reloading.

Install

Binary package:

pkg install trunk

From the ports tree:

cd /usr/ports/www/trunk/ && make install clean

To depend on this port in another port's Makefile:

RUN_DEPENDS=	trunk>0:www/trunk

Packages

The version each package repository carries. “-” means the repository builds no package of it, “n/a” that there is no such repository.

Repositoryaarch64amd64armv6armv7i386
FreeBSD:14:latest0.21.14_130.21.14_14-0.21.14_20.21.14_14
FreeBSD:14:quarterly0.21.14_120.21.14_12n/a0.21.14_10.21.14_12
FreeBSD:15:latest0.21.14_140.21.14_14n/a0.21.14_20.21.14_2
FreeBSD:15:quarterly0.21.14_120.21.14_12n/an/an/a
FreeBSD:16:latest0.21.14_120.21.14_14n/an/an/a
FreeBSD:16:quarterlyn/an/an/an/an/a

Dependencies

As this port's Makefile names them.

Library 1

The full lists below include those, and their dependencies in turn.

Build dependencies 19
Run dependencies 2

No port depends on this one.

Configuration

No options to configure.

USES
cargo
Service scripts
none

Files

distinfo 592
FileSizeSHA256
rust/crates/adler2-2.0.1.crate13366320119579fcad9c21884f5c4861d16174d0e06250625266f50fe6898340abefa
rust/crates/aes-0.9.3.crate11240835f0f96ce78e38c3dc6d8948aa8163d06385be74000f3c7a95bf1eef35d3ea32
rust/crates/ahash-0.7.8.crate38550891477e0c6a8957309ee5c45a6368af3ae14bb510732d2684ffa19af310920f9
rust/crates/ahash-0.8.12.crate434135a15f179cd60c4584b8a8c596927aadc462e27f2ca70c04e0071964a73ba7a75
rust/crates/aho-corasick-1.1.5.crate184315c982642fa9e8606056828ee9a8505737230110bb1099153c79efe865c59d12ba
rust/crates/allocator-api2-0.2.21.crate63622683d7910e743518b0e34f1186f92494becacb047c7b6bf616c96772180fef923
rust/crates/anstream-1.0.0.crate28916824a212faf96e9acacdbd09febd34438f8f711fb84e09a8916013cd7815ca28d
rust/crates/anstyle-1.0.14.crate17787940b3a0ca603d1eade50a4846a2afffd5ef57a9feac2c0e2ec2e14f9ead76000
rust/crates/anstyle-parse-1.0.0.crate2204252ce7f38b242319f7cabaa6813055467063ecdc9d355bbb4ce0c68908cd8130e
rust/crates/anstyle-query-1.1.5.crate1026440c48f72fd53cd289104fc64099abca73db4166ad86ea0b4341abe65af83dadc
rust/crates/anstyle-wincon-3.0.11.crate12638291e6a250ff86cd4a820112fb8898808a366d8f9f58ce16d1f538353ad55747d
rust/crates/anyhow-1.0.104.crate48819330a5ed07fa54e4702c9d6c4174f74427fc0ef6e214bbd677ae50a5099946470
rust/crates/ar_archive_writer-0.5.3.crate8548273cd58deff2140a0a8eae87e417bd01db68a33e148aa93d1e8cd837e55e312b6
rust/crates/arc-swap-1.9.3.crate81984380962b3d93b99642e50b9febf72c071e97e8b32d86eae9cf4ef582bb960ae6e
rust/crates/arrayvec-0.7.8.crate33260d3fb67a6e08acf24fdeccbac2cb6ac4305825bd1f117462e0e6f2f193345ad56
rust/crates/ascii-1.1.0.crate36075d92bec98840b8f03a5ff5413de5293bfcd8bf96467cf5452609f939ec6f5de16
rust/crates/ast_node-7.0.0.crate12167edf54a7a1bf98e127c22e9e2b9d19619092c74283fdc14e4d67da69780f90db6
rust/crates/async-compression-0.4.51.crate1111879d5755640120b24961f8231e05892e4a4f7e0d04e8aeca161508c9c397946970
rust/crates/async-tar-0.6.1.crate57284f6affe71e5b6180fb5eaf9e8127a243694baf6ae1120c199227167302f56c14b
rust/crates/async-trait-0.1.92.crate3203982f6aeea286b8eb4dd3431a1be1b59d290ace00f5bfd8e2a159bc2a05e2c1667

Commit history 5

DateCommitCreditsLog message
cbc62c2352 Yuri Victorovich www/trunk: update 0.21.14 → 0.22.0
9c878207a1 Mikael Urankar lang/rust: Bump revisions after 1.99.0
PR: 299016
396c159306 Alan Somers */*: Fix many Rust ports to run without COMPAT11
RISCV does not include COMPAT11 by default. But Rust's libc bound the compat-11 symbols until version 0.2.176. Patch a great many Rust ports to use a newer version of libc, to eliminate the dependency on COMPAT11. Explicitly patching Cargo.lock isn't usually necessarily, since within the build jail cargo is forced to use whichever crates Makefile.crates installs there. Notes on specific ports: * textproc/bookokrat: Rework bookokrat's existing patch to be more robust. Also, report the issue upstream: https://github.com/bugzmanov/bookokrat/issues/182 * security/sequoia-chameleon-gnupg security/sequoia-sq "cargo update -p libc" insisted on updating some other crates, too. * devel/cargo-generate finance/tickrs net-im/gurk-rs net-p2p/oura textproc/mdbook-linkcheck www/lychee …
7316461925 Mikael Urankar lang/rust: Bump revisions after 1.98.1
PR: 298139
9c892d2601 Mikael Urankar lang/rust: Bump revisions after 1.97.1
PR: 296645