mirror of
https://github.com/teloxide/teloxide.git
synced 2025-01-09 03:43:22 +01:00
Merge pull request #42 from teloxide/use_2018_module_style
use 2018 module style
This commit is contained in:
commit
53f1c6d4d3
7 changed files with 10 additions and 11 deletions
|
@ -6,6 +6,9 @@
|
|||
//! ## How it works
|
||||
//!
|
||||
//! You better not know...
|
||||
//!
|
||||
//! This whole module is an awful hack and we'll probably stop using it in next
|
||||
//! versions (in favor of something less automatic, but more simple).
|
||||
|
||||
mod serializers;
|
||||
mod unserializers;
|
||||
|
|
|
@ -190,5 +190,10 @@ mod passport_data;
|
|||
mod passport_element_error;
|
||||
mod passport_file;
|
||||
|
||||
pub use non_telegram_types::*;
|
||||
mod non_telegram_types;
|
||||
pub use non_telegram_types::{country_code::*, currency::*, non_strict_vec::*};
|
||||
mod non_telegram_types {
|
||||
pub(super) mod country_code;
|
||||
pub(super) mod currency;
|
||||
pub(crate) mod mime;
|
||||
pub(super) mod non_strict_vec;
|
||||
}
|
|
@ -1,9 +0,0 @@
|
|||
pub use country_code::*;
|
||||
pub use currency::*;
|
||||
pub use non_strict_vec::*;
|
||||
|
||||
mod country_code;
|
||||
mod currency;
|
||||
mod non_strict_vec;
|
||||
|
||||
pub(crate) mod mime;
|
Loading…
Reference in a new issue