Skip to content
Permalink
Browse files

Apply suggestion from @lifthrasiir

  • Loading branch information...
untitaker committed Sep 12, 2016
1 parent 45a7c2a commit 68bb0b1f6463b2f54f973dc33958b11f7cd606e3
Showing with 6 additions and 2 deletions.
  1. +6 −2 text/0000-security-advisories.md
@@ -141,10 +141,14 @@ advisory`, and then release the versions that contain the security fix.

- `cargo test` make those warnings hard errors.

- `cargo publish` will refuse to upload a crate if the latest version of a
direct dependency satisfying the constraints in `Cargo.toml` is vulnerable.
- `cargo publish` will refuse to upload a crate if any version of a direct
dependency satisfying the constraints in `Cargo.toml` is vulnerable.
Indirect dependencies should not trigger this behavior.

For example, if I have a dependency such as ``bar = "^1.2.3"``, this means
``publish`` should refuse to upload my crate even if ``bar=1.2.3`` is not
vulnerable, as another version satisfying that constraint may be.

The author of a crate that directly depends on a vulnerable crate may disable
these warnings/errors with a switch in their `Cargo.toml`. If `iron==0.4.x` is
vulnerable, the dependent author may use the `allow_vulnerable` key to disable

0 comments on commit 68bb0b1

Please sign in to comment.
You can’t perform that action at this time.