40 lines
1.5 KiB
TOML
40 lines
1.5 KiB
TOML
|
[package]
|
||
|
name = "notifymylimits"
|
||
|
version = "0.1.0"
|
||
|
edition = "2021"
|
||
|
|
||
|
# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html
|
||
|
|
||
|
[dependencies]
|
||
|
tokio = { version = "1", features = ["full"] }
|
||
|
notify-rust = { version = "4.10.0"}
|
||
|
# heim = { version = "0.0.11", default-fatures = false, features = ["host", "sensors", "net"] }
|
||
|
# heim-host = { version = "0.0.11" }
|
||
|
# heim = { git = "https://github.com/andodeki/heim.git", rev = "5ed73cf", default-fatures = false, features = ["host", "sensors", "net"]}
|
||
|
heim = { git = "https://github.com/heim-rs/heim.git", branch = "master", default-fatures = false, features = ["host", "sensors", "net"]}
|
||
|
heim-host = { git = "https://github.com/heim-rs/heim.git", branch = "master"}
|
||
|
battery = "0.7.8"
|
||
|
libc = "0.2.152"
|
||
|
futures = "0.3.30"
|
||
|
pcap = "1.1.0"
|
||
|
chrono = "0.4.31"
|
||
|
objc = "0.2.7"
|
||
|
psutil = { version = "3.3.0", optional = true }
|
||
|
procfs = { version = "0.16.0", optional = true }
|
||
|
cocoa = "0.25.0"
|
||
|
core-graphics = "0.23.2"
|
||
|
core-foundation = "0.9.4"
|
||
|
|
||
|
[features]
|
||
|
default = []
|
||
|
linux = ["procfs"]
|
||
|
android = ["procfs"]
|
||
|
macos = ["psutil"]
|
||
|
|
||
|
[patch.crates-io]
|
||
|
heim = { git = "https://github.com/andodeki/heim.git", rev = "5ed73cf"}
|
||
|
heim-host = { git = "https://github.com/andodeki/heim.git", rev = "5ed73cf"}
|
||
|
# heim = { git = "https://github.com/heim-rs/heim.git", rev = "b292f15"}
|
||
|
# notify-rust = { git = "https://github.com/hoodie/notify-rust.git", rev = "996953c"}
|
||
|
notify-rust = { git = "https://github.com/andodeki/notify-rust.git", rev = "175bd7c"}
|