Add some scaffolding for building more crates.

The src/tools directory contains the cretonne-tools crate which will build
binaries for testing cretonne.

The src/libctonfile directory contains the ctonfile library crate which
provides reading and writing of .cton files.
This commit is contained in:
Jakob Stoklund Olesen
2016-04-08 11:22:30 -07:00
parent 49ae98a1e9
commit 4f40a2ae79
8 changed files with 69 additions and 1 deletions

19
src/tools/Cargo.lock generated Normal file
View File

@@ -0,0 +1,19 @@
[root]
name = "cretonne-tools"
version = "0.0.0"
dependencies = [
"cretonne 0.0.0",
"ctonfile 0.0.0",
]
[[package]]
name = "cretonne"
version = "0.0.0"
[[package]]
name = "ctonfile"
version = "0.0.0"
dependencies = [
"cretonne 0.0.0",
]

14
src/tools/Cargo.toml Normal file
View File

@@ -0,0 +1,14 @@
[package]
authors = ["The Cretonne Project Developers"]
name = "cretonne-tools"
version = "0.0.0"
description = "Binaries for testing the Cretonne library"
publish = false
[[bin]]
name = "cretonne"
path = "main.rs"
[dependencies]
cretonne = { path = "../libcretonne" }
ctonfile = { path = "../libctonfile" }

5
src/tools/main.rs Normal file
View File

@@ -0,0 +1,5 @@
extern crate cretonne;
extern crate ctonfile;
fn main() {}