Initial commit laying out the structure

This commit is contained in:
Simon Hausmann 2020-05-04 10:45:27 +02:00
commit c6553d007e
11 changed files with 86 additions and 0 deletions

1
.gitignore vendored Normal file
View file

@ -0,0 +1 @@
Cargo.lock

8
Cargo.toml Normal file
View file

@ -0,0 +1,8 @@
[workspace]
members = [
'sixtyfps_runtime/corelib',
'sixtyfps_runtime/rendering_backends/gl',
'sixtyfps_compiler',
'api/sixtyfps-rs',
]

View file

@ -0,0 +1,12 @@
[package]
name = "sixtyfps-rs"
version = "0.1.0"
authors = ["Simon Hausmann <hausmann@gmail.com>"]
edition = "2018"
[lib]
path = "lib.rs"
# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html
[dependencies]

7
api/sixtyfps-rs/lib.rs Normal file
View file

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

1
rustfmt.toml Normal file
View file

@ -0,0 +1 @@
use_small_heuristics = "Max"

View file

@ -0,0 +1,12 @@
[package]
name = "sixtyfps_compiler"
version = "0.1.0"
authors = ["Simon Hausmann <hausmann@gmail.com>"]
edition = "2018"
[lib]
path = "lib.rs"
# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html
[dependencies]

7
sixtyfps_compiler/lib.rs Normal file
View file

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

View file

@ -0,0 +1,12 @@
[package]
name = "corelib"
version = "0.1.0"
authors = ["Simon Hausmann <hausmann@gmail.com>"]
edition = "2018"
[lib]
path = "lib.rs"
# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html
[dependencies]

View file

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

View file

@ -0,0 +1,12 @@
[package]
name = "gl"
version = "0.1.0"
authors = ["Simon Hausmann <hausmann@gmail.com>"]
edition = "2018"
[lib]
path = "lib.rs"
# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html
[dependencies]

View file

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