Skip to content

Commit

Permalink
Merge pull request #216 from djc/update-deps
Browse files Browse the repository at this point in the history
Update dependencies
  • Loading branch information
jonhoo committed Sep 2, 2021
2 parents 9737ac7 + b7286df commit 8516c57
Show file tree
Hide file tree
Showing 38 changed files with 365 additions and 365 deletions.
10 changes: 5 additions & 5 deletions Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -27,25 +27,25 @@ multithreaded = ["dashmap", "crossbeam-utils", "crossbeam-channel", "num_cpus"]
nameattr = ["indexmap"]

[dependencies]
ahash = "0.6"
ahash = "0.7"
atty = "0.2"
crossbeam-utils = { version = "0.8", optional = true }
crossbeam-channel = { version = "0.5", optional = true }
dashmap = { version = "3", optional = true }
env_logger = { version = "0.8", default-features = false, optional = true }
dashmap = { version = "4", optional = true }
env_logger = { version = "0.9", default-features = false, optional = true }
indexmap = { version = "1.0", optional = true }
itoa = "0.4.3"
lazy_static = "1.3.0"
log = "0.4"
num_cpus = { version = "1.10", optional = true }
num-format = { version = "0.4", default-features = false }
quick-xml = { version = "0.20", default-features = false }
quick-xml = { version = "0.22", default-features = false }
rgb = "0.8.13"
str_stack = "0.1"
structopt = { version = "0.3", optional = true }

[dev-dependencies]
assert_cmd = "1"
assert_cmd = "2"
criterion = "0.3"
libflate = "1"
maplit = "1.0.1"
Expand Down
2 changes: 1 addition & 1 deletion azure-pipelines.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ jobs:
- template: default.yml@templates
parameters:
codecov_token: $(CODECOV_TOKEN_SECRET)
minrust: 1.43.0
minrust: 1.46.0
env:
RUST_BACKTRACE: 1
setup:
Expand Down
18 changes: 9 additions & 9 deletions src/flamegraph/svg.rs
Original file line number Diff line number Diff line change
Expand Up @@ -134,15 +134,15 @@ text {{ font-family:{}; font-size:{}px; fill:rgb(0,0,0); }}
.with_attributes(iter::once(("type", "text/ecmascript"))),
))?;
svg.write_event(Event::CData(BytesText::from_escaped_str(&format!(
"\
var nametype = {};
var fontsize = {};
var fontwidth = {};
var xpad = {};
var inverted = {};
var searchcolor = '{}';
var fluiddrawing = {};
var truncate_text_right = {};",
"
var nametype = {};
var fontsize = {};
var fontwidth = {};
var xpad = {};
var inverted = {};
var searchcolor = '{}';
var fluiddrawing = {};
var truncate_text_right = {};\n ",
enquote('\'', &opt.name_type),
opt.font_size,
opt.font_width,
Expand Down
20 changes: 10 additions & 10 deletions tests/data/flamegraph/colors/async-profiler-java.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
20 changes: 10 additions & 10 deletions tests/data/flamegraph/colors/deterministic.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
20 changes: 10 additions & 10 deletions tests/data/flamegraph/colors/java.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
20 changes: 10 additions & 10 deletions tests/data/flamegraph/colors/js.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
20 changes: 10 additions & 10 deletions tests/data/flamegraph/differential/diff-negated.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
20 changes: 10 additions & 10 deletions tests/data/flamegraph/differential/diff.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
20 changes: 10 additions & 10 deletions tests/data/flamegraph/example-perf-stacks/example-perf-stacks.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
20 changes: 10 additions & 10 deletions tests/data/flamegraph/factor/factor-2.5.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
20 changes: 10 additions & 10 deletions tests/data/flamegraph/flamechart/flame.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
20 changes: 10 additions & 10 deletions tests/data/flamegraph/fractional-samples/fractional-reversed.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
20 changes: 10 additions & 10 deletions tests/data/flamegraph/grey-frames/grey-frames.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
20 changes: 10 additions & 10 deletions tests/data/flamegraph/inverted/inverted.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading

0 comments on commit 8516c57

Please sign in to comment.