Skip to content

Commit

Permalink
minimize futures dep and re-add is_nullable
Browse files Browse the repository at this point in the history
  • Loading branch information
jdonszelmann committed Apr 24, 2024
1 parent 3f8457e commit 90e139e
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
2 changes: 1 addition & 1 deletion scopegraphs-regular-expressions/src/regex.rs
Original file line number Diff line number Diff line change
Expand Up @@ -178,7 +178,7 @@ impl Regex {
/// # use scopegraphs_regular_expressions::Regex;
/// assert!(Regex::EmptyString.is_nullable())
/// ```
pub(crate) fn is_nullable(&self) -> bool {
pub fn is_nullable(&self) -> bool {
match self {
Regex::EmptySet => false,
Regex::EmptyString => true,
Expand Down
3 changes: 2 additions & 1 deletion scopegraphs/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ rust-version = "1.75"
# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html

[dependencies]
futures = "0.3.30"
futures = { version = "0.3.30", default-features = false, features = ["std"] }
bumpalo = "3.14.0"
dot = { version = "0.1.4", optional = true }
scopegraphs-prust-lib = { version = "0.1.0" }
Expand All @@ -26,6 +26,7 @@ scopegraphs-regular-expressions = { path = "../scopegraphs-regular-expressions",
[dev-dependencies]
env_logger = "0.10.1"
ctor = "0.2.5"
futures = { version = "0.3.30", default-features = false, features = ["std", "executor"] }

[features]
default = ["dot", "dynamic-regex"]
Expand Down

0 comments on commit 90e139e

Please sign in to comment.