Skip to content

Commit

Permalink
Extend component list
Browse files Browse the repository at this point in the history
  • Loading branch information
Aceeri committed Jul 2, 2017
1 parent 7ed10df commit 6524127
Show file tree
Hide file tree
Showing 24 changed files with 95 additions and 258 deletions.
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
# Generated by Cargo
/target/
/specs_derive/target/
Cargo.lock

# Generated by mdbook
Expand Down
12 changes: 8 additions & 4 deletions Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
<<<<<<< HEAD
[package]
name = "specs"
version = "0.9.2"
Expand Down Expand Up @@ -27,6 +26,9 @@ exclude = ["bors.toml", ".travis.yml"]
[badges]
travis-ci = { repository = "slide-rs/specs" }

[workspace]
members = [ "specs_derive" ]

[dependencies]
atom = "0.3"
fnv = "1.0"
Expand All @@ -46,13 +48,15 @@ common = ["futures"]
serialize = ["serde", "serde_derive"]

[dev-dependencies]
cgmath = { version = "0.14", features = ["eders"] }
cgmath = { version = "0.14", features = ["eders"] }
rand = "0.3"
serde_json = "1.0"
specs_derive = { path = "specs_derive", version = "0.1", features = ["serialize"] }

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

[workspace]
members = [ "specs_derive" ]
[[example]]
name = "derive"
required-features = ["serialize"]
File renamed without changes.
File renamed without changes.
File renamed without changes.
1 change: 0 additions & 1 deletion specs_derive/examples/derive.rs → examples/derive.rs
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,6 @@ fn main() {
#[allow(dead_code)]
struct SomeGroup {
#[group(serialize)]
#[group(id = "5")]
field1: Comp1,

#[group(serialize)]
Expand Down
File renamed without changes.
File renamed without changes.
7 changes: 0 additions & 7 deletions specs/.gitignore

This file was deleted.

49 changes: 0 additions & 49 deletions specs/Cargo.toml

This file was deleted.

107 changes: 0 additions & 107 deletions specs/README.md

This file was deleted.

3 changes: 2 additions & 1 deletion specs_derive/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ authors = ["Aceeri <[email protected]>"]
proc-macro = true

[dependencies]
specs = { path = "../specs", version = "0.9.1" }
specs = { path = "../", version = "0.9.2" }
syn = "0.11.10"
quote = "0.3.15"
serde = { version = "1.0", optional = true }
Expand All @@ -19,3 +19,4 @@ serde_json = "1.0"
[features]
default = []
serialize = ["serde", "specs/serialize"]

Loading

0 comments on commit 6524127

Please sign in to comment.