37 lines
1,018 B
TOML
37 lines
1,018 B
TOML
# SPDX-FileCopyrightText: 2025 Ada Freya Ahmed (neptuwunium)
|
|
# SPDX-License-Identifier: EUPL-1.2
|
|
|
|
[package]
|
|
name = "witch-common"
|
|
license.workspace = true
|
|
version.workspace = true
|
|
edition.workspace = true
|
|
authors.workspace = true
|
|
repository.workspace = true
|
|
|
|
[dependencies]
|
|
anyhow = "1"
|
|
binrw = "0"
|
|
bitflags = { version = "2", features = ["serde", "bytemuck"] }
|
|
bytemuck = { version = "1", features = ["derive"] }
|
|
iced-x86 = "1"
|
|
int-enum = "1"
|
|
log = "0"
|
|
minidump = { version = "0", optional = true }
|
|
serde = { version = "1", optional = true, features = ["derive"] }
|
|
serde-hex = { version = "0", optional = true }
|
|
|
|
[features]
|
|
default = ["minidump"]
|
|
serde = ["dep:serde", "serde-hex"]
|
|
|
|
[target.'cfg(target_os = "linux")'.dependencies]
|
|
libc = "0"
|
|
|
|
[target.'cfg(target_os = "windows")'.dependencies]
|
|
windows = { version = "0", default-features = false, features = [
|
|
"Foundation",
|
|
"Win32_System_Diagnostics_Debug", "Win32_System_Threading", "Win32_System_ProcessStatus",
|
|
"Win32_System_Memory", "Win32_System_Kernel"
|
|
] }
|