Skip to content

Commit

Permalink
Merge pull request #106 from lqd/cleanups
Browse files Browse the repository at this point in the history
Reduce initial compile time
  • Loading branch information
nikomatsakis committed Apr 19, 2019
2 parents 8c8eabe + 3d60a18 commit e6dc855
Show file tree
Hide file tree
Showing 5 changed files with 7 additions and 16 deletions.
8 changes: 4 additions & 4 deletions Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

4 changes: 1 addition & 3 deletions Cargo.toml
Expand Up @@ -12,16 +12,14 @@ edition = "2018"
[dev-dependencies]
assert_cli = "0.6"
diff = "0.1.0"
polonius-parser = {version = "0.2.0", path = "polonius-parser" }

[dependencies]
log = "0.4"
env_logger = "0.5"
datafrog = "2.0.0"
failure = "0.1.1"
rustc-hash = "1.0.0"
structopt = "0.2.8"
clap = "2.31.2"
polonius-engine = {version = "0.7.0", path = "polonius-engine" }
polonius-parser = {version = "0.2.0", path = "polonius-parser" }

[workspace]
5 changes: 0 additions & 5 deletions src/dump.rs
Expand Up @@ -501,11 +501,6 @@ fn maybe_render_point(
&output_tuples));
}

fn write_string(f: &mut File, s: &str) -> io::Result<()> {
f.write_all(&s.bytes().collect::<Vec<_>>())?;
Ok(())
}

fn escape_for_graphviz(s: &str) -> String {
s.replace(r"\", r"\\")
.replace("\"", "\\\"")
Expand Down
4 changes: 0 additions & 4 deletions src/lib.rs
@@ -1,10 +1,6 @@
#![allow(dead_code)]

extern crate clap;
extern crate datafrog;
extern crate failure;
extern crate polonius_engine;
extern crate polonius_parser;
extern crate rustc_hash;
extern crate structopt;

Expand Down
2 changes: 2 additions & 0 deletions src/program.rs
@@ -1,3 +1,5 @@
#![cfg(test)]

use std::collections::BTreeSet;

use polonius_parser::{
Expand Down

0 comments on commit e6dc855

Please sign in to comment.