We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 884411f commit 67f1d88Copy full SHA for 67f1d88
tests/integration/crates_alt.rs
@@ -0,0 +1,14 @@
1
+use failure::Error;
2
+use rustwide::Crate;
3
+
4
+const INDEX_URL: &str = "https://github.com/rust-lang/staging.crates.io-index";
5
6
+#[test]
7
+fn test_fetch() -> Result<(), Error> {
8
+ let workspace = crate::utils::init_workspace()?;
9
10
+ let krate = Crate::registry(INDEX_URL, "foo", "0.4.0");
11
+ krate.fetch(&workspace)?;
12
13
+ Ok(())
14
+}
tests/integration/mod.rs
@@ -1,2 +1,3 @@
+mod crates_alt;
mod crates_git;
mod purge_caches;
0 commit comments