diff options
| author | Martin <mhaug@live.de> | 2021-08-18 18:12:26 +0200 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2021-08-18 18:12:26 +0200 |
| commit | c44ecbfbd2706bf8e09728f2c85135aa2299d542 (patch) | |
| tree | 1a7fe1b7f1627ed63817030468476ef4a5dc2b9e /Cargo.toml | |
| parent | 011865ab5c8943abcb64c7b545e265d1a65db32a (diff) | |
Move to exclusively oneshot benchmarks with Iai fork (#41)
Diffstat (limited to 'Cargo.toml')
| -rw-r--r-- | Cargo.toml | 9 |
1 files changed, 6 insertions, 3 deletions
@@ -10,9 +10,6 @@ cli = ["anyhow", "codespan-reporting", "fs", "same-file"] fs = ["dirs", "memmap2", "same-file", "walkdir"] layout-cache = [] -[workspace] -members = ["bench"] - [profile.dev] # Faster compilation debug = 0 @@ -44,6 +41,7 @@ walkdir = { version = "2", optional = true } walkdir = "2" tiny-skia = "0.5" usvg = { version = "0.15", default-features = false } +iai = { git = "https://github.com/reknih/iai" } [[bin]] name = "typst" @@ -53,3 +51,8 @@ required-features = ["cli"] name = "typeset" required-features = ["fs"] harness = false + +[[bench]] +name = "oneshot" +path = "benches/oneshot.rs" +harness = false |
