From cf621afdb139809c7c2c9d2dfce936e38dc7c74f Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Pascal=20Have=CC=81?= Date: Mon, 16 Oct 2023 10:05:04 +0200 Subject: [PATCH] Update extendr package --- src/rust/Cargo.lock | 38 ++++++++++++++------------------------ src/rust/Cargo.toml | 3 +-- 2 files changed, 15 insertions(+), 26 deletions(-) diff --git a/src/rust/Cargo.lock b/src/rust/Cargo.lock index 1187358..7f0bab4 100644 --- a/src/rust/Cargo.lock +++ b/src/rust/Cargo.lock @@ -46,35 +46,25 @@ checksum = "baf1de4339761588bc0619e3cbc0120ee582ebb74b53b4efbf79117bd2da40fd" [[package]] name = "extendr-api" -version = "0.4.0" +version = "0.6.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "1e36d66fa307948c291a6fc5b09d8295dd58e88ab5e8d782d30e23670113e9ab" +checksum = "c7d55a0174c4df17c467fb59b3f836bec31d1af6d56c4182cfdf34a62d1553a4" dependencies = [ - "extendr-engine", "extendr-macros", - "lazy_static", "libR-sys", + "once_cell", "paste", ] -[[package]] -name = "extendr-engine" -version = "0.4.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "8298d5a2e38bb91820b92bbd7e5aaf1d3b95ed9f096fc66393c50af38ff8155d" -dependencies = [ - "libR-sys", -] - [[package]] name = "extendr-macros" -version = "0.4.0" +version = "0.6.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "09bf0849f0d48209be8163378248137fed5ccb5f464d171cf93a19f31a9e6c67" +checksum = "33833971650cade4bfa3097b979506bf2b4934b60392e110f95b94c2406cbb84" dependencies = [ "proc-macro2", "quote", - "syn 1.0.109", + "syn 2.0.32", ] [[package]] @@ -189,17 +179,11 @@ version = "0.3.1" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "d2fabcfbdc87f4758337ca535fb41a6d701b65693ce38287d856d1674551ec9b" -[[package]] -name = "lazy_static" -version = "1.4.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "e2abad23fbc42b3700f2f279844dc832adb2b2eb069b2df918f455c4e18cc646" - [[package]] name = "libR-sys" -version = "0.4.0" +version = "0.6.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "cd728a97b9b0975f546bc865a7413e0ce6f98a8f6cea52e77dc5ee0bcea00adf" +checksum = "a34aaa68a201f71eab5df5a67d1326add8aaf029434e939353bcab0534919ff1" [[package]] name = "libc" @@ -308,6 +292,12 @@ dependencies = [ "libm", ] +[[package]] +name = "once_cell" +version = "1.18.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "dd8b5dd2ae5ed71462c540258bedcb51965123ad7e7ccf4b9a8cafaa4a63576d" + [[package]] name = "paste" version = "1.0.14" diff --git a/src/rust/Cargo.toml b/src/rust/Cargo.toml index ad25637..27ef517 100644 --- a/src/rust/Cargo.toml +++ b/src/rust/Cargo.toml @@ -8,8 +8,7 @@ crate-type = ['staticlib'] [dependencies] anyhow = "1.0" -extendr-api = '*' -#nalgebra = "0.32" +extendr-api = '0.6' nalgebra = "0.32" rand = "0.8" rand_distr = "0.4"