Get rid of a reexport.

This commit is contained in:
Rasmus Kaj 2018-03-03 14:39:33 +01:00
parent 7aa4a0fb30
commit 72c07fbe5d
6 changed files with 5 additions and 8 deletions

View File

@ -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;

View File

@ -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;

View File

@ -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)

View File

@ -1,6 +1,6 @@
@use ::Link;
@use nickel::Request;
@use nickel_jwt_session::SessionRequestExtensions;
@use server::Link;
@(req: &Request, lpath: &[Link])

View File

@ -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])

View File

@ -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};