JFLib
ES

Esta página aún no está traducida y se muestra en inglés.

Release

JFLib 0.2.2

0.2.2 is the largest release so far. Sixteen crates join the library, and all of them still come through the one dependency jflib.

Files of other programs

  • PDF: pdf writes vector documents with text, links and bookmarks. It also opens existing files, shows their pages, fills in their forms and saves the change.
  • Tables: sheet_io reads and writes Excel workbooks and CSV files as typed rows.
  • Drawings: dxf reads DXF files from R12 to 2018, and diagram_io reads and writes Visio's files.
  • Pictures: img_jp2 and img_jbig2 read JPEG 2000 and JBIG2, as PDF files use them.
  • Text formats: formats holds JSON, XML and text encodings, with limits for files from strangers.

Drawing and editing

ui.shape_edit lets people move, resize, turn and connect shapes on a canvas, and ui.ruler adds the rulers around it. The 2D renderer for CAD now also draws without a GPU and takes DXF drawings. Touchpads scroll by the pixel, and the mouse wheel by as many lines as the system says.

Building blocks for games

game, physics, geom and netchan bring entities with a fixed tick, rigid bodies, modelling and multiplayer, on top of the 3D engine. Game pads and the pointer lock are there too. These crates are young, and their API may still change.

Network

TLS resumes sessions, staples OCSP responses and takes the post-quantum key exchange X25519MLKEM768. New are WebSocket, certificates from Let's Encrypt and other ACME authorities, DNS over TLS and HTTPS, DNSSEC and DANE.

Android

Threads, the network, files, printing and the system's fonts work as on the desktop. jfWord runs on it now.

Before you update

0.2.2 breaks parts of the API although its number does not say so. Programs that use TLS, certificates or DNS records directly may need changes. The README of jflib names them, and jflib = "=0.2.1" stays on the release before.

cargo install cargo-jflib     # the tool
cargo update                  # your app, when it asks for jflib "0.2"

Everything else is in the changelog, and every feature has a place on the features page.

Todas las novedades