Просмотр исходного кода

Fix a Cargo warning

rust-lang/cargo#5330
sjj 7 лет назад
Родитель
Сommit
6f2402b20b
2 измененных файлов с 2 добавлено и 0 удалено
  1. 1 0
      data-url/Cargo.toml
  2. 1 0
      url/Cargo.toml

+ 1 - 0
data-url/Cargo.toml

@@ -6,6 +6,7 @@ description = "Processing of data: URL according to WHATWG’s Fetch Standard"
 repository = "https://github.com/servo/rust-url"
 license = "MIT OR Apache-2.0"
 edition = "2018"
+autotests = false
 
 [dependencies]
 matches = "0.1"

+ 1 - 0
url/Cargo.toml

@@ -13,6 +13,7 @@ keywords = ["url", "parser"]
 categories = ["parser-implementations", "web-programming", "encoding"]
 license = "MIT/Apache-2.0"
 include = ["src/**/*", "LICENSE-*", "README.md"]
+autotests = false  # Inhibit lookup for tests/*.rs without [[test]] sections
 edition = "2018"
 
 [badges]