Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
26 commits
Select commit Hold shift + click to select a range
34d22a8
Add padding between table and summary to match util-linux
Foorack Feb 8, 2025
4b4f493
Remove padding from table and add test
Foorack Feb 8, 2025
f609546
lsmem: Print summary with indent to match util-linux
Foorack Feb 8, 2025
afd27bd
lsmem: Fix JSON output to be matching util-linux
Foorack Feb 8, 2025
306a366
Add tests
Foorack Feb 8, 2025
b75db66
lsmem: Implement --all (-a)
Foorack Feb 8, 2025
165d1ed
lsmem: Fix SIZE column min-width in --all mode
Foorack Feb 8, 2025
6fbd0cd
lsmem: Remove tabled for fine-grained display
Foorack Feb 8, 2025
8b8728e
lsmem: implement --output column printing
Foorack Feb 8, 2025
57b9c1f
lsmem: Implement sysroot, add many test, more output alignment with u…
Foorack Feb 9, 2025
924537e
lsmem: Fix specified --output columns with raw print
Foorack Feb 9, 2025
8fa6345
lsmem: Fix specified --output columns with pairs print
Foorack Feb 9, 2025
89eeb23
lsmem: sort tests
Foorack Feb 9, 2025
58b6b85
lsmem: Fix specified --output columns with JSON print
Foorack Feb 9, 2025
eb93139
lsmem: cleanup utils.rs
Foorack Feb 9, 2025
f34ebac
lsmem: Fix JSON output writing size as Number in bytes-mode
Foorack Feb 9, 2025
f188fd2
lsmem: Fix splitting by zones
Foorack Feb 9, 2025
134ea11
lsmem: make printable columns override split columns if no split colu…
Foorack Feb 9, 2025
fd945fe
lsmem: better error messages in case of file read error
Foorack Feb 9, 2025
70849a6
lsmem: implement --summary and more tests
Foorack Feb 9, 2025
642703c
lsmem: fix clippy warnings
Foorack Feb 9, 2025
5774bac
lsmem: String path concat on Windows
Foorack Feb 9, 2025
657a88d
lsmem: improve Windows compatability
Foorack Feb 9, 2025
6905e30
lsmem: fix prepending of sysroot to sysmem path
Foorack Feb 9, 2025
72435a7
lsmem: Generate test data dynamically instead
Foorack Feb 10, 2025
088c023
lsmem: Remove unnecessary allow(dead_code)
Foorack Feb 15, 2025
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
124 changes: 33 additions & 91 deletions Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

3 changes: 1 addition & 2 deletions Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -51,9 +51,8 @@ phf_codegen = "0.11.2"
rand = { version = "0.9.0", features = ["small_rng"] }
regex = "1.10.2"
serde = { version = "1.0", features = ["derive"] }
serde_json = "1.0.122"
serde_json = { version = "1.0.122", features = ["preserve_order"] }
sysinfo = "0.33"
tabled = "0.18.0"
tempfile = "3.9.0"
textwrap = { version = "0.16.0", features = ["terminal_size"] }
uucore = "0.0.29"
Expand Down
3 changes: 1 addition & 2 deletions src/uu/lsmem/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,5 @@ path = "src/main.rs"
[dependencies]
uucore = { workspace = true }
clap = { workspace = true }
serde = { workspace = true }
serde = { workspace = true }
serde_json = { workspace = true }
tabled = { workspace = true }
Loading