@@ -17,36 +17,36 @@ crate-type = ["cdylib", "rlib"]
1717
1818[features ]
1919all = [" config" , " dwarf" , " mips" , " ppc" , " x86" , " arm" , " bindings" ]
20- any-arch = [" bimap" ] # Implicit, used to check if any arch is enabled
21- config = [" bimap" , " globset" , " semver" , " serde_json" , " serde_yaml" ]
22- dwarf = [" gimli" ]
23- mips = [" any-arch" , " rabbitizer" ]
24- ppc = [" any-arch" , " cwdemangle" , " cwextab" , " ppc750cl" ]
25- x86 = [" any-arch" , " cpp_demangle" , " iced-x86" , " msvc-demangler" ]
26- arm = [" any-arch" , " cpp_demangle" , " unarm" , " arm-attr" ]
27- bindings = [" serde_json" , " prost" , " pbjson" ]
28- wasm = [" bindings" , " console_error_panic_hook" , " console_log" ]
20+ any-arch = [" config " , " dep: bimap" , " dep:strum " , " dep:similar " , " dep:flagset " , " dep:log " , " dep:memmap2 " , " dep:byteorder " , " dep:num-traits " ] # Implicit, used to check if any arch is enabled
21+ config = [" dep: bimap" , " dep: globset" , " dep: semver" , " dep: serde_json" , " dep: serde_yaml" , " dep:serde " , " dep:filetime " ]
22+ dwarf = [" dep: gimli" ]
23+ mips = [" any-arch" , " dep: rabbitizer" ]
24+ ppc = [" any-arch" , " dep: cwdemangle" , " dep: cwextab" , " dep: ppc750cl" ]
25+ x86 = [" any-arch" , " dep: cpp_demangle" , " dep: iced-x86" , " dep: msvc-demangler" ]
26+ arm = [" any-arch" , " dep: cpp_demangle" , " dep: unarm" , " dep: arm-attr" ]
27+ bindings = [" dep: serde_json" , " dep: prost" , " dep: pbjson" , " dep:serde " , " dep:prost-build " , " dep:pbjson-build " ]
28+ wasm = [" bindings" , " any-arch " , " dep: console_error_panic_hook" , " dep: console_log" , " dep:wasm-bindgen " , " dep:tsify-next " , " dep:log " ]
2929
3030[package .metadata .docs .rs ]
3131features = [" all" ]
3232
3333[dependencies ]
3434anyhow = " 1.0"
3535bimap = { version = " 0.6" , features = [" serde" ], optional = true }
36- byteorder = " 1.5"
37- filetime = " 0.2"
38- flagset = " 0.4"
39- log = " 0.4"
40- memmap2 = " 0.9"
41- num-traits = " 0.2"
36+ byteorder = { version = " 1.5" , optional = true }
37+ filetime = { version = " 0.2" , optional = true }
38+ flagset = { version = " 0.4" , optional = true }
39+ log = { version = " 0.4" , optional = true }
40+ memmap2 = { version = " 0.9" , optional = true }
41+ num-traits = { version = " 0.2" , optional = true }
4242object = { version = " 0.36" , features = [" read_core" , " std" , " elf" , " pe" ], default-features = false }
4343pbjson = { version = " 0.7" , optional = true }
4444prost = { version = " 0.13" , optional = true }
45- serde = { version = " 1.0" , features = [" derive" ] }
46- similar = { version = " 2.6" , default-features = false }
47- strum = { version = " 0.26" , features = [" derive" ] }
48- wasm-bindgen = " 0.2"
49- tsify-next = { version = " 0.5" , default-features = false , features = [" js" ] }
45+ serde = { version = " 1.0" , features = [" derive" ], optional = true }
46+ similar = { version = " 2.6" , default-features = false , optional = true }
47+ strum = { version = " 0.26" , features = [" derive" ], optional = true }
48+ wasm-bindgen = { version = " 0.2" , optional = true }
49+ tsify-next = { version = " 0.5" , default-features = false , features = [" js" ], optional = true }
5050console_log = { version = " 1.0" , optional = true }
5151console_error_panic_hook = { version = " 0.1" , optional = true }
5252
@@ -77,5 +77,5 @@ unarm = { version = "1.6", optional = true }
7777arm-attr = { version = " 0.1" , optional = true }
7878
7979[build-dependencies ]
80- prost-build = " 0.13"
81- pbjson-build = " 0.7"
80+ prost-build = { version = " 0.13" , optional = true }
81+ pbjson-build = { version = " 0.7" , optional = true }
0 commit comments