aboutsummaryrefslogtreecommitdiff
path: root/src/lib.rs
diff options
context:
space:
mode:
authorRichard Walters <rwalters@digitalstirling.com>2020-10-14 22:38:44 -0700
committerRichard Walters <rwalters@digitalstirling.com>2020-10-14 22:38:44 -0700
commit472c84a39a29bb9a2778cac67f5a9be78eca93bc (patch)
tree07526bd1be9922d39d36829dfaeacd9d645d2563 /src/lib.rs
parentb4fb0021700594eafe1adc8055baf40a8ab5174e (diff)
Preparation for publishing on crates.io
* Rename crate to "rhymuri" since "uri" is taken; FeelsBadMan * Bump crate version to 1.0.0. * Add categories, keywords, and repository metadata. * Update README with links to crates.io and documentation. * Add license reference in README.
Diffstat (limited to 'src/lib.rs')
-rw-r--r--src/lib.rs8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/lib.rs b/src/lib.rs
index 9681872..a0fa3f2 100644
--- a/src/lib.rs
+++ b/src/lib.rs
@@ -22,8 +22,8 @@
//! ## Parsing a URI into its components
//!
//! ```rust
-//! # extern crate uri;
-//! use uri::Uri;
+//! # extern crate rhymuri;
+//! use rhymuri::Uri;
//!
//! let uri = Uri::parse("http://www.example.com/foo?bar#baz").unwrap();
//! let authority = uri.authority().unwrap();
@@ -37,8 +37,8 @@
//! ## Generating a URI from its components
//!
//! ```rust
-//! # extern crate uri;
-//! use uri::{Authority, Uri};
+//! # extern crate rhymuri;
+//! use rhymuri::{Authority, Uri};
//!
//! let mut uri = Uri::default();
//! assert!(uri.set_scheme(String::from("http")).is_ok());