Skip to content

Commit

Permalink
work around rust-lang/cargo#6915
Browse files Browse the repository at this point in the history
This should finally fix the nightly configuration on travis
  • Loading branch information
ExpHP committed May 14, 2019
1 parent 9421474 commit 9d886d1
Show file tree
Hide file tree
Showing 6 changed files with 20 additions and 10 deletions.
3 changes: 2 additions & 1 deletion crates.d/rsp2-array-types.Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,8 @@ path = "lib.rs"
!!serde { optional = true, features = ["derive"] }
!!rand

[dev-dependencies]
# This should be a dev-dependency, but see this bug:
# https://github.com/rust-lang/cargo/issues/6915
!!rsp2-assert-close

[features]
Expand Down
7 changes: 4 additions & 3 deletions crates.d/rsp2-lammps-wrap.Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -14,16 +14,17 @@ path = "lib.rs"
!!rsp2-array-types { features = ["serde-support"] }
!!lammps-sys { features = ["exceptions", "package-user-omp"] }

# This should be a dev-dependency, but see this bug:
# https://github.com/rust-lang/cargo/issues/6915
!!rsp2-assert-close

!!log
!!lazy-static
!!chrono
!!failure
!!slice-of-array
!!mpi { optional = true }

[dev-dependencies]
!!rsp2-assert-close

[[example]]
name = "airebo"
[[example]]
Expand Down
5 changes: 4 additions & 1 deletion crates.d/rsp2-potentials.Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -27,8 +27,11 @@ path = "lib.rs"
!!rayon-cond
!!log

[dev-dependencies]
# This should be a dev-dependency, but see this bug:
# https://github.com/rust-lang/cargo/issues/6915
!!rsp2-structure-io

[dev-dependencies]
!!serde
!!serde-json
!!serde-derive
Expand Down
7 changes: 4 additions & 3 deletions src/io/lammps/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -19,16 +19,17 @@ rsp2-structure = { path = "../../structure", features = ["serde-support"] }
rsp2-array-types = { path = "../../util/array-types", features = ["serde-support"] }
lammps-sys = { version = "0.5.2", features = ["exceptions", "package-user-omp"] }

# This should be a dev-dependency, but see this bug:
# https://github.com/rust-lang/cargo/issues/6915
rsp2-assert-close = { path = "../../util/assert-close" }

log = "0.4"
lazy_static = "0.2"
chrono = "0.4"
failure = "0.1.2"
slice-of-array = "0.2.1"
mpi = { version = "0.5.4", optional = true }

[dev-dependencies]
rsp2-assert-close = { path = "../../util/assert-close" }

[[example]]
name = "airebo"
[[example]]
Expand Down
5 changes: 4 additions & 1 deletion src/potentials/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -32,8 +32,11 @@ rayon = "1.0.1"
rayon-cond = "0.1.0"
log = "0.4"

[dev-dependencies]
# This should be a dev-dependency, but see this bug:
# https://github.com/rust-lang/cargo/issues/6915
rsp2-structure-io = { path = "../io/structure" }

[dev-dependencies]
serde = { version = "1.0.91", features = ["rc"] }
serde_json = "1"
serde_derive = "1.0.91"
Expand Down
3 changes: 2 additions & 1 deletion src/util/array-types/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,8 @@ num-traits = "0.2.3"
serde = { version = "1.0.91", features = ["derive", "rc"], optional = true }
rand = "0.3"

[dev-dependencies]
# This should be a dev-dependency, but see this bug:
# https://github.com/rust-lang/cargo/issues/6915
rsp2-assert-close = { path = "../assert-close" }

[features]
Expand Down

0 comments on commit 9d886d1

Please sign in to comment.