zng/crates
Samuel Guerra 0bb2db1972 Release 0.4.0. 2024-04-26 16:49:15 -03:00
..
zng Release 0.4.0. 2024-04-26 16:49:15 -03:00
zng-app Release 0.4.0. 2024-04-26 16:49:15 -03:00
zng-app-context Release 0.4.0. 2024-04-26 16:49:15 -03:00
zng-app-proc-macros Release 0.3.4. 2024-04-20 18:32:41 -03:00
zng-clone-move Release 0.3.4. 2024-04-20 18:32:41 -03:00
zng-color Release 0.4.0. 2024-04-26 16:49:15 -03:00
zng-color-proc-macros Release 0.3.4. 2024-04-20 18:32:41 -03:00
zng-ext-clipboard Release 0.4.0. 2024-04-26 16:49:15 -03:00
zng-ext-config Release 0.4.0. 2024-04-26 16:49:15 -03:00
zng-ext-font Release 0.4.0. 2024-04-26 16:49:15 -03:00
zng-ext-fs-watcher Release 0.4.0. 2024-04-26 16:49:15 -03:00
zng-ext-image Release 0.4.0. 2024-04-26 16:49:15 -03:00
zng-ext-input Release 0.4.0. 2024-04-26 16:49:15 -03:00
zng-ext-l10n Release 0.4.0. 2024-04-26 16:49:15 -03:00
zng-ext-l10n-proc-macros Release 0.3.4. 2024-04-20 18:32:41 -03:00
zng-ext-single-instance Release 0.4.0. 2024-04-26 16:49:15 -03:00
zng-ext-undo Release 0.4.0. 2024-04-26 16:49:15 -03:00
zng-ext-window Release 0.4.0. 2024-04-26 16:49:15 -03:00
zng-handle Release 0.3.4. 2024-04-20 18:32:41 -03:00
zng-l10n-scraper Release 0.3.4. 2024-04-20 18:32:41 -03:00
zng-layout Release 0.4.0. 2024-04-26 16:49:15 -03:00
zng-state-map Release 0.4.0. 2024-04-26 16:49:15 -03:00
zng-task Release 0.4.0. 2024-04-26 16:49:15 -03:00
zng-task-proc-macros Release 0.3.4. 2024-04-20 18:32:41 -03:00
zng-time Release 0.4.0. 2024-04-26 16:49:15 -03:00
zng-tp-licenses Release 0.4.0. 2024-04-26 16:49:15 -03:00
zng-txt Release 0.4.0. 2024-04-26 16:49:15 -03:00
zng-unique-id Release 0.4.0. 2024-04-26 16:49:15 -03:00
zng-unit Release 0.3.4. 2024-04-20 18:32:41 -03:00
zng-var Release 0.4.0. 2024-04-26 16:49:15 -03:00
zng-var-proc-macros Release 0.3.4. 2024-04-20 18:32:41 -03:00
zng-view Release 0.4.0. 2024-04-26 16:49:15 -03:00
zng-view-api Release 0.4.0. 2024-04-26 16:49:15 -03:00
zng-view-prebuilt Release 0.4.0. 2024-04-26 16:49:15 -03:00
zng-wgt Release 0.4.0. 2024-04-26 16:49:15 -03:00
zng-wgt-access Release 0.4.0. 2024-04-26 16:49:15 -03:00
zng-wgt-ansi-text Release 0.4.0. 2024-04-26 16:49:15 -03:00
zng-wgt-button Release 0.4.0. 2024-04-26 16:49:15 -03:00
zng-wgt-checkerboard Release 0.4.0. 2024-04-26 16:49:15 -03:00
zng-wgt-container Release 0.4.0. 2024-04-26 16:49:15 -03:00
zng-wgt-data Release 0.4.0. 2024-04-26 16:49:15 -03:00
zng-wgt-data-view Release 0.4.0. 2024-04-26 16:49:15 -03:00
zng-wgt-fill Release 0.4.0. 2024-04-26 16:49:15 -03:00
zng-wgt-filter Release 0.4.0. 2024-04-26 16:49:15 -03:00
zng-wgt-grid Release 0.4.0. 2024-04-26 16:49:15 -03:00
zng-wgt-image Release 0.4.0. 2024-04-26 16:49:15 -03:00
zng-wgt-input Release 0.4.0. 2024-04-26 16:49:15 -03:00
zng-wgt-inspector Release 0.4.0. 2024-04-26 16:49:15 -03:00
zng-wgt-layer Release 0.4.0. 2024-04-26 16:49:15 -03:00
zng-wgt-markdown Release 0.4.0. 2024-04-26 16:49:15 -03:00
zng-wgt-material-icons Release 0.4.0. 2024-04-26 16:49:15 -03:00
zng-wgt-menu Release 0.4.0. 2024-04-26 16:49:15 -03:00
zng-wgt-panel Release 0.4.0. 2024-04-26 16:49:15 -03:00
zng-wgt-rule-line Release 0.4.0. 2024-04-26 16:49:15 -03:00
zng-wgt-scroll Release 0.4.0. 2024-04-26 16:49:15 -03:00
zng-wgt-size-offset Release 0.4.0. 2024-04-26 16:49:15 -03:00
zng-wgt-stack Release 0.4.0. 2024-04-26 16:49:15 -03:00
zng-wgt-style Release 0.4.0. 2024-04-26 16:49:15 -03:00
zng-wgt-text Release 0.4.0. 2024-04-26 16:49:15 -03:00
zng-wgt-text-input Release 0.4.0. 2024-04-26 16:49:15 -03:00
zng-wgt-toggle Release 0.4.0. 2024-04-26 16:49:15 -03:00
zng-wgt-tooltip Release 0.4.0. 2024-04-26 16:49:15 -03:00
zng-wgt-transform Release 0.4.0. 2024-04-26 16:49:15 -03:00
zng-wgt-undo Release 0.4.0. 2024-04-26 16:49:15 -03:00
zng-wgt-undo-history Release 0.4.0. 2024-04-26 16:49:15 -03:00
zng-wgt-webrender-debug Release 0.4.0. 2024-04-26 16:49:15 -03:00
zng-wgt-window Release 0.4.0. 2024-04-26 16:49:15 -03:00
zng-wgt-wrap Release 0.4.0. 2024-04-26 16:49:15 -03:00
README.md Add `zng-ext-single-instance`. (#127) 2024-04-22 18:41:24 -03:00

README.md

Crates

This directory contains all the crates that are published and developed by the Zng project.

The main crate is zng, it re-exports the main API of the other crates in well documented and organized modules.

All other crates have the name prefix zng-.

Proc-macro crates are named after their single dependant crate, with the -proc-macros suffix. The dependant crate provides the documentation, it re-exports or wraps the proc-macros in declarative macros.

Foundation

Foundation crates define primitive types and utilities, they are used by all other crates.

  • zng-unique-id
  • zng-clone-move
  • zng-handle
  • zng-txt
  • zng-unit
  • zng-state-map
  • zng-app-context
  • zng-layout
  • zng-var
    • zng-var-proc-macros
  • zng-task
    • zng-task-proc-macros
  • zng-color
    • zng-color-proc-macros
  • zng-time
  • zng-tp-licenses

View

View-process API and implementation crates. They are named with prefix zng-view.

The "view-process" is a platform adapter plus a renderer, it usually runs in a separate process, communicating over IPC with the app-process.

Currently all platforms (Linux, Windows and MacOS) are implemented in the zng-view crate. If a future platform cannot integrate with this crate it will be named zng-view-#platform.

  • zng-view-api
  • zng-view
    • zng-view-prebuilt

App

Core app-process implementation. Defines the main loop, events, app-extensions API. Connects with any external view-process and converts IPC events into RAW_*_EVENT events.

  • zng-app
    • zng-app-proc-macros

App Extensions

Most of the app services and events are implemented as app extensions. Extension crates are named with prefix zng-ext-.

  • zng-ext-input
  • zng-ext-font
  • zng-ext-fs-watcher
  • zng-ext-config
  • zng-ext-l10n
    • zng-ext-l10n-proc-macros
  • zng-ext-image
  • zng-ext-clipboard
  • zng-ext-window
  • zng-ext-undo
  • zng-ext-single-instance

Widget

Widget and property declarations. Widget crates are named with prefix zng-wgt-. These crates are not fully re-exported by the main crate, this difference between the main and full API provide a kind of internal visibility, providing extra nodes and context values that can be useful for derived widgets or for custom properties that deeply integrate with a widget.

  • zng-wgt
  • zng-wgt-style
  • zng-wgt-input
  • zng-wgt-access
  • zng-wgt-transform
  • zng-wgt-window
  • zng-wgt-data
  • zng-wgt-filter
  • zng-wgt-inspector
  • zng-wgt-size-offset
  • zng-wgt-container
  • zng-wgt-undo
  • zng-wgt-data-view
  • zng-wgt-fill
  • zng-wgt-checkerboard
  • zng-wgt-layer
  • zng-wgt-undo-history
  • zng-wgt-image
  • zng-wgt-text
  • zng-wgt-text-input
  • zng-wgt-button
  • zng-wgt-stack
  • zng-wgt-panel
  • zng-wgt-grid
  • zng-wgt-wrap
  • zng-wgt-rule-line
  • zng-wgt-toggle
  • zng-wgt-menu
  • zng-wgt-scroll
  • zng-wgt-ansi-text
  • zng-wgt-tooltip
  • zng-wgt-markdown
  • zng-wgt-material-icons
  • zng-wgt-webrender-debug

Tools

Tools that can be installed by cargo for use in Zng apps.

  • zng-l10n-scraper

Webrender

The Zng also publishes a fork of servo/webrender called zng-ui/zng-webrender. The fork code has minimal modification, the crates uses by the Zng project are renamed with the zng- prefix and some Mozilla specific dependencies are removed.