refacotr: use omrf to replace all wheels I invented
This commit is contained in:
@@ -3,14 +3,32 @@ name = "wfassoc-cdylib"
|
||||
version = "0.1.0"
|
||||
authors = ["yyc12345"]
|
||||
edition = "2024"
|
||||
description = "The dynamic wfassoc library exposed for C/C++ and other languages users."
|
||||
license = "SPDX:MIT"
|
||||
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"
|
||||
|
||||
Reference in New Issue
Block a user