From 4694bb913f7709c2b2fa568f065cc56f92f09555 Mon Sep 17 00:00:00 2001 From: sneurlax Date: Thu, 10 Oct 2024 20:52:31 -0500 Subject: convert to lib --- impls/monero_rust/Cargo.toml | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) (limited to 'impls/monero_rust/Cargo.toml') diff --git a/impls/monero_rust/Cargo.toml b/impls/monero_rust/Cargo.toml index 53ff56e..548823e 100644 --- a/impls/monero_rust/Cargo.toml +++ b/impls/monero_rust/Cargo.toml @@ -7,11 +7,14 @@ repository = "https://github.com/ManyMath/monero_rust" license = "MIT" build = "build.rs" -[[bin]] +[lib] name = "monero_rust" -path = "src/main.rs" +path = "src/lib.rs" +crate-type = ["lib", "cdylib"] [dependencies] +libc = "0.2" [build-dependencies] bindgen = "0.70.1" + -- cgit v1.2.3