Put util under the library.
This commit is contained in:
parent
e622d9fa6b
commit
2911fce7cc
@ -6,7 +6,6 @@ use organic::settings::GlobalSettings;
|
||||
use wasm::wasm_parse_org;
|
||||
|
||||
mod error;
|
||||
mod util;
|
||||
mod wasm;
|
||||
|
||||
#[cfg(feature = "tracing")]
|
||||
|
@ -10,8 +10,8 @@ extern crate test;
|
||||
|
||||
#[cfg(feature = "compare")]
|
||||
pub mod compare;
|
||||
#[cfg(feature = "compare")]
|
||||
mod util;
|
||||
#[cfg(any(feature = "compare", feature = "wasm_test"))]
|
||||
pub mod util;
|
||||
|
||||
mod context;
|
||||
mod error;
|
||||
|
@ -1,6 +1,6 @@
|
||||
use tokio::process::Command;
|
||||
|
||||
pub(crate) async fn print_versions() -> Result<(), Box<dyn std::error::Error>> {
|
||||
pub async fn print_versions() -> Result<(), Box<dyn std::error::Error>> {
|
||||
eprintln!("Using emacs version: {}", get_emacs_version().await?.trim());
|
||||
eprintln!(
|
||||
"Using org-mode version: {}",
|
||||
|
@ -1,7 +1,6 @@
|
||||
use organic::parser::parse_with_settings;
|
||||
use organic::settings::GlobalSettings;
|
||||
|
||||
use crate::util::print_versions;
|
||||
use organic::util::print_versions;
|
||||
|
||||
pub async fn wasm_run_anonymous_compare_with_settings<'g, 's, P: AsRef<str>>(
|
||||
org_contents: P,
|
||||
|
Loading…
Reference in New Issue
Block a user