gentoo-linux-surface-overlay/app-misc/surface-dtx-daemon/files/cargo.patch

49 lines
1.2 KiB
Diff
Raw Normal View History

2021-07-30 20:29:44 -07:00
--- a/Cargo.toml 2021-07-30 19:57:48.471382115 -0700
+++ b/Cargo.toml 2021-07-30 20:13:26.297811214 -0700
2021-07-30 20:13:54 -07:00
@@ -1,10 +1,43 @@
-[workspace]
+[package]
2021-07-30 20:09:29 -07:00
+name = "surface-dtx-daemon"
+version = "0.3.0"
2021-07-30 20:13:54 -07:00
+authors = ["Maximilian Luz <luzmaximilian@gmail.com>"]
2021-07-30 20:09:29 -07:00
+description = "Linux User-Space Detachment System (DTX) Daemon for the Surface ACPI Driver (and Surface Books). Currently only the Surface Book 2 is supported, due to lack of driver-support on the Surface Book 1. This may change in the future."
2021-07-30 20:13:54 -07:00
members = [
"surface-dtx-daemon",
"surface-dtx-userd",
]
2021-07-30 20:09:29 -07:00
+repository = "https://github.com/linux-surface/surface-dtx-daemon"
2021-07-30 20:13:54 -07:00
+readme = "README.md"
+license = "MIT"
+
+edition = "2018"
+build = "build.rs"
+
+[dependencies]
+anyhow = "1.0.40"
+clap = "2.33.3"
+indoc = "1.0.3"
+nix = "0.20.0"
+sdtx = { git = "https://github.com/linux-surface/libsurfacedtx", tag = "v0.1.0" }
+serde = "1.0.125"
+serde_json = "1.0.64"
+thiserror = "1.0.24"
+udev = "0.6.2"
+
+[build-dependencies]
+anyhow = "1.0.40"
+clap = "2.33.3"
+indoc = "1.0.3"
+nix = "0.20.0"
+sdtx = { git = "https://github.com/linux-surface/libsurfacedtx", tag = "v0.1.0" }
+serde = "1.0.125"
+serde_json = "1.0.64"
+thiserror = "1.0.24"
+udev = "0.6.2"
+
[profile.release]
lto = true
codegen-units = 1