Skip to content

Commit

Permalink
Field is added in 1.51
Browse files Browse the repository at this point in the history
  • Loading branch information
Jon Gjengset committed Jan 6, 2021
1 parent 6074232 commit 9e176b7
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/dependency.rs
Original file line number Diff line number Diff line change
Expand Up @@ -68,7 +68,7 @@ pub struct Dependency {
pub registry: Option<String>,
/// The file system path for a local path dependency.
///
/// Only produced on cargo 1.50+
/// Only produced on cargo 1.51+
pub path: Option<PathBuf>,
#[doc(hidden)]
#[serde(skip)]
Expand Down
2 changes: 1 addition & 1 deletion tests/test_samples.rs
Original file line number Diff line number Diff line change
Expand Up @@ -169,7 +169,7 @@ fn all_the_fields() {
// test added in 1.47
// homepage added in 1.49
// documentation added in 1.49
// path added in 1.50
// path added in 1.51
eprintln!("Skipping all_the_fields test, cargo {} is too old.", ver);
return;
}
Expand Down

0 comments on commit 9e176b7

Please sign in to comment.