Files
wfassoc/wfassoc-cdylib/Cargo.toml
T
yyc12345 27235c2619 fix: fix qwfassoc build error
- fix qwfassoc build error
- set version of wfassoc to official version
- add version restriction when qwfassoc finding wfassoc
- rename qwfassoc project name in cmake configuration file
- set standalone build to OFF in default
2026-08-18 20:27:08 +08:00

35 lines
958 B
TOML

[package]
name = "wfassoc-cdylib"
version = "1.0.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"