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.
2 parents e714371 + 0953120 commit 996fce6Copy full SHA for 996fce6
src/lib.rs
@@ -19,8 +19,21 @@
19
//! support and exhaustively lists the supported syntax. For more specific
20
//! details on the API, please see the documentation for the `Regex` type.
21
//!
22
+//! # Usage
23
+//!
24
//! This crates is [on crates.io](https://crates.io/crates/regex) and can be
-//! used by adding `regex` to your dependencies in your projects `Cargo.toml`.
25
+//! used by adding `regex` to your dependencies in your project's `Cargo.toml`.
26
27
+//! ```toml
28
+//! [dependencies]
29
+//! regex = "0.1.8"
30
+//! ```
31
32
+//! and this to your crate root:
33
34
+//! ```rust
35
+//! extern crate regex;
36
37
38
//! # First example: find a date
39
0 commit comments