Skip to content

Commit

Permalink
Merge pull request #1 from JmPotato/fix_the_rand_dependency
Browse files Browse the repository at this point in the history
Cargo.toml, src: fix the building feature of the rand crate
  • Loading branch information
kennytm authored Aug 5, 2023
2 parents 651eb4c + 2445192 commit 9ed5485
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 3 deletions.
2 changes: 1 addition & 1 deletion Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ structopt = { version = "0.3", optional = true }
pest = "2.1"
pest_derive = "2.1"
thiserror = "1.0"
rand = { version = "0.8", default-features = false }
rand = { version = "0.8", default-features = false, features = ["getrandom"] }
data-encoding = "2.3"
data-encoding-macro = "0.1"
regex-syntax = "0.6"
Expand Down
2 changes: 0 additions & 2 deletions src/writer.rs
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,6 @@ struct TableState<'a, W: Writer> {
#[derive(Debug)]
pub struct Env<'a, W: Writer> {
state: &'a mut State,
qualified: bool,
tables: Vec<TableState<'a, W>>,
}

Expand Down Expand Up @@ -84,7 +83,6 @@ impl<'a, W: Writer> Env<'a, W> {
})
.collect::<Result<_, _>>()?,
state,
qualified,
})
}

Expand Down

0 comments on commit 9ed5485

Please sign in to comment.