Skip to content

Instantly share code, notes, and snippets.

@chawyehsu
Last active May 16, 2021 15:17
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save chawyehsu/592b7b28d180fb4fc905439df5e6e772 to your computer and use it in GitHub Desktop.
Save chawyehsu/592b7b28d180fb4fc905439df5e6e772 to your computer and use it in GitHub Desktop.
extern crate self;
extern crate self as hello;
extern crate notify;
extern crate std; // equivalent to: extern crate std as std;
extern crate std as ruststd; // linking to 'std' under another name
extern crate lazy_static;
extern crate hello_world; // hyphen replaced with an underscore
use once_cell;
use ::once_cell;
use notify::{Watcher as _};
use std::fs;
#[allow(unused_imports)]
use std::io::{self, Read as _};
use std::sync::mpsc;
use std::thread;
use std::time::Duration;
use std::option::Option::{Some, None};
use std::collections::hash_map::{self, HashMap};
use minimad::{
TextTemplate,
TextTemplateExpander as _TTE
};
use {
minimad::{TextTemplate, TextTemplateExpander},
};
pub use {
composite::{Composite, CompositeStyle},
compound::{Alignment, Compound},
header::header_level,
inline_template::InlineTemplate,
line::Line,
line::MAX_HEADER_DEPTH,
owning_template_expander::OwningTemplateExpander,
tbl::{TableRow, TableRule},
text::Text,
text_template::{SubTemplateExpander, TextTemplate, TextTemplateExpander},
};
use std::{
fs::PathBuf,
io::Result
};
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment