1+ # ![target.'cfg_attr(feature = "unstable", feature(unstable))']
12# cargo-features = ["profile-rustflags"]
23
34[workspace ]
@@ -7,7 +8,7 @@ members = [
78resolver = " 3"
89
910[workspace .package ]
10- version = " 0.6.13-pre "
11+ version = " 0.6.13"
1112authors = [" Masato TOYOSHIMA" , " phoepsilonix <phoepsilonix@gmail.com>" ]
1213edition = " 2021"
1314rust-version = " 1.84"
@@ -20,18 +21,15 @@ license = "MIT"
2021lib-dict-to-mozc = { path = " ./crates/dict-to-mozc" }
2122argh = { version = " 0.1.13" , default-features = false , features = [ " help" ] }
2223csv = { version = " 1.3.1" , default-features = true }
23- kanaria = { git = " https://github.com/phoepsilonix/kanaria.git " , rev = " 18ca812a1fe8c7f30a753aecc2681db1f18031e8 " , version = " 0.2.1 " , default-features = false }
24+ kanaria = { version = " 0.2.0 " , default-features = false }
2425lazy-regex = { version = " 3.4.1" , default-features = false , features = [ " perf-dfa" , " unicode" ] }
2526indexmap = { version = " 2.7.0" , default-features = false , features = [] }
2627hashbrown = { version = " 0.15.2" , default-features = false , features = [ " allocator-api2" , " default-hasher" , " equivalent" , " inline-more" , " raw-entry" ] }
27- mimalloc-rust = { version = " 0.2.1" }
28+ mimalloc-rust = { version = " 0.2.1" , default-features = false }
2829
2930mimalloc = { version = " 0.1.43" }
3031snmalloc-rs = { version = " 0.3.7" , features = [" lto" ] }
3132tcmalloc = { version = " 0.3.0" }
32- # allocator-api2 = { version = "0.2.21", default-features = false, features = [] }
33- # foldhash = "0.1.3"
34- # fxhash = "0.2.1"
3533
3634[profile .release ]
3735debug = true
@@ -62,6 +60,10 @@ repository.workspace = true
6260license.workspace = true
6361version.workspace = true
6462
63+ [patch .crates-io ]
64+ cc = { git = " https://github.com/rust-lang/cc-rs.git" , rev = " 2e74353eb1d021ed272bc606242b2c700de9cbaa" }
65+ kanaria = { git = " https://github.com/samunohito/kanaria.git" , rev = " 18ca812a1fe8c7f30a753aecc2681db1f18031e8" }
66+
6567[dependencies ]
6668argh.workspace = true
6769csv.workspace = true
@@ -70,9 +72,10 @@ indexmap.workspace = true
7072kanaria.workspace = true
7173lazy-regex.workspace = true
7274lib-dict-to-mozc = { workspace = true }
73- mimalloc-rust = { workspace = true , optional = true }
7475
75- # [target.'cfg(any(not(any(target_arch = "arm", target_arch = "aarch64")),all(target_arch = "aarch64", not(target_os = "windows"))))'.dependencies]
76+ mimalloc-rust = { workspace = true , optional = true , features = [] , default-features = false }
77+
78+ [target .'cfg(any(not(any(target_arch = "arm", target_arch = "aarch64")),all(target_arch = "aarch64", not(target_os = "windows"))))' .dependencies ]
7679mimalloc = { workspace = true , optional = true }
7780snmalloc-rs = { workspace = true , optional = true }
7881tcmalloc = { workspace = true , optional = true }
@@ -86,6 +89,8 @@ name = "dict-to-mozc"
8689
8790[features ]
8891default = []
92+ unstable = [ " unstable-mimalloc" ]
93+ unstable-mimalloc = [ " mimalloc-rust/unstable" ]
8994use-mimalloc-rs = [" dep:mimalloc-rust" ]
9095
9196use-mimalloc = [" dep:mimalloc" ]
0 commit comments