-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathCargo.toml
More file actions
49 lines (44 loc) · 1.88 KB
/
Copy pathCargo.toml
File metadata and controls
49 lines (44 loc) · 1.88 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
[package]
name = "bdemu"
version = "1.7.0"
edition = "2024"
rust-version = "1.98"
# OFF crates.io: bdemu git-deps freemkv-unlock (never published), so it can only
# be built from source, not published. Marking it private also lets cargo-deny's
# allow-wildcard-paths apply to the internal sibling deps (see deny.toml).
publish = false
license = "MIT"
description = "Blu-ray Drive Emulator — LD_PRELOAD SCSI interceptor with JSON profiles"
repository = "https://github.com/freemkv/bdemu"
readme = "README.md"
keywords = ["bluray", "emulator", "scsi", "testing", "disc"]
categories = ["development-tools::testing", "hardware-support"]
# Keep internal AI-instruction / private notes out of the published crate.
exclude = ["CLAUDE.md"]
[lib]
crate-type = ["cdylib"]
[[bin]]
name = "bdemu"
path = "src/bin.rs"
[dependencies]
libc = "0.2"
serde = { version = "1", features = ["derive"] }
serde_json = "1"
once_cell = "1"
libfreemkv = "1.6"
# bdemu impersonates an ld-unlockable drive, so it needs the drive-emulation
# surface (`ld::profiles()` + the unlock-handshake wire format) — the `emulation`
# feature. Same single freemkv-unlock crate libfreemkv depends on. Interim path
# dep (mirrors libfreemkv); the release script re-pins to the git tag.
freemkv-unlock = { git = "https://github.com/freemkv/freemkv-unlock", tag = "v1.6.14", features = ["emulation"] }
[profile.release]
lto = "thin"
codegen-units = 1
# Resolve libfreemkv from its GIT TAG instead of crates.io, so the release build
# starts the instant the libfreemkv tag exists — no waiting on the crates.io
# publish + index propagation. This [patch.crates-io] is committed (CI-visible).
# The release script rewrites this tag to the new version before regenerating
# Cargo.lock. Local dev overrides it with a path patch via the gitignored
# .cargo/config.toml.
[patch.crates-io]
libfreemkv = { git = "https://github.com/freemkv/libfreemkv", tag = "v1.6.14" }