feat: make projects as a lib

上级 d40e3c75
[package]
name = "scie-onig"
name = "scie_onig"
version = "0.1.0"
authors = ["Phodal Huang <h@phodal.com>"]
edition = "2018"
......@@ -7,3 +7,4 @@ edition = "2018"
# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html
[dependencies]
onig_sys = "69.5.1"
fn main() {
println!("Hello, world!");
}
pub mod scie_onig;
\ No newline at end of file
pub struct ScieOnig {
}
impl ScieOnig {
pub fn create_onig_scanner(sources: Vec<String>) {
}
}
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册