Skip to content

Commit f8792be

Browse files
author
boquanfu
committed
docs: add badges
1 parent e206fd8 commit f8792be

File tree

1 file changed

+11
-6
lines changed

1 file changed

+11
-6
lines changed

README.md

Lines changed: 11 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -2,16 +2,21 @@
22

33
CSS and layout utilities for building user interfaces.
44

5+
[![Crates.io Version](https://img.shields.io/crates/v/float-pigment?style=flat-square)](https://crates.io/crates/float-pigment)
6+
[![Build Status](https://img.shields.io/github/actions/workflow/status/wechat-miniprogram/float-pigment/rust.yml?style=flat-square)](https://github.com/wechat-miniprogram/float-pigment/actions/workflows/rust.yml)
7+
58
float-pigment is a group of low-level rust crates. It helps builds GUI applications with CSS-like technologies. These crates serve as low-level dependencies of UI frameworks.
69

710
Major crates:
811

9-
* `float-pigment-css` - CSS parser.
10-
* `float-pigment-layout` - Layout engine which supports common CSS `display`, including `flex` `block` and `inline`.
11-
* `float-pigment-forest` - Tree implementation that works with `float-pigment-layout`.
12-
* `float-pigment` - The collection of all crates above, with C++ bindings.
13-
14-
Visit [docs.rs](https://docs.rs) for docs of each module.
12+
* `float-pigment-css` [![docs.rs](https://img.shields.io/docsrs/float-pigment-css?style=flat-square)
13+
](https://docs.rs/float-pigment-css) CSS parser.
14+
* `float-pigment-layout` [![docs.rs](https://img.shields.io/docsrs/float-pigment-layout?style=flat-square)
15+
](https://docs.rs/float-pigment-layout) Layout engine which supports common CSS `display`, including `flex` `block` and `inline`.
16+
* `float-pigment-forest` [![docs.rs](https://img.shields.io/docsrs/float-pigment-forest?style=flat-square)
17+
](https://docs.rs/float-pigment-forest) Tree implementation that works with `float-pigment-layout`.
18+
* `float-pigment` [![docs.rs](https://img.shields.io/docsrs/float-pigment?style=flat-square)
19+
](https://docs.rs/float-pigment) The collection of all crates above, with C++ bindings.
1520

1621

1722
## float-pigment-css

0 commit comments

Comments
 (0)