-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathCargo.toml
More file actions
72 lines (68 loc) · 2.61 KB
/
Cargo.toml
File metadata and controls
72 lines (68 loc) · 2.61 KB
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
[package]
name = "pyref_rs"
version = "0.1.0"
edition = "2021"
authors = ["Harlan Heilman <Harlan.Heilman@wsu.edu>"]
description = "Enable running pyref workloads in Python"
documentation = "https://docs.rs/pyref/latest"
license = "GPL-3.0"
repository = "https://github.com/WSU-Carbon-Lab/pyref"
[lib]
crate-type = ["cdylib", "rlib"]
name = "pyref"
path = "src/lib.rs"
[[bin]]
name = "browser"
path = "src/bin/browser.rs"
required-features = ["tui"]
[features]
default = ["bindings", "catalog", "parallel_ingest"]
bindings = ["dep:pyo3", "dep:pyo3-polars", "dep:numpy"]
extension-module = ["bindings", "pyo3/extension-module", "pyo3/generate-import-lib"]
catalog = [
"dep:diesel",
"dep:diesel_migrations",
"dep:directories",
"dep:libsqlite3-sys",
"dep:walkdir",
"dep:zarrs",
"dep:crossbeam-channel",
]
parallel_ingest = ["catalog"]
zarr = ["catalog"]
tui = ["catalog", "watch", "parallel_ingest", "dep:ratatui", "dep:crossterm", "dep:toml", "dep:fuzzy-matcher", "dep:log", "dep:eframe"]
watch = ["dep:notify-debouncer-mini"]
[dependencies]
libblur = "0.22"
regex = "1.11"
chrono = "0.4"
glob-match = "0.2.1"
memmap2 = "0.9"
ndarray = "0.16"
numpy = {version = "0.22.0", optional = true}
physical_constants = "0.5.0"
polars = {version = "0.45.1", features = ["fmt", "dtype-u16", "lazy", "dtype-struct", "dtype-array", "dtype-datetime", "round_series", "ipc", "performant"]}
pyo3 = {version = "0.22.0", optional = true, features = ["abi3", "abi3-py312"]}
pyo3-polars = {version = "0.19.0", optional = true, features = ["lazy", "dtype-struct", "derive"]}
rayon = "1.10"
serde = {version = "1.0", features = ["derive"]}
thiserror = "2.0"
ratatui = {version = "0.29", optional = true, features = ["crossterm"]}
crossterm = {version = "0.28", optional = true}
toml = {version = "0.8", optional = true}
fuzzy-matcher = {version = "0.3", optional = true}
walkdir = {version = "2", optional = true}
crossbeam-channel = {version = "0.5", optional = true}
directories = {version = "6", optional = true}
notify-debouncer-mini = {version = "0.4", optional = true}
log = {version = "0.4", optional = true}
eframe = {version = "0.28", optional = true, default-features = true}
zarrs = {version = "0.23", optional = true, default-features = false, features = ["filesystem", "ndarray"]}
diesel = { version = "2.2", optional = true, features = ["sqlite", "returning_clauses_for_sqlite_3_35", "32-column-tables"] }
diesel_migrations = {version = "2.2", optional = true, features = ["sqlite"]}
libsqlite3-sys = {version = "0.28", optional = true, features = ["bundled"]}
sha2 = "0.11.0"
[dev-dependencies]
tempfile = "3.14"
rstest = "0.18"
predicates = "3.1"