Registry / other / specs
library0.20.0rscratesunverified

Specs is an Entity-Component-System library written in Rust, designed for game development and simulation.

# Cargo.toml [dependencies] specs = "0.20.0"
INSTALL
IMPORT
SIG · SPECS
S
specs
otherrustv0.20.0
harness data pending
Install & Compatibility
Where this runs

No compatibility data collected yet for this library.

Code
Verified usage

Verified import paths — ran on the pinned version, not inferred.

World
use specs::World;

Create a simple ECS world with a Position component.

use specs::{World, Builder}; struct Position(f32, f32); fn main() { let mut world = World::new(); world.register::<Position>(); world.create_entity().with(Position(0.0, 0.0)).build(); println!("ECS world created"); }
Debug
Known issues
breakingSpecs is no longer actively maintained; consider using `bevy_ecs` or `hecs`.
fix
Migrate to a maintained ECS library like bevy_ecs.
affects: >=0.20.0
Upgrade
Version history
0.20.0latest on crates.io
Audit
Dependencies

No dependency data recorded yet.

Agent activity
10 hits · last 30 days
node
10
Resources
specs — cargo add specs · libregistry