Start initial layout for justcheckers project as cargo workspace.

This commit is contained in:
Dorian 2019-02-28 08:39:27 -05:00
parent d152eb52d7
commit 3023f51e13
6 changed files with 29 additions and 3 deletions

6
.gitignore vendored
View File

@ -17,8 +17,6 @@
*.qm *.qm
.#* .#*
*.*# *.*#
core
!core/
tags tags
.DS_Store .DS_Store
.directory .directory
@ -73,7 +71,6 @@ Thumbs.db
# Original kivy ignored # Original kivy ignored
bin bin
src
.DS_Store .DS_Store
.idea .idea
.buildozer .buildozer
@ -81,3 +78,6 @@ src
*.pyc *.pyc
docs/_build docs/_build
justcheckers.ini justcheckers.ini
/target
**/*.rs.bk

4
Cargo.lock generated Normal file
View File

@ -0,0 +1,4 @@
[[package]]
name = "justcheckers-engine"
version = "0.6.0"

5
Cargo.toml Normal file
View File

@ -0,0 +1,5 @@
[workspace]
members = [
"engine",
]

7
engine/Cargo.toml Normal file
View File

@ -0,0 +1,7 @@
[package]
name = "justcheckers-engine"
version = "0.6.0"
authors = ["Dorian Pula <dorian.pula@amber-penguin-software.ca>"]
edition = "2018"
[dependencies]

7
engine/src/lib.rs Normal file
View File

@ -0,0 +1,7 @@
#[cfg(test)]
mod tests {
#[test]
fn it_works() {
assert_eq!(2 + 2, 4);
}
}

3
src/main.rs Normal file
View File

@ -0,0 +1,3 @@
fn main() {
println!("Hello, world!");
}