BSD Ports

devel/scnlib 4.0.1 DragonFly

scanf for modern C++

System
DragonFly
Repository
DPorts
Maintainer
[email protected] (as in FreeBSD)
License
APACHE20
Categories
devel
Package size
474.2 KiB, 2388.0 KiB installed

Description

scnlib is a modern C++ library for replacing scanf and std::istream. This library attempts to move us ever so much closer to replacing iostreams and C stdio altogether. It's faster than iostream (see Benchmarks), and type-safe, unlike scanf. Think {fmt} or C++20 std::format, but in the other direction.

This library is the reference implementation of the ISO C++ standards proposal P1729 "Text Parsing".

In the other systems

The newest version among them is 4.0.1, as upstream numbers it.

SystemPortVersionVulnerabilitiesStatusMaintainerLast update
DragonFlydevel/scnlib4.0.1 newestnone known-[email protected]-
FreeBSDdevel/scnlib4.0.1 newestnone known-[email protected]2026-08-15
OpenBSDdevel/scnlib4.0.1p0 newestno data-Johannes Thyssen Tishman <[email protected]>-
HardenedBSDdevel/scnlib4.0.1 newestno data-[email protected]-
GhostBSDdevel/scnlib4.0.1 newestno data-[email protected]-

Compare across BSDs

Version history 1

  1. 4.0.1

Upstream's version as each commit to the port's Makefile set it, or as this site first saw it in the system's packages; the tree's own revisions are not versions here.

Install

Binary package:

pkg install scnlib

From DPorts:

cd /usr/dports/devel/scnlib && make install clean

Dependency graph

Ports that need it on the left, what it needs to run on the right; at most 8 of each. "Dependencies" below lists them all.

Dependencies

Run dependencies 1

No port depends on this one.