mirror of
https://github.com/allankoechke/turso.git
synced 2026-12-01 17:43:08 +00:00
inferno is licensed under CDDL-1.0, which is not allowed in the source tree. It was pulled in only by the flamegraph feature of pprof, which the core and SQL parser benches used to write a flamegraph during cargo bench --profile-time. Drop the profiler from those benches and remove pprof from the core and parser dev-dependencies. The FTS benchmark tool keeps pprof without the flamegraph feature, since it writes collapsed stacks itself and does not depend on inferno. The codspeed and non-codspeed criterion groups in most benches differed only by the profiler, so they are merged into one group where the result is identical.
41 lines
881 B
TOML
41 lines
881 B
TOML
[package]
|
|
name = "turso_parser"
|
|
version.workspace = true
|
|
authors.workspace = true
|
|
edition.workspace = true
|
|
license.workspace = true
|
|
repository.workspace = true
|
|
description = "The Turso parser library"
|
|
|
|
[lints]
|
|
workspace = true
|
|
|
|
[lib]
|
|
name = "turso_parser"
|
|
|
|
[features]
|
|
default = []
|
|
serde = ["dep:serde", "bitflags/serde"]
|
|
simulator = []
|
|
codspeed = []
|
|
|
|
[dependencies]
|
|
bitflags = { workspace = true }
|
|
miette = { workspace = true }
|
|
strum = { workspace = true }
|
|
strum_macros = {workspace = true }
|
|
serde = { workspace = true , optional = true, features = ["derive", "rc"] }
|
|
thiserror = { workspace = true }
|
|
turso_macros = { workspace = true }
|
|
memchr = "2.7.6"
|
|
|
|
[dev-dependencies]
|
|
fallible-iterator = { workspace = true }
|
|
criterion = { workspace = true, features = ["html_reports" ] }
|
|
codspeed-criterion-compat = { workspace = true }
|
|
|
|
|
|
[[bench]]
|
|
name = "parser_benchmark"
|
|
harness = false
|