-
Notifications
You must be signed in to change notification settings - Fork 4
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
snap: add support for kernel-gpu-2404 #20
base: main
Are you sure you want to change the base?
Changes from all commits
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
.vscode |
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
/target |
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,13 @@ | ||
[package] | ||
name = "component-monitor" | ||
version = "0.1.0" | ||
edition = "2021" | ||
|
||
[dependencies] | ||
clap = { version = "4", default-features = false, features = ["derive", "env", "help", "std", "usage"] } | ||
exitcode = { version = "1", default-features = false } | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. I think this dependency can be safely dropped, it looks like it's just being used to get |
||
log = { version = "0.4", default-features = false } | ||
nix = { version = "0.29", default-features = false, features = ["inotify"] } | ||
signal-hook = { version = "0.3", default-features = false, features = ["iterator"] } | ||
systemd-journal-logger = { version = "2", default-features = false } | ||
walkdir = { version = "2", default-features = false } |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I'm a little surprised that the
color
,error-context
andsuggestions
features are absent, is this for compatibility? Personally I'm a sucker for pretty terminal applications :D (have you also considered thewrap_help
feature?) I see the rest of the dependencies deliberately don't have their default features enabled so I suspect this is all intentionalThere was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Really it's just for keeping it tight. It's not really a CLI application, just an internal service.
I dropped
default_features
across the board b/c I dislike things creeping up on me, is all ;)And Innes warned me about
nix
being heavy, so that's probably why ;)There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Ah, this sounds really good, thanks for the clarification!