diff options
author | Richard Walters <rwalters@digitalstirling.com> | 2020-10-13 14:57:53 -0700 |
---|---|---|
committer | Richard Walters <rwalters@digitalstirling.com> | 2020-10-13 14:57:53 -0700 |
commit | bd7c27ef1822048fd1f1f0850244a9c063f671f3 (patch) | |
tree | 06b81524123913069653c1289bf6575ea9ec6d1a /src/lib.rs | |
parent | 9f2f45ab77fb2400427d56e4365aeb2505e3b368 (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/lib.rs')
-rw-r--r-- | src/lib.rs | 5 |
1 files changed, 4 insertions, 1 deletions
@@ -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; |