Add minimal README.md files to published crates.

This will put descriptions on the packages' crates.io pages.
This commit is contained in:
Dan Gohman
2018-02-21 19:52:54 -08:00
parent 8e6e976e68
commit c7655c4928
11 changed files with 23 additions and 2 deletions

View File

@@ -7,6 +7,7 @@ license = "Apache-2.0"
documentation = "https://cretonne.readthedocs.io/"
repository = "https://github.com/stoklund/cretonne"
publish = false
readme = "README.md"
[lib]
name = "cton_frontend"

5
lib/frontend/README.md Normal file
View File

@@ -0,0 +1,5 @@
This crate provides a straightforward way to create a
[Cretonne](https://crates.io/crates/cretonne) IL function and fill it with
instructions translated from another language. It contains an SSA construction
module that provides convenient methods for translating non-SSA variables into
SSA Cretonne IL values via `use_var` and `def_var` calls.

View File

@@ -1,7 +1,7 @@
//! Cretonne IL builder library.
//!
//! Provides a straightforward way to create a Cretonne IL function and fill it with instructions
//! translated from another language. Contains a SSA construction module that lets you translate
//! translated from another language. Contains an SSA construction module that lets you translate
//! your non-SSA variables into SSA Cretonne IL values via `use_var` and `def_var` calls.
//!
//! To get started, create an [`IlBuilder`](struct.ILBuilder.html) and pass it as an argument