Skip to content

Commit

Permalink
move crates to crates dir
Browse files Browse the repository at this point in the history
  • Loading branch information
kayhhh committed Mar 19, 2024
1 parent 3dd1ac3 commit 25658af
Show file tree
Hide file tree
Showing 96 changed files with 13 additions and 11 deletions.
8 changes: 4 additions & 4 deletions Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,16 +1,16 @@
[workspace]
resolver = "2"
members = ["bevy_gltf_kun", "bevy_example", "gltf_kun"]
members = ["crates/*"]

[workspace.package]
version = "0.0.11"
license = "MIT OR Apache-2.0"
repository = "https://github.com/unavi-xyz/gltf_kun"
edition = "2021"
repository = "https://github.com/unavi-xyz/gltf_kun"
license = "MIT OR Apache-2.0"

[workspace.dependencies]
glam = "0.25.0"
gltf_kun = { path = "gltf_kun", version = "0.0.11" }
gltf_kun = { path = "crates/gltf_kun", version = "0.0.11" }
petgraph = { version = "0.6.4", default-features = false, features = ["stable_graph"] }
serde_json = "1.0.110"
thiserror = "1.0.58"
Expand Down
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
1 change: 1 addition & 0 deletions crates/gltf_kun/README.md
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
2 changes: 1 addition & 1 deletion gltf_kun/tests/glb.rs → crates/gltf_kun/tests/glb.rs
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ use gltf_kun::{
};
use tracing_test::traced_test;

const ASSETS_DIR: &str = "../assets";
const ASSETS_DIR: &str = "../../assets";
const CARGO_MANIFEST_DIR: &str = env!("CARGO_MANIFEST_DIR");
const MODEL: &str = "BoxTextured.glb";

Expand Down
2 changes: 1 addition & 1 deletion gltf_kun/tests/gltf.rs → crates/gltf_kun/tests/gltf.rs
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ use gltf_kun::{
use tracing::debug;
use tracing_test::traced_test;

const ASSETS_DIR: &str = "../assets";
const ASSETS_DIR: &str = "../../assets";
const CARGO_MANIFEST_DIR: &str = env!("CARGO_MANIFEST_DIR");
const MODEL: &str = "BoxTextured/BoxTextured.gltf";

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ use gltf_kun::{
};
use tracing_test::traced_test;

const ASSETS_DIR: &str = "../assets";
const ASSETS_DIR: &str = "../../assets";
const CARGO_MANIFEST_DIR: &str = env!("CARGO_MANIFEST_DIR");
const MODEL: &str = "DynamicBox.gltf";

Expand Down
8 changes: 5 additions & 3 deletions flake.nix
Original file line number Diff line number Diff line change
Expand Up @@ -122,9 +122,11 @@
apps = {
generate-readme = flake-utils.lib.mkApp {
drv = pkgs.writeShellScriptBin "generate-readme" ''
cd bevy_gltf_kun && cargo rdme
cd ..
cd gltf_kun && cargo rdme
cd crates
for folder in */; do
(cd $folder && cargo rdme)
done
'';
};
};
Expand Down
1 change: 0 additions & 1 deletion gltf_kun/README.md

This file was deleted.

0 comments on commit 25658af

Please sign in to comment.