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:
19
src/tools/Cargo.lock
generated
Normal file
19
src/tools/Cargo.lock
generated
Normal 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
14
src/tools/Cargo.toml
Normal 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
5
src/tools/main.rs
Normal file
@@ -0,0 +1,5 @@
|
||||
|
||||
extern crate cretonne;
|
||||
extern crate ctonfile;
|
||||
|
||||
fn main() {}
|
||||
Reference in New Issue
Block a user