zu_util/lib.rs
1// Copyright (c) 2024 Xu Shaohua <shaohua@biofan.org>. All rights reserved.
2// Use of this source is governed by Lesser General Public License
3// that can be found in the LICENSE file.
4
5//! # Zu util
6//!
7//! 
8//! [](https://crates.io/crates/zu-util)
9//! [](https://docs.rs/zu-util)
10//! 
11//! 
12//!
13//! Shared utilities for [zu](https://github.com/RustVis/zu) web component.
14//!
15//! - [Documentation](https://docs.rs/zu-util)
16//! - [Release notes](https://github.com/RustVis/zu-util/releases)
17//!
18//! ## Usage
19//! Add this to `Cargo.toml`:
20//! ```toml
21//! [dependencies]
22//! zu-util = "0.1"
23//! ```
24//!
25//! Or using `cargo add zu-util` command.
26
27#![deny(
28 warnings,
29 clippy::all,
30 clippy::cargo,
31 clippy::nursery,
32 clippy::pedantic
33)]
34#![allow(clippy::multiple_crate_versions)]
35
36#[cfg(feature = "icon")]
37pub mod icon;
38
39pub mod cmp;
40pub mod image_future;
41pub mod name;
42pub mod prop;
43pub mod scalar;