glob: Deprecate the library in favor of cargo

This library has been moved out to a cargo package in rust-lang.
This commit is contained in:
Alex Crichton
2014-08-22 15:26:23 -07:00
parent d0104d04fd
commit 118f481dbf
2 changed files with 4 additions and 212 deletions

View File

@@ -24,7 +24,8 @@
*/
#![crate_name = "glob"]
#![experimental]
#![deprecated = "This is now a cargo package located at: \
https://github.com/rust-lang/glob"]
#![crate_type = "rlib"]
#![crate_type = "dylib"]
#![license = "MIT/ASL2"]
@@ -32,6 +33,7 @@
html_favicon_url = "http://www.rust-lang.org/favicon.ico",
html_root_url = "http://doc.rust-lang.org/master/",
html_playground_url = "http://play.rust-lang.org/")]
#![allow(deprecated)]
use std::cell::Cell;
use std::{cmp, os, path};
@@ -64,6 +66,7 @@ pub struct Paths {
/// `puppies.jpg` and `hamsters.gif`:
///
/// ```rust
/// # #![allow(deprecated)]
/// use glob::glob;
///
/// for path in glob("/media/pictures/*.jpg") {