diff --git a/Cargo.toml b/Cargo.toml index ffa6a2ca..f9efd479 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -5,9 +5,11 @@ edition = "2021" [lib] name = "hvml" +path = "src/lib.rs" [[bin]] name = "hvml" +path = "src/main.rs" required-features = ["cli"] [profile.release] diff --git a/src/main.rs b/src/main.rs index 99f4319e..f0898414 100644 --- a/src/main.rs +++ b/src/main.rs @@ -1,5 +1,5 @@ use clap::{Parser, ValueEnum}; -use hvm_lang::{check_book, compile_book, load_file_to_book, run_book, RunInfo}; +use hvml::{check_book, compile_book, load_file_to_book, run_book, RunInfo}; use hvmc::{ ast::{show_book, show_net}, run::Ptr,