Crates.io | filter-city |
lib.rs | filter-city |
version | 0.1.8 |
source | src |
created_at | 2019-12-01 12:07:26.621758 |
updated_at | 2020-08-22 01:08:37.611402 |
description | This program allows to search a city in ASCII all over the world in a json file. |
homepage | https://github.com/stephaneworkspace/filter-city |
repository | https://github.com/stephaneworkspace/filter-city |
max_upload_size | |
id | 185709 |
size | 25,975,812 |
__ _ _ _ _ _
/ _(_) | |_ ___ _ __ ___(_) |_ _ _
| |_| | | __/ _ \ '__|____ / __| | __| | | |
| _| | | || __/ | |_____| (__| | |_| |_| |
|_| |_|_|\__\___|_| \___|_|\__|\__, |
|___/
By Stéphane Bressani
____ _ _
/ ___|| |_ ___ _ __ | |__ __ _ _ __ ___
\___ \| __/ _ \ '_ \| '_ \ / _` | '_ \ / _ \
___) | || __/ |_) | | | | (_| | | | | __/
|____/ \__\___| .__/|_| |_|\__,_|_| |_|\___|
| |stephane-bressani.ch
|_|github.com/stephaneworkspace
This program allows to search a city in ASCII all over the world in a json file. Initalliy I have done a script with Python but thas was very slow.
THIS CODE IS VERY SLOW
For better performance i recommand my code here : https://github.com/stephaneworkspace/city_time_zone_sqlite (not on crate)
You have to download on my github the assets folder and put at the same level of ./src/main.rs and ./Cargo.toml the assets folder.
extern crate filter_city;
let search: Vec<filter_city::City> = filter_city::filter_city("Search...");