Get rid of a reexport.
This commit is contained in:
parent
7aa4a0fb30
commit
72c07fbe5d
@ -51,7 +51,6 @@ use diesel::prelude::*;
|
||||
use dotenv::dotenv;
|
||||
use env::{dburl, photos_dir};
|
||||
use photosdir::PhotosDir;
|
||||
pub use server::Link;
|
||||
use std::fs::File;
|
||||
use std::io::{self, BufReader};
|
||||
use std::path::Path;
|
||||
|
@ -1,6 +1,5 @@
|
||||
use super::PhotoLink;
|
||||
use super::{Link, PhotoLink};
|
||||
use super::splitlist::links_by_time;
|
||||
use Link;
|
||||
use chrono::Duration as ChDuration;
|
||||
use chrono::naive::{NaiveDate, NaiveDateTime};
|
||||
use diesel::expression::sql_literal::SqlLiteral;
|
||||
|
@ -1,7 +1,7 @@
|
||||
@use ::Link;
|
||||
@use nickel::Request;
|
||||
@use nickel_jwt_session::SessionRequestExtensions;
|
||||
@use models::{Photo, Person, Place, Tag, Camera, Coord};
|
||||
@use server::Link;
|
||||
@use templates::page_base;
|
||||
|
||||
@(req: &Request, lpath: &[Link], people: &[Person], places: &[Place], tags: &[Tag], position: &Option<Coord>, attribution: &Option<String>, camera: &Option<Camera>, photo: &Photo)
|
||||
|
@ -1,6 +1,6 @@
|
||||
@use ::Link;
|
||||
@use nickel::Request;
|
||||
@use nickel_jwt_session::SessionRequestExtensions;
|
||||
@use server::Link;
|
||||
|
||||
@(req: &Request, lpath: &[Link])
|
||||
|
||||
|
@ -1,7 +1,6 @@
|
||||
@use ::Link;
|
||||
@use models::Coord;
|
||||
@use nickel::Request;
|
||||
@use server::PhotoLink;
|
||||
@use server::{Link, PhotoLink};
|
||||
@use templates::{data_positions, page_base, photo_link};
|
||||
|
||||
@(req: &Request, title: &str, lpath: &[Link], photos: &[PhotoLink], coords: &[Coord])
|
||||
|
@ -1,6 +1,6 @@
|
||||
@use ::Link;
|
||||
@use nickel::Request;
|
||||
@use nickel_jwt_session::SessionRequestExtensions;
|
||||
@use server::Link;
|
||||
@use templates::head;
|
||||
@use templates::statics::{photos_css, admin_js, ux_js};
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user