diff --git a/.config/nextest.toml b/.config/nextest.toml new file mode 100644 index 0000000..815c339 --- /dev/null +++ b/.config/nextest.toml @@ -0,0 +1,5 @@ +[profile.default] +slow-timeout = { period = "60s" } + +[profile.ci.junit] +path = "junit.xml" diff --git a/Cargo.toml b/Cargo.toml index d18fd27..4a93e2c 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -122,6 +122,17 @@ zip = { version = "9.0.3", default-features = false, features = ["deflate"] } # self-update hashes the ~1 GB debug binary at boot; unoptimized sha2 takes ~26 s. opt-level = 3 +[profile.dev.package.turso_core] +# store migrations run through turso_core on every test's fresh store; unoptimized it is slow. +opt-level = 3 +[profile.dev.package.turso_parser] +opt-level = 3 +[profile.dev.package.argon2] +# password hashing runs unoptimized in tests and dominates the login tests. +opt-level = 3 +[profile.dev.package.blake2] +opt-level = 3 + [profile.release] lto = true codegen-units = 1