-
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathCargo.toml
85 lines (73 loc) · 2.52 KB
/
Cargo.toml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
[package]
name = "imagenex831l"
version = { workspace = true }
keywords = { workspace = true }
edition = { workspace = true }
[workspace]
resolver = "2"
members = [ "cli" ]
[workspace.package]
version = "0.1.0"
edition = "2021"
keywords = ["imagenex", "pipe", "sonar", "inspection"]
license = "MIT"
repository = "https://github.com/johnlettman/imagenex831l"
[lib]
name = "imagenex831l"
crate-type = ["cdylib", "rlib"]
[features]
nightly = ["dep:backtrace", "binrw/verbose-backtrace"]
pyo3 = ["dep:pyo3", "dep:pyo3-file", "dep:pyo3-log"]
serde = ["dep:serde", "chrono/serde"]
syslog = ["dep:slog-syslog"]
termlog = ["dep:slog-term"]
journald = [] # reserved for Linux
[dev-dependencies]
test-log = "0.2"
assert_matches = "1.5"
env_logger = { version = "0.11", features = ["default"] }
[dependencies]
binrw = { version = "0.14" }
modular-bitfield = "0.11"
serde = { version = "1.0", optional = true }
clap = { version = "4.5.29", features = ["derive"] }
log = { version = "0.4" }
chrono = { version = "0.4" }
thiserror = "2.0"
const_format = "0.2"
num-derive = "0.4"
derive-new = "0.7"
num-traits = "0.2"
memmap2 = "0.9"
git-version = "0.3"
project-root = "0.2"
pyo3 = { version = "0.23", features = ["extension-module", "chrono"], optional = true }
pyo3-file = { version = "0.10.0", optional = true }
pyo3-log = { version = "0.12.1", optional = true }
backtrace = { version = "0.3.73", optional = true }
slog = "2.7.0"
slog-scope = "4.4.0"
slog-stdlog = "4.1.1"
slog-async = "2.8.0"
slog-syslog = { version = "0.13.0", optional = true }
slog-term = { version = "2.9.1", optional = true }
once_cell = "1.20.3"
[target.'cfg(target_os = "linux")'.features]
journald = ["dep:slog-journald"]
[target.'cfg(target_os = "linux")'.dependencies]
slog-journald = { version = "2.2.0", optional = true }
[target.'cfg(any(target_arch = "wasm32", target_arch = "wasm64"))'.features]
default = ["serde"]
[target.'cfg(any(target_arch = "wasm32", target_arch = "wasm64"))'.dependencies]
wasm-bindgen = "0.2"
tsify = "0.4"
chrono = { version = "0.4", features = ["serde"] }
serde = { version = "1.0", optional = false }
serde-wasm-bindgen = "0.6"
# The `console_error_panic_hook` crate provides better debugging of panics by
# logging them with `console.error`. This is great for development, but requires
# all the `std::fmt` and `std::panicking` infrastructure, so isn't great for
# code size when deploying.
console_error_panic_hook = { version = "0.1.6", optional = true }
[target.'cfg(any(target_arch = "wasm32", target_arch = "wasm64"))'.dev-dependencies]
wasm-bindgen-test = "0.3.50"