Viewing files at commit c10cefe7abe5Commit detailsView latest

oakmark/oak-engine/Cargo.toml.in 35 lines · 1.4 KB · plaintext
1
# Standalone benchmark tooling for oakmark. Declares its own empty [workspace]
2
# so it never gets absorbed into any ancestor Cargo workspace — it lives beside
3
# a Go harness, not inside a Rust workspace.
4
[workspace]
5
6
[package]
7
name = "oak-engine"
8
version = "0.1.0"
9
edition = "2021"
10
publish = false
11
12
[[bin]]
13
name = "oak-engine"
14
path = "src/main.rs"
15
16
[dependencies]
17
# Reuse Oak's core object-building so commit/tree/blob hashes are correct by
18
# construction (the server re-verifies every content address). default-features
19
# = false drops the local SQLite/git backends we don't need — we only want the
20
# data model, hashing, tree builder, and the wire-protocol DTOs.
21
# This is a TEMPLATE. build-engine.sh renders it into a gitignored Cargo.toml,
22
# substituting @OAK_CORE@ with the absolute path to a local oak `core/` checkout
23
# (oakvcs-core is not confirmed on crates.io, and the absolute path is required
24
# so Cargo can resolve oakvcs-core's `workspace = true` deps against the oak
25
# workspace root). Run `./build-engine.sh [OAK_CORE_PATH]`, not `cargo build`.
26
oak-core = { package = "oakvcs-core", version = "0.101.0", default-features = false, path = "@OAK_CORE@" }
27
28
reqwest = { version = "0.12", default-features = false, features = ["blocking", "json", "rustls-tls"] }
29
serde = { version = "1", features = ["derive"] }
30
serde_json = "1"
31
base64 = "0.22"
32
chrono = "0.4"
33
34
[profile.release]
35
opt-level = 3