BSD Ports

misc/rustlings 6.5.0_10 FreeBSD

Small exercises to get you used to reading and writing Rust code

System
FreeBSD
Repository
FreeBSD ports
Maintainer
[email protected]
Last update
Commit
9c878207a1
License
MIT
Categories
misc
Package size
593.5 KiB, 1761.8 KiB installed

Description

Rustlings is an interactive corpus of bite-sized exercises to get you used to reading and writing Rust code. Written and maintained by the Rust community, it is a companion app to the official Rust book (https://doc.rust-lang.org/book).

Install

Binary package:

pkg install rustlings

From the ports tree:

cd /usr/ports/misc/rustlings/ && make install clean

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

RUN_DEPENDS=	rustlings>0:misc/rustlings

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:latest6.5.0_96.5.0_10--6.5.0_10
FreeBSD:14:quarterly6.5.0_86.5.0_8n/a-6.5.0_8
FreeBSD:15:latest6.5.0_106.5.0_10n/a--
FreeBSD:15:quarterly6.5.0_86.5.0_8n/an/an/a
FreeBSD:16:latest6.5.0_86.5.0_10n/an/an/a
FreeBSD:16:quarterlyn/an/an/an/an/a

Dependencies

The Makefile names none itself; they come from USES and USE_*.

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

Build dependencies 11

No port depends on this one.

Configuration

No options to configure.

USES
cargo
Service scripts
none

Message after installing

===========================================================

    Before running `rustlings` for the first time, you need to initialize the
    directory structure and prepare the exercises. To do that, run:

        $ cd /a/good/plate/for/exercises
        $ rustlings init

        $ cd rustlings
        $ rustlings

    For more information, visit the Rustlings website:
        https://rustlings.rust-lang.org/

===========================================================

Files

distinfo 101
FileSizeSHA256
rust/crates/anstream-0.6.20.crate287973ae563653d1938f79b1ab1b5e668c87c76a9930414574a6583a7b7e11a8e6192
rust/crates/anstyle-1.0.11.crate15880862ed96ca487e809f1c8e5a8447f6ee2cf102f846893800b20cebdf541fc6bbd
rust/crates/anstyle-parse-0.2.7.crate217074e7644824f0aa2c7b9384579234ef10eb7efb6a0deb83f9630a49594dd9c15c2
rust/crates/anstyle-query-1.1.4.crate101929e231f6134f61b71076a3eab506c379d4f36122f2af15a9ff04415ea4c3339e2
rust/crates/anstyle-wincon-3.0.10.crate125583e0633414522a32ffaac8ac6cc8f748e090c5717661fddeea04219e2344f5f2a
rust/crates/anyhow-1.0.99.crate53809b0674a1ddeecb70197781e945de4b3b8ffb61fa939a5597bcf48503737663100
rust/crates/autocfg-1.5.0.crate18729c08606f8c3cbf4ce6ec8e28fb0014a2c086708fe954eaa885384a6165172e7e8
rust/crates/bitflags-1.3.2.crate23021bef38d45163c2f1dde094a7dfd33ccf595c92905c8f8f4fdc18d06fb1037718a
rust/crates/bitflags-2.9.2.crate479776a65b545ab31d687cff52899d4890855fec459eb6afe0da6417b8a18da87aa29
rust/crates/cfg-if-1.0.3.crate87192fd1289c04a9ea8cb22300a459a72a385d7c73d3259e2ed7dcb2af674838cfa9
rust/crates/clap-4.5.45.crate583371fc0e74a703892159f5ae7d3aac52c8e6c392f5ae5f359c70b5881d60aaac318
rust/crates/clap_builder-4.5.44.crate169799b3e7f4214277f3c7aa526a59dd3fbe306a370daee1f8b7b8c987069cd8e888a8
rust/crates/clap_derive-4.5.45.crate3354514cb31bb0a7d536caef2639baa7fad459e15c3144efefa6dbd1c84562c4739f6
rust/crates/clap_lex-0.7.5.crate13469b94f61472cee1439c0b966b47e3aca9ae07e45d070759512cd390ea2bebc6675
rust/crates/colorchoice-1.0.4.crate8196b05b61dc5112cbb17e4b6cd61790d9845d13888356391624cbe7e41efeac1e75
rust/crates/crossterm-0.29.0.crate136635d8b9f2e4c67f833b660cdb0a3523065869fb35570177239812ed4c905aeff87b
rust/crates/crossterm_winapi-0.9.1.crate16027acdd7c62a3665c7f6830a51635d9ac9b23ed385797f70a83bb8bafe9c572ab2b
rust/crates/document-features-0.2.11.crate1464095249b50c6c185bee49034bcb378a49dc2b5dff0be90ff6616d31d64febab05d
rust/crates/equivalent-1.0.2.crate7419877a4ace8713b0bcf2a4e7eec82529c029f1d0619886d18145fea96c3ffe5c0f
rust/crates/errno-0.3.13.crate12449778e2ac28f6c47af28e4907f13ffd1e1ddbd400980a9abd7c8df189bf578a5ad

Commit history 4

DateCommitCreditsLog message
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