Skip to content

Commit

Permalink
Remove [target.'cfg(debug_assertions)'.dependencies] in contrib Cargo…
Browse files Browse the repository at this point in the history
….toml.

This is not supported and is the same as putting the contents in
[dependencies] anyway. It became a warning in rust-lang/cargo#7660.

Backport of 4151cd4.
  • Loading branch information
jebrosen authored and RalfJung committed Mar 8, 2020
1 parent 7446707 commit 2b9c419
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions contrib/lib/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -51,6 +51,7 @@ rmp-serde = { version = "^0.13", optional = true }
handlebars = { version = "1.0", optional = true }
glob = { version = "0.3", optional = true }
tera = { version = "0.11", optional = true }
notify = { version = "4.0.6" }

# UUID dependencies.
uuid = { version = "0.7", optional = true }
Expand All @@ -76,8 +77,5 @@ r2d2-memcache = { version = "0.3", optional = true }
# SpaceHelmet dependencies
time = { version = "0.1.40", optional = true }

[target.'cfg(debug_assertions)'.dependencies]
notify = { version = "^4.0.6" }

[package.metadata.docs.rs]
all-features = true

0 comments on commit 2b9c419

Please sign in to comment.