├── .envrc ├── .github └── workflows │ ├── lint.yml │ └── test.yml ├── .gitignore ├── .justfile ├── Cargo.lock ├── Cargo.toml ├── LICENSE ├── README.md ├── benches ├── pos_vel.rs └── simple.rs ├── examples ├── blogpost.rs ├── full.rs ├── generics.rs └── mutations.rs ├── flake.lock ├── flake.nix ├── src ├── archetype │ ├── iter.rs │ └── mod.rs ├── lib.rs └── storage │ ├── arena.rs │ ├── hashstorage.rs │ ├── index.rs │ ├── mod.rs │ └── vec.rs └── stecs-derive ├── Cargo.toml └── src ├── get ├── derive.rs ├── mod.rs ├── parse.rs └── types.rs ├── lib.rs ├── optic.rs ├── query.rs └── split.rs /.envrc: -------------------------------------------------------------------------------- 1 | use flake 2 | -------------------------------------------------------------------------------- /.github/workflows/lint.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Nertsal/stecs/HEAD/.github/workflows/lint.yml -------------------------------------------------------------------------------- /.github/workflows/test.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Nertsal/stecs/HEAD/.github/workflows/test.yml -------------------------------------------------------------------------------- /.gitignore: -------------------------------------------------------------------------------- 1 | /target 2 | /.direnv 3 | -------------------------------------------------------------------------------- /.justfile: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Nertsal/stecs/HEAD/.justfile -------------------------------------------------------------------------------- /Cargo.lock: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Nertsal/stecs/HEAD/Cargo.lock -------------------------------------------------------------------------------- /Cargo.toml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Nertsal/stecs/HEAD/Cargo.toml -------------------------------------------------------------------------------- /LICENSE: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Nertsal/stecs/HEAD/LICENSE -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Nertsal/stecs/HEAD/README.md -------------------------------------------------------------------------------- /benches/pos_vel.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Nertsal/stecs/HEAD/benches/pos_vel.rs -------------------------------------------------------------------------------- /benches/simple.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Nertsal/stecs/HEAD/benches/simple.rs -------------------------------------------------------------------------------- /examples/blogpost.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Nertsal/stecs/HEAD/examples/blogpost.rs -------------------------------------------------------------------------------- /examples/full.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Nertsal/stecs/HEAD/examples/full.rs -------------------------------------------------------------------------------- /examples/generics.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Nertsal/stecs/HEAD/examples/generics.rs -------------------------------------------------------------------------------- /examples/mutations.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Nertsal/stecs/HEAD/examples/mutations.rs -------------------------------------------------------------------------------- /flake.lock: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Nertsal/stecs/HEAD/flake.lock -------------------------------------------------------------------------------- /flake.nix: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Nertsal/stecs/HEAD/flake.nix -------------------------------------------------------------------------------- /src/archetype/iter.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Nertsal/stecs/HEAD/src/archetype/iter.rs -------------------------------------------------------------------------------- /src/archetype/mod.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Nertsal/stecs/HEAD/src/archetype/mod.rs -------------------------------------------------------------------------------- /src/lib.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Nertsal/stecs/HEAD/src/lib.rs -------------------------------------------------------------------------------- /src/storage/arena.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Nertsal/stecs/HEAD/src/storage/arena.rs -------------------------------------------------------------------------------- /src/storage/hashstorage.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Nertsal/stecs/HEAD/src/storage/hashstorage.rs -------------------------------------------------------------------------------- /src/storage/index.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Nertsal/stecs/HEAD/src/storage/index.rs -------------------------------------------------------------------------------- /src/storage/mod.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Nertsal/stecs/HEAD/src/storage/mod.rs -------------------------------------------------------------------------------- /src/storage/vec.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Nertsal/stecs/HEAD/src/storage/vec.rs -------------------------------------------------------------------------------- /stecs-derive/Cargo.toml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Nertsal/stecs/HEAD/stecs-derive/Cargo.toml -------------------------------------------------------------------------------- /stecs-derive/src/get/derive.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Nertsal/stecs/HEAD/stecs-derive/src/get/derive.rs -------------------------------------------------------------------------------- /stecs-derive/src/get/mod.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Nertsal/stecs/HEAD/stecs-derive/src/get/mod.rs -------------------------------------------------------------------------------- /stecs-derive/src/get/parse.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Nertsal/stecs/HEAD/stecs-derive/src/get/parse.rs -------------------------------------------------------------------------------- /stecs-derive/src/get/types.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Nertsal/stecs/HEAD/stecs-derive/src/get/types.rs -------------------------------------------------------------------------------- /stecs-derive/src/lib.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Nertsal/stecs/HEAD/stecs-derive/src/lib.rs -------------------------------------------------------------------------------- /stecs-derive/src/optic.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Nertsal/stecs/HEAD/stecs-derive/src/optic.rs -------------------------------------------------------------------------------- /stecs-derive/src/query.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Nertsal/stecs/HEAD/stecs-derive/src/query.rs -------------------------------------------------------------------------------- /stecs-derive/src/split.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Nertsal/stecs/HEAD/stecs-derive/src/split.rs --------------------------------------------------------------------------------