From 41e7625798f099d03d8b019736eb9a07854164d7 Mon Sep 17 00:00:00 2001 From: Jose Narvaez Date: Fri, 28 Jul 2023 14:02:22 +0100 Subject: [PATCH] Cargo.toml cleanup and added 'link-ruby' feature. - `link-ruby` to force linking to libruby. - Removed all `embed` features (I copied magnus approach and it came with it). --- Cargo.toml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Cargo.toml b/Cargo.toml index 7a89847..5d9ce7e 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -16,7 +16,7 @@ license = "MIT" build = "build.rs" [features] -embed = ["rb-sys/link-ruby"] +link-ruby = ["rb-sys/link-ruby"] ruby-static = ["rb-sys/ruby-static"] no-link = [] # noop, for backwards compatibility. @@ -27,7 +27,7 @@ rb-sys = { git = "https://github.com/oxidize-rb/rb-sys.git", features = [ ] } [dev-dependencies] -rutie = { path = ".", features = ["embed"] } +rutie = { path = "." } rb-sys-env = { version = "0.1" } rb-sys-test-helpers = { git = "https://github.com/oxidize-rb/rb-sys.git" } lazy_static = "1.4.0"