35 lines
958 B
TOML
35 lines
958 B
TOML
[package]
|
|
name = "wfassoc-cdylib"
|
|
version = "0.1.0"
|
|
authors = ["yyc12345"]
|
|
edition = "2024"
|
|
description = "The dynamic library exposed for C/C++ users reading or manipulating Windows file assocation."
|
|
license = "MIT"
|
|
|
|
[lib]
|
|
crate-type = ["cdylib"]
|
|
|
|
[dependencies]
|
|
thiserror = { workspace = true }
|
|
sarasacw-omrf = { git = "https://github.com/SarasasChipWorkshop/sarasacw-omrf.git"}
|
|
# sarasacw-omrf = { version="1.0.0", git = "https://github.com/SarasasChipWorkshop/sarasacw-omrf.git", tag = "omrf/1.0.0" }
|
|
wfassoc = { path="../wfassoc" }
|
|
slotmap = "1.1.1"
|
|
num_enum = "0.7.6"
|
|
|
|
[profile.release]
|
|
# Any panics is seen as `std::abort` in production environment.
|
|
panic = "abort"
|
|
|
|
[package.metadata.omrf]
|
|
min_version = "1.0.0"
|
|
headers = [
|
|
{ from = "cbinding/*.h", to = "" }
|
|
]
|
|
[package.metadata.omrf.cmake]
|
|
namespace_name = "wfassoc"
|
|
target_name = "wfassoc"
|
|
[package.metadata.omrf.pkgconfig]
|
|
id = "wfassoc"
|
|
name = "Windows file association manipulation library"
|