2022-06-03 02:03:37 +02:00
|
|
|
[package]
|
|
|
|
name = "plotter"
|
|
|
|
version = "0.1.0"
|
|
|
|
edition = "2021"
|
|
|
|
|
|
|
|
# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html
|
|
|
|
|
|
|
|
[[bin]]
|
|
|
|
name = "plotter_bin"
|
|
|
|
path = "src/main.rs"
|
|
|
|
|
|
|
|
[lib]
|
|
|
|
crate-type = ["cdylib", "rlib"]
|
|
|
|
|
|
|
|
[dependencies]
|
2022-06-06 04:42:06 +02:00
|
|
|
dirs = "4"
|
2022-06-03 02:03:37 +02:00
|
|
|
rand = "0.8"
|
|
|
|
chrono = { version = "0.4", features = ["wasmbind"] }
|
|
|
|
eframe = { version = "0.18", features = ["persistence"] }
|
|
|
|
serde = { version = "1", features = ["derive"] }
|
|
|
|
serde_json = "1"
|
2022-06-05 20:05:39 +02:00
|
|
|
jq-rs = "0.4"
|
|
|
|
rusqlite = { version = "0.27" }
|
2022-06-03 02:03:37 +02:00
|
|
|
ehttp = "0.2.0"
|
2022-06-05 20:05:39 +02:00
|
|
|
reqwest = { version = "0.11", features = ["json"] }
|
|
|
|
|
|
|
|
# native only dependancies:
|
|
|
|
[target.'cfg(not(target_arch = "wasm32"))'.dependencies]
|
|
|
|
tokio = { version = "1", features = ["full"] } # TODO do we need full features?
|
|
|
|
|
|
|
|
# web only dependancies:
|
2022-06-03 02:03:37 +02:00
|
|
|
[target.'cfg(target_arch = "wasm32")'.dependencies]
|
|
|
|
console_error_panic_hook = "0.1.6"
|
|
|
|
tracing-wasm = "0.2"
|
2022-06-05 20:05:39 +02:00
|
|
|
|
|
|
|
[env]
|
|
|
|
JQ_LIB_DIR="/usr/lib"
|