Skip to content

Commit

Permalink
Merge #542
Browse files Browse the repository at this point in the history
542: Remove `rudy` and `common` r=torkleyy a=torkleyy





Co-authored-by: Thomas Schaller <[email protected]>
  • Loading branch information
bors[bot] and torkleyy committed Jan 5, 2019
2 parents d533973 + b65babf commit 38b8b14
Show file tree
Hide file tree
Showing 9 changed files with 15 additions and 558 deletions.
16 changes: 12 additions & 4 deletions .travis.yml
Original file line number Diff line number Diff line change
@@ -1,7 +1,8 @@
language: rust

rust:
- nightly
- beta
- 1.28.0
- stable

cache:
Expand All @@ -17,12 +18,19 @@ before_script:
- export PATH="$PATH:$HOME/.cargo/bin"

script:
- cargo build --verbose --features "common serde rudy"
- cargo test --verbose --features "common serde rudy"
- if [ "$TRAVIS_RUST_VERSION" == "nightly" ]; then
cargo build --all-features --verbose;
cargo test --all-features --verbose;
cargo test --all-features --verbose --no-run;
cargo bench --verbose --no-run --all-features;
elif [ "$TRAVIS_RUST_VERSION" == "1.28.0" ]; then
cargo check --tests --no-default-features;
cargo check --tests --no-default-features --features "parallel";
cargo check --tests --no-default-features --features "serde";
cargo check --tests --no-default-features --features "serde,parallel";
else
cargo build --verbose --no-default-features;
cargo test --verbose --no-default-features;
cargo test --verbose --features "parallel,serde";
fi
- cargo build --manifest-path ./specs-derive/Cargo.toml --verbose
- cargo test --manifest-path ./specs-derive/Cargo.toml --verbose
Expand Down
15 changes: 3 additions & 12 deletions Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -2,13 +2,13 @@
name = "specs"
version = "0.14.3"
description = """
Specs is an Entity-Component System library written in Rust.
Specs is an Entity-Component-System library written in Rust.
"""
documentation = "https://docs.rs/specs/"
repository = "https://github.com/slide-rs/specs"
homepage = "https://slide-rs.github.io/"
readme = "README.md"
keywords = ["gamedev", "ecs"]
keywords = ["gamedev", "ecs", "entity", "component"]
categories = ["concurrency"]
license = "MIT/Apache-2.0"
authors = ["slide-rs hackers"]
Expand All @@ -34,20 +34,15 @@ tuple_utils = "0.3"
rayon = { version = "1.0.0", optional = true }
nonzero_signed = "1.0.1"

futures = { version = "0.1", optional = true }
serde = { version = "1.0", optional = true, features = ["serde_derive"] }

# enable rudy via --features rudy
rudy = { version = "0.1", optional = true }

[features]
default = ["parallel"]
parallel = ["rayon", "shred/parallel", "hibitset/parallel"]
common = ["futures"]
nightly = ["shred/nightly"]

[package.metadata.docs.rs]
features = ["common", "serde"]
features = ["parallel", "nightly"]

[dev-dependencies]
cgmath = { version = "0.16" }
Expand Down Expand Up @@ -78,10 +73,6 @@ name = "track"
[[example]]
name = "ordered_track"

[[example]]
name = "common"
required-features = ["common"]

[[example]]
name = "saveload"
required-features = ["serde"]
Expand Down
11 changes: 0 additions & 11 deletions book/src/05_storages.md
Original file line number Diff line number Diff line change
Expand Up @@ -81,14 +81,3 @@ just leaves uninitialized gaps where we don't have any component.
Therefore it would be a waste of memory to use this storage for
rare components, but it's best suited for commonly used components
(like transform values).


## `RudyStorage` (Experimental)

There is an experimental `RudyStorage`, which can be enabled with the `rudy` feature
flag. It uses [the `rudy` crate][ru], the Rust implementation of [Judy Arrays][ja].

[ja]: http://judy.sourceforge.net
[ru]: https://crates.io/crates/rudy

Its benefits are not clear yet.
81 changes: 0 additions & 81 deletions examples/common.rs

This file was deleted.

Loading

0 comments on commit 38b8b14

Please sign in to comment.