Put util under the library.

This commit is contained in:
Tom Alexander 2023-12-26 20:18:41 -05:00
parent e622d9fa6b
commit 2911fce7cc
Signed by: talexander
GPG Key ID: D3A179C9A53C0EDE
4 changed files with 4 additions and 6 deletions

View File

@ -6,7 +6,6 @@ use organic::settings::GlobalSettings;
use wasm::wasm_parse_org;
mod error;
mod util;
mod wasm;
#[cfg(feature = "tracing")]

View File

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

View File

@ -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: {}",

View File

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