# It is not intended for manual editing.
version = 4
+[[package]]
+name = "gema_texto"
+version = "1.0.0"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "4056ce8c83e74c7f51c4676baea6ac2f2dc508b69d018260b56ed1d618de09e3"
+
[[package]]
name = "page"
version = "1.4.0"
dependencies = [
+ "gema_texto",
"test_utilities",
]
authors = ["Rubén Beltrán del Río <page@r.bdr.sh>"]
[dependencies]
+gema_texto = "1.0.0"
[dev-dependencies]
test_utilities = { path = "test_utilities" }
state the exclusion of warranty; and each file should have at least
the "copyright" line and a pointer to where the full notice is found.
- Radio, friend-to-friend application platform.
+ page, a command line tool to generate a static website and gemini capsule.
Copyright (C) 2024 Ruben Beltran del Rio
This program is free software: you can redistribute it and/or modify
use std::path::Path;
use crate::file_handler::{File, FileType, Strategy as FileHandlerStrategy};
-use crate::gemini_parser::parse;
-use crate::html_renderer::render_html;
+use gema_texto::{gemini_parser::parse, html_renderer::render_html};
impl Strategy {
fn is_title(line: &str) -> bool {
mod file_finder;
mod file_handler;
-mod gemini_parser;
-mod html_renderer;
use std::env::current_dir;
use std::fs::{create_dir_all, remove_dir_all};