diff --git a/Cargo.lock b/Cargo.lock index 95d08ef2f..c164e2d7a 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -208,10 +208,10 @@ dependencies = [ ] [[package]] -name = "cfg-exif" -version = "0.3.1" +name = "cfg-elif" +version = "0.6.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "f782369519ff0fef6ec4fcc325a7328ac0136950ddf0a0d55f4a54cddca743b4" +checksum = "67b44344ef052fe5711d85e5a281ca2bb9e9a831aee862b7d2fb29c9c6f321de" [[package]] name = "cfg-if" @@ -1336,7 +1336,7 @@ dependencies = [ name = "stak-macro" version = "0.2.12" dependencies = [ - "cfg-exif", + "cfg-elif", "proc-macro2", "quote", "stak-compiler", @@ -1499,7 +1499,7 @@ dependencies = [ name = "stak-vm" version = "0.7.22" dependencies = [ - "cfg-exif", + "cfg-elif", "insta", "nonbox", "stak-device", diff --git a/cmd/minimal/Cargo.lock b/cmd/minimal/Cargo.lock index 39b3a1389..8e19aa7df 100644 --- a/cmd/minimal/Cargo.lock +++ b/cmd/minimal/Cargo.lock @@ -15,7 +15,7 @@ source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "1fd0f2584146f6f2ef48085050886acf353beff7305ebd1ae69500e27c67f64b" [[package]] -name = "cfg-exif" +name = "cfg-elif" version = "0.3.1" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "f782369519ff0fef6ec4fcc325a7328ac0136950ddf0a0d55f4a54cddca743b4" @@ -171,7 +171,7 @@ dependencies = [ name = "stak-macro" version = "0.2.12" dependencies = [ - "cfg-exif", + "cfg-elif", "proc-macro2", "quote", "stak-compiler", @@ -252,7 +252,7 @@ dependencies = [ name = "stak-vm" version = "0.7.22" dependencies = [ - "cfg-exif", + "cfg-elif", ] [[package]] diff --git a/cspell.json b/cspell.json index 47995a82a..7861f3581 100644 --- a/cspell.json +++ b/cspell.json @@ -28,9 +28,9 @@ "cond", "coreutils", "doctest", + "elif", "embeddable", "errno", - "exif", "expt", "fclose", "findutils", diff --git a/macro/Cargo.toml b/macro/Cargo.toml index 4d70b44b6..6ea0b6bcd 100644 --- a/macro/Cargo.toml +++ b/macro/Cargo.toml @@ -15,7 +15,7 @@ proc-macro = true hot-reload = [] [dependencies] -cfg-exif = "0.3.1" +cfg-elif = "0.6.0" proc-macro2 = { version = "1.0.93", features = ["proc-macro"] } quote = "1.0.38" stak-compiler = { version = "0.2.3", path = "../compiler" } diff --git a/macro/src/lib.rs b/macro/src/lib.rs index 97997acd5..b4d6a5840 100644 --- a/macro/src/lib.rs +++ b/macro/src/lib.rs @@ -1,6 +1,6 @@ //! Macros to bundle and use Scheme programs. -use cfg_exif::feature; +use cfg_elif::expr::feature; use core::error::Error; use proc_macro::TokenStream; use proc_macro2::Literal; diff --git a/vm/Cargo.toml b/vm/Cargo.toml index 75c131102..8c0b63e6d 100644 --- a/vm/Cargo.toml +++ b/vm/Cargo.toml @@ -16,7 +16,7 @@ trace_instruction = [] trace_memory = [] [dependencies] -cfg-exif = "0.3.1" +cfg-elif = "0.6.0" nonbox = { version = "0.4.1", optional = true } [dev-dependencies] diff --git a/vm/src/cons.rs b/vm/src/cons.rs index 3f1808c0a..42b3464c9 100644 --- a/vm/src/cons.rs +++ b/vm/src/cons.rs @@ -1,5 +1,5 @@ use crate::{value::Value, Error}; -use cfg_exif::feature; +use cfg_elif::expr::feature; use core::fmt::{self, Display, Formatter}; /// A tag. diff --git a/vm/src/number.rs b/vm/src/number.rs index 0c8b1819e..7ec7127f3 100644 --- a/vm/src/number.rs +++ b/vm/src/number.rs @@ -1,5 +1,5 @@ use crate::{value::Value, Error}; -use cfg_exif::feature; +use cfg_elif::expr::feature; use core::{ fmt::{self, Display, Formatter}, ops::{Add, Div, Mul, Rem, Sub}, diff --git a/vm/src/value.rs b/vm/src/value.rs index 7dc42da8a..7c6caffd1 100644 --- a/vm/src/value.rs +++ b/vm/src/value.rs @@ -2,7 +2,7 @@ use crate::{ cons::{Cons, Tag}, number::Number, }; -use cfg_exif::feature; +use cfg_elif::expr::feature; use core::fmt::{self, Display, Formatter}; /// A value.