aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorRichard Walters <rwalters@digitalstirling.com>2020-10-13 14:57:53 -0700
committerRichard Walters <rwalters@digitalstirling.com>2020-10-13 14:57:53 -0700
commitbd7c27ef1822048fd1f1f0850244a9c063f671f3 (patch)
tree06b81524123913069653c1289bf6575ea9ec6d1a /src
parent9f2f45ab77fb2400427d56e4365aeb2505e3b368 (diff)
Fix issues using library
* Don't pull in all of the uri module as public. * To expose types publically, use "pub use" at crate level.
Diffstat (limited to 'src')
-rw-r--r--src/lib.rs5
1 files changed, 4 insertions, 1 deletions
diff --git a/src/lib.rs b/src/lib.rs
index 0f3f55f..808b5fa 100644
--- a/src/lib.rs
+++ b/src/lib.rs
@@ -13,4 +13,7 @@ mod parse_host_port;
mod percent_encoded_character_decoder;
mod validate_ipv4_address;
mod validate_ipv6_address;
-pub mod uri;
+mod uri;
+
+pub use crate::authority::Authority;
+pub use crate::uri::Uri;