Browse Source

Move citro3d-sys to workspace sub-crate

pull/18/head
Ian Chamberlain 3 years ago
parent
commit
2867b74b28
No known key found for this signature in database
GPG Key ID: AE5484D09405AA60
  1. 15
      .gitignore
  2. 11
      Cargo.toml
  3. 9
      citro3d-sys/Cargo.toml
  4. 0
      citro3d-sys/bindgen.sh
  5. 0
      citro3d-sys/build.rs
  6. 0
      citro3d-sys/src/base.rs
  7. 0
      citro3d-sys/src/bindings.rs
  8. 0
      citro3d-sys/src/lib.rs
  9. 0
      citro3d-sys/src/texenv.rs
  10. 0
      citro3d-sys/src/uniforms.rs

15
.gitignore vendored

@ -1,5 +1,18 @@ @@ -1,5 +1,18 @@
target
# Generated by Cargo
# will have compiled files and executables
debug/
target/
# Remove Cargo.lock from gitignore if creating an executable, leave it for libraries
# More information here https://doc.rust-lang.org/cargo/guide/cargo-toml-vs-cargo-lock.html
Cargo.lock
# These are backup files generated by rustfmt
**/*.rs.bk
# MSVC Windows builds of rustc generate these, which store debugging information
*.pdb
# Can be used for local development to set a custom toolchain
rust-toolchain
rust-toolchain.toml

11
Cargo.toml

@ -1,9 +1,2 @@ @@ -1,9 +1,2 @@
[package]
name = "citro3d-sys"
version = "0.1.0"
authors = ["panicbit <panicbit.dev@gmail.com>"]
edition = "2021"
[dependencies]
libc = "0.2.116"
ctru-sys = { path = "../ctru-rs/ctru-sys" }
[workspace]
members = ["citro3d-sys"]

9
citro3d-sys/Cargo.toml

@ -0,0 +1,9 @@ @@ -0,0 +1,9 @@
[package]
name = "citro3d-sys"
version = "0.1.0"
authors = ["panicbit <panicbit.dev@gmail.com>"] # TODO update author?
edition = "2021"
[dependencies]
libc = "0.2.116"
ctru-sys = { path = "../../ctru-rs/ctru-sys" }

0
bindgen.sh → citro3d-sys/bindgen.sh

0
build.rs → citro3d-sys/build.rs

0
src/base.rs → citro3d-sys/src/base.rs

0
src/bindings.rs → citro3d-sys/src/bindings.rs

0
src/lib.rs → citro3d-sys/src/lib.rs

0
src/texenv.rs → citro3d-sys/src/texenv.rs

0
src/uniforms.rs → citro3d-sys/src/uniforms.rs

Loading…
Cancel
Save