From 6e7128bc3dcbb69cb5b7e0c7154c742c78864924 Mon Sep 17 00:00:00 2001 From: Pariring Date: Thu, 3 Nov 2022 19:00:47 +0900 Subject: [PATCH] feat: setup as shared library --- Cargo.toml | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/Cargo.toml b/Cargo.toml index 4f3ca70..c644a01 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -3,7 +3,9 @@ name = "skyhook-native" version = "0.1.0" edition = "2021" -# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html - [dependencies] skyhook = { path = "./vendor/skyhook/skyhook" } + +[lib] +name = "skyhook" +crate-type = ["dylib"]