use scryer-modular-bitfield on github, version bump
Some checks failed
CI / build-test (ubuntu-22.04, true, stable, x86_64-unknown-linux-gnu) (push) Has been cancelled
CI / build-test (windows-latest, true, stable, x86_64-pc-windows-msvc) (push) Has been cancelled
CI / logtalk-test (push) Has been cancelled
CI / style (push) Has been cancelled
CI / build-test (--no-default-features, ubuntu-22.04, true, nightly, wasm32-unknown-unknown, --no-run --no-default-features) (push) Has been cancelled
CI / build-test (macos-11, true, stable, x86_64-apple-darwin) (push) Has been cancelled
CI / build-test (ubuntu-20.04, true, stable, x86_64-unknown-linux-gnu) (push) Has been cancelled
CI / build-test (ubuntu-22.04, 1.70, x86_64-unknown-linux-gnu) (push) Has been cancelled
CI / build-test (ubuntu-22.04, beta, x86_64-unknown-linux-gnu) (push) Has been cancelled
CI / build-test (ubuntu-22.04, nightly, x86_64-unknown-linux-gnu) (push) Has been cancelled
CI / build-test (ubuntu-22.04, true, stable, i686-unknown-linux-gnu) (push) Has been cancelled
CI / report (push) Has been cancelled
CI / release (push) Has been cancelled
Docker Publish / build (push) Has been cancelled

This commit is contained in:
Mark
2024-02-29 10:08:08 -07:00
parent 641765858f
commit b70f121e46
7 changed files with 43 additions and 40 deletions

58
Cargo.lock generated
View File

@@ -1279,8 +1279,9 @@ dependencies = [
[[package]] [[package]]
name = "iai-callgrind" name = "iai-callgrind"
version = "0.8.0" version = "0.9.0"
source = "git+https://github.com/iai-callgrind/iai-callgrind.git?rev=c77bc3c83d7f4e976cc42d4597236a8db259e772#c77bc3c83d7f4e976cc42d4597236a8db259e772" source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "7ebd67b0ae963bb8b800829320c264fcf71f821e3aed0c004ee252c99dbff3f7"
dependencies = [ dependencies = [
"bincode", "bincode",
"iai-callgrind-macros", "iai-callgrind-macros",
@@ -1290,7 +1291,8 @@ dependencies = [
[[package]] [[package]]
name = "iai-callgrind-macros" name = "iai-callgrind-macros"
version = "0.1.0" version = "0.1.0"
source = "git+https://github.com/iai-callgrind/iai-callgrind.git?rev=c77bc3c83d7f4e976cc42d4597236a8db259e772#c77bc3c83d7f4e976cc42d4597236a8db259e772" source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "af5af66b85e350097b8c0f6329c6347d3323d010443475741c29a1a167f116fb"
dependencies = [ dependencies = [
"proc-macro-error", "proc-macro-error",
"proc-macro2", "proc-macro2",
@@ -1300,9 +1302,11 @@ dependencies = [
[[package]] [[package]]
name = "iai-callgrind-runner" name = "iai-callgrind-runner"
version = "0.8.0" version = "0.9.0"
source = "git+https://github.com/iai-callgrind/iai-callgrind.git?rev=c77bc3c83d7f4e976cc42d4597236a8db259e772#c77bc3c83d7f4e976cc42d4597236a8db259e772" source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "6a465e75ad1dfe0fbbb3ee22f5f7d5c077401e412059edb5f3856b1734668bee"
dependencies = [ dependencies = [
"lazy_static",
"serde", "serde",
] ]
@@ -1650,25 +1654,6 @@ dependencies = [
"winapi", "winapi",
] ]
[[package]]
name = "modular-bitfield"
version = "0.11.2"
source = "git+https://github.com/mthom/modular-bitfield#213535c684af277563678179d8496f11b84a283f"
dependencies = [
"modular-bitfield-impl",
"static_assertions",
]
[[package]]
name = "modular-bitfield-impl"
version = "0.11.2"
source = "git+https://github.com/mthom/modular-bitfield#213535c684af277563678179d8496f11b84a283f"
dependencies = [
"proc-macro2",
"quote",
"syn 1.0.109",
]
[[package]] [[package]]
name = "multer" name = "multer"
version = "2.1.0" version = "2.1.0"
@@ -2548,9 +2533,30 @@ version = "1.2.0"
source = "registry+https://github.com/rust-lang/crates.io-index" source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "94143f37725109f92c262ed2cf5e59bce7498c01bcc1502d7b9afe439a4e9f49" checksum = "94143f37725109f92c262ed2cf5e59bce7498c01bcc1502d7b9afe439a4e9f49"
[[package]]
name = "scryer-modular-bitfield"
version = "0.11.4"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "d1f26c70c56d2c94a02545d86384b91994532c2be928c974784b603c2b1f76ac"
dependencies = [
"scryer-modular-bitfield-impl",
"static_assertions",
]
[[package]]
name = "scryer-modular-bitfield-impl"
version = "0.11.2"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "212164841808ccfccf1b0471d91f8cfe675eeb60dbb96e4ca7a1f37b22570a29"
dependencies = [
"proc-macro2",
"quote",
"syn 1.0.109",
]
[[package]] [[package]]
name = "scryer-prolog" name = "scryer-prolog"
version = "0.9.3" version = "0.9.4"
dependencies = [ dependencies = [
"assert_cmd", "assert_cmd",
"base64 0.12.3", "base64 0.12.3",
@@ -2583,7 +2589,6 @@ dependencies = [
"libffi", "libffi",
"libloading", "libloading",
"maplit", "maplit",
"modular-bitfield",
"native-tls", "native-tls",
"num-order", "num-order",
"ordered-float", "ordered-float",
@@ -2601,6 +2606,7 @@ dependencies = [
"roxmltree", "roxmltree",
"rustyline", "rustyline",
"ryu", "ryu",
"scryer-modular-bitfield",
"select", "select",
"serde", "serde",
"serde-wasm-bindgen", "serde-wasm-bindgen",

View File

@@ -1,6 +1,6 @@
[package] [package]
name = "scryer-prolog" name = "scryer-prolog"
version = "0.9.3" version = "0.9.4"
authors = ["Mark Thom <markjordanthom@gmail.com>"] authors = ["Mark Thom <markjordanthom@gmail.com>"]
edition = "2021" edition = "2021"
description = "A modern Prolog implementation written mostly in Rust." description = "A modern Prolog implementation written mostly in Rust."
@@ -57,7 +57,7 @@ lazy_static = "1.4.0"
lexical = "5.2.2" lexical = "5.2.2"
libc = "0.2.62" libc = "0.2.62"
libloading = "0.7" libloading = "0.7"
modular-bitfield = "0.11.2" scryer-modular-bitfield = "0.11.4"
num-order = { version = "1.2.0" } num-order = { version = "1.2.0" }
ordered-float = "2.6.0" ordered-float = "2.6.0"
phf = { version = "0.9", features = ["macros"] } phf = { version = "0.9", features = ["macros"] }
@@ -118,15 +118,12 @@ serial_test = "2.0.0"
[target.'cfg(not(all(target_arch = "wasm32", target_os = "unknown")))'.dev-dependencies] [target.'cfg(not(all(target_arch = "wasm32", target_os = "unknown")))'.dev-dependencies]
assert_cmd = "1.0.3" assert_cmd = "1.0.3"
criterion = "0.5.1" criterion = "0.5.1"
iai-callgrind = { git = "https://github.com/iai-callgrind/iai-callgrind.git", rev = "c77bc3c83d7f4e976cc42d4597236a8db259e772" } iai-callgrind = "0.9.0"
trycmd = "0.14.19" trycmd = "0.14.19"
[target.'cfg(not(any(target_os = "windows", all(target_arch = "wasm32", target_os = "unknown"))))'.dev-dependencies] [target.'cfg(not(any(target_os = "windows", all(target_arch = "wasm32", target_os = "unknown"))))'.dev-dependencies]
pprof = { version = "0.13.0", features = ["criterion", "flamegraph"] } pprof = { version = "0.13.0", features = ["criterion", "flamegraph"] }
[patch.crates-io]
modular-bitfield = { git = "https://github.com/mthom/modular-bitfield" }
[profile.bench] [profile.bench]
lto = true lto = true
opt-level = 3 opt-level = 3

View File

@@ -17,7 +17,7 @@ use std::sync::Weak;
use indexmap::IndexSet; use indexmap::IndexSet;
use modular_bitfield::prelude::*; use scryer_modular_bitfield::prelude::*;
#[derive(Copy, Clone, Debug, PartialEq, Eq)] #[derive(Copy, Clone, Debug, PartialEq, Eq)]
pub struct Atom { pub struct Atom {

View File

@@ -8,7 +8,7 @@ use crate::machine::stack::*;
use crate::types::*; use crate::types::*;
use core::marker::PhantomData; use core::marker::PhantomData;
use modular_bitfield::prelude::*; use scryer_modular_bitfield::prelude::*;
use std::ops::Deref; use std::ops::Deref;
use std::vec::Vec; use std::vec::Vec;

View File

@@ -10,8 +10,8 @@ use crate::machine::ClauseType;
use fxhash::FxBuildHasher; use fxhash::FxBuildHasher;
use indexmap::{IndexMap, IndexSet}; use indexmap::{IndexMap, IndexSet};
use modular_bitfield::specifiers::*; use scryer_modular_bitfield::specifiers::*;
use modular_bitfield::{bitfield, BitfieldSpecifier}; use scryer_modular_bitfield::{bitfield, BitfieldSpecifier};
use std::cmp::Ordering; use std::cmp::Ordering;
use std::collections::BTreeSet; use std::collections::BTreeSet;

View File

@@ -12,7 +12,7 @@ use crate::machine::machine_indices::*;
use crate::machine::machine_state::*; use crate::machine::machine_state::*;
use crate::types::*; use crate::types::*;
pub use modular_bitfield::prelude::*; pub use scryer_modular_bitfield::prelude::*;
use std::cmp::Ordering; use std::cmp::Ordering;
use std::error::Error; use std::error::Error;

View File

@@ -17,8 +17,8 @@ use crate::parser::dashu::{Integer, Rational};
use fxhash::FxBuildHasher; use fxhash::FxBuildHasher;
use indexmap::IndexMap; use indexmap::IndexMap;
use modular_bitfield::error::OutOfBounds; use scryer_modular_bitfield::error::OutOfBounds;
use modular_bitfield::prelude::*; use scryer_modular_bitfield::prelude::*;
pub type Specifier = u32; pub type Specifier = u32;
@@ -537,7 +537,7 @@ impl Fixnum {
#[inline] #[inline]
pub fn get_tag(&self) -> HeapCellValueTag { pub fn get_tag(&self) -> HeapCellValueTag {
use modular_bitfield::Specifier; use scryer_modular_bitfield::Specifier;
HeapCellValueTag::from_bytes(self.tag()).unwrap() HeapCellValueTag::from_bytes(self.tag()).unwrap()
} }