blob: bf3d43b98796b903f8322999b44b6db67383ccd6 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
|
#![deny(clippy::all)]
#![deny(clippy::pedantic)]
#![allow(clippy::module_name_repetitions)]
mod bootstrap;
mod interfaces;
mod user;
mod user_manager;
use bootstrap::bootstrap;
use crate::interfaces::user_manager::IUserManager;
fn main()
{
println!("Hello, world!");
let di_container = bootstrap();
let mut user_manager = di_container.get::<dyn IUserManager>().unwrap();
user_manager.fill_with_users();
println!("Printing user information");
user_manager.print_users();
}
|