summaryrefslogtreecommitdiff
path: root/impls/monero_rust/Cargo.toml
diff options
context:
space:
mode:
authorsneurlax <sneurlax@gmail.com>2024-10-10 20:52:31 -0500
committersneurlax <sneurlax@gmail.com>2024-10-10 20:52:31 -0500
commit4694bb913f7709c2b2fa568f065cc56f92f09555 (patch)
tree1c46d48bc33552f2b2a2c8656d66f0d6fe13b9f6 /impls/monero_rust/Cargo.toml
parenta42cbbe83120bd4724a050e03fb95802a4a5ff42 (diff)
convert to lib
Diffstat (limited to 'impls/monero_rust/Cargo.toml')
-rw-r--r--impls/monero_rust/Cargo.toml7
1 files changed, 5 insertions, 2 deletions
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"
+