Reorganize
This commit is contained in:
15
Cargo.toml
15
Cargo.toml
@@ -1,5 +1,5 @@
|
||||
[workspace]
|
||||
members = ["crates/*"]
|
||||
members = ["crates/bin/*", "crates/lib/*", "crates/macro/*", "crates/service/*"]
|
||||
resolver = "2"
|
||||
|
||||
[workspace.package]
|
||||
@@ -64,12 +64,13 @@ type_complexity = "allow"
|
||||
#
|
||||
|
||||
[workspace.dependencies]
|
||||
assetserver = { path = "crates/assetserver" }
|
||||
toolbox = { path = "crates/toolbox" }
|
||||
libservice = { path = "crates/libservice" }
|
||||
service-webpage = { path = "crates/service-webpage" }
|
||||
macro-assets = { path = "crates/macro-assets" }
|
||||
macro-sass = { path = "crates/macro-sass" }
|
||||
macro-assets = { path = "crates/macro/macro-assets" }
|
||||
macro-sass = { path = "crates/macro/macro-sass" }
|
||||
assetserver = { path = "crates/lib/assetserver" }
|
||||
libservice = { path = "crates/lib/libservice" }
|
||||
toolbox = { path = "crates/lib/toolbox" }
|
||||
|
||||
service-webpage = { path = "crates/service/service-webpage" }
|
||||
|
||||
|
||||
#
|
||||
|
||||
@@ -12,5 +12,3 @@ pub trait Asset {
|
||||
/// The embedded file contents as a byte slice
|
||||
const BYTES: &'static [u8];
|
||||
}
|
||||
|
||||
// TODO: image manipulation
|
||||
|
Before Width: | Height: | Size: 284 KiB After Width: | Height: | Size: 284 KiB |
|
Before Width: | Height: | Size: 112 KiB After Width: | Height: | Size: 112 KiB |
|
Before Width: | Height: | Size: 22 KiB After Width: | Height: | Size: 22 KiB |
@@ -1,6 +1,5 @@
|
||||
use maud::{Markup, Render, html};
|
||||
|
||||
// TODO: turn these into one self-contained struct
|
||||
pub struct MangledBetaEmail {}
|
||||
|
||||
impl Render for MangledBetaEmail {
|
||||
@@ -71,8 +71,6 @@ const OPTS: Options = Options {
|
||||
|
||||
impl Render for Markdown<'_> {
|
||||
fn render(&self) -> Markup {
|
||||
// TODO: cache
|
||||
|
||||
/*
|
||||
let mut ast = markdown::to_mdast(MD_A, &opts.parse).unwrap();
|
||||
let walk = AstWalkMut::new(&mut ast);
|
||||
@@ -1,7 +1,6 @@
|
||||
use assetserver::Asset;
|
||||
use macro_assets::assets;
|
||||
|
||||
// TODO: auto-generate from dir
|
||||
assets! {
|
||||
prefix: "/assets"
|
||||
router: asset_router()
|
||||
@@ -9,10 +9,6 @@ use crate::{
|
||||
routes::assets::Image_Icon,
|
||||
};
|
||||
|
||||
// TODO: emoji
|
||||
// TODO: spellcheck
|
||||
// TODO: check links
|
||||
|
||||
pub async fn links() -> Markup {
|
||||
let meta = PageMetadata {
|
||||
title: "Links".into(),
|
||||
Reference in New Issue
Block a user