Skip to content

Commit

Permalink
sys-process/bottom: Patch to use newer time
Browse files Browse the repository at this point in the history
The version of time that bottom 0.9.6 uses does not build with Rust
1.80.0[0][1]. This bumps time to 0.3.36 to address the issue.

[0] ClementTsang/bottom#1500
[1] rust-lang/rust#127343

Signed-off-by: Randy Barlow <randy@electronsweatshop.com>
  • Loading branch information
bowlofeggs committed Jul 26, 2024
1 parent adef34d commit fd226ce
Show file tree
Hide file tree
Showing 3 changed files with 349 additions and 0 deletions.
6 changes: 6 additions & 0 deletions sys-process/bottom/Manifest
Original file line number Diff line number Diff line change
Expand Up @@ -41,6 +41,7 @@ DIST ctrlc-3.4.0.crate 14098 BLAKE2B 709de25815437bc91d18bc66ce139fe4c051d201b01
DIST darling-0.10.2.crate 17620 BLAKE2B 33d1fc3dc10fc971ea304efe5bf8084843241ca9c2a89e54e7c5227e53b1ad86749bd8693989ced6bf17805001909033aff92d600e7169a02dccf009fe60a88a SHA512 b312a74e577cb2f889315ae42513c7f26597faff306a40281189be2101339661772016a5e197466bd85ef94c275e811adee1b7c0772458126677d1998ed6fb15
DIST darling_core-0.10.2.crate 44339 BLAKE2B 3ab3762840aa869baccf1030617a2a534c5d63019deb7ec5848cf4f80aa6304307ae32c4425264f1fda220a502110549812112d08f0f60261b30731ee47335af SHA512 a0af8e8ebb8584973c20eac01fe9ae828744b5e86cbe268262f8710a2e0ad568bbc6cd051d5225cc536a0a1fcb1886233063c8c18ea16b45c47207ce64af89d9
DIST darling_macro-0.10.2.crate 1919 BLAKE2B 6f07815ff5b333b6c34df08f3aec2e5af5385e60a94bf9d169701be19935d2a9292ec7396905d2caadddba38d3f70bc5e5c3f1167690f045b778b8fc8cb00985 SHA512 43a0e9091fe12ec986e229a73bc41e23b1815fecfe62df8eed74d2ef33f5c329c444f1568d3c966554ff0bb29220146ba8f30d1c2d77ed7dea9adea10dacd152
DIST deranged-0.3.11.crate 18043 BLAKE2B 738d5a88732e227bb0e0d33c04ab8248a699c7c499100666ffcd78673d1f38ad2d740222ab405e3eaa7a0a6f4596cfef90bd581a1baf77c954dca830c22e74f9 SHA512 48485666d3e50eb7976e91bed36bddbaea80fac4ac664723130069bd7d17893b6d1a2b82a4c3dd61677162e4305ba5ea8aec7bc2793d1b8b92dd1666c204fc43
DIST deranged-0.3.7.crate 14803 BLAKE2B cc856161cb0d1a43d95f1a0f8d15baeab1057cc477b970af8e0483ef8a8b0d06d63b89073f01616c307dd95ecb904828536152ed65df28230e5874d2481140f5 SHA512 b8b2a3154cdafe4fa0f3e2ee05ee71cd438da39a0f73b16ad90cf417148343a6b2f4463f17eeefe03a385545b9524138b679b75aa9acd5f7ee99a36f7e454df4
DIST difflib-0.4.0.crate 7638 BLAKE2B 57c703de0d467c997bcbedc4d6577569b3d72c612d3ccd929025a98f4bf8f72f2a0d43f3cd3bc616676c2569aed176b3c1362cfa868a4bb1197e05fe4dbce32f SHA512 fcb57859424fea6958a4407061c421599fbca111357b1fe72faa65d8fb0b74425c993a24484e8414f475fa146cd8368c4f82e1ceb4e8dd9f95741149345b37a9
DIST dirs-5.0.1.crate 12255 BLAKE2B eadd38e85211ed5aee7fab964e90342273320644c36262aa7b436e493512851a4751a09d22aa8bae0495f4b22df6e7395d13715ca8b8c6196107b1be03af9328 SHA512 cfc329518e85a25c296521b9aeb6e5d5f60b4525aa786ebfa8b9f198446a1ff5892160d1bb4790d7f3fc4a0abdb5921b2e4896e271a3fc3a3225897313b77bd1
Expand Down Expand Up @@ -85,6 +86,7 @@ DIST mio-0.8.8.crate 94264 BLAKE2B f70334d3daa8794079c865c5e91d9b32fee2b90af95a6
DIST nix-0.26.2.crate 277973 BLAKE2B 86adcbeda37edda784593196c390e92ee069761d283f706c0390bf8983ba8841a51486a98a1869f910fe4d518afba5572490e9c69a021e12c598d094b41361ad SHA512 abf2d0a4eb83cd4bd43836e8b533f0f07f07979619c86c11302a2df0800d569f33f0dda0bc2c4136d36c79789d175eaf5d3928ecf16286319aabf93c720a1704
DIST normalize-line-endings-0.3.0.crate 5737 BLAKE2B 935b2d20ccd37ca7469641a37aa0ae9b6872715d6ee88d568d0ee16fb76416cb1a0c585cff861825de8cef11d864b1dc1b350911c28d64e071d8fb444bbdf740 SHA512 f8e2a6e333b0e8972febe8b9cf058c8d899c384fd177e0b6ef1c5f94e0fa18192963970cb1a2ba80e3135a8cca66cdae6796e4d84ac6b325bb369575bdfc6eea
DIST ntapi-0.4.1.crate 126552 BLAKE2B ef5291a32f5edab4b29648fcc73df30f993558e45ed862a62a4d7e85f963f195f0a74c9e61eecf928c8966799da45a23694d0c6a1ad5f7d9ab3a8bce86d6d2eb SHA512 8e32d45a508d20f0d3537e056f363270120980dc23564713306e36acbc12a6d379eb3857026fecc16ca75080431e06742e3806801d3e0a848a01f64a8dd4f2d7
DIST num-conv-0.1.0.crate 7444 BLAKE2B 4f5c4695006aa3ae77aaf5c55999a07d8ddfab294584fe10d73eb6abbb3f551846646156581599f966a28c74d80d3ac4373c49d2099991f7ed9edb56d36feec4 SHA512 7884c0c6599c66e40b9a79435e1bbcec60aa7e68b59686922dfab19ccbcac6a6e54f208cfb3d5a8a12e86e4dd67e09977d60b69ef6940e308a28256733f36100
DIST num-traits-0.2.16.crate 50130 BLAKE2B 1101d28cb4dce477657684a068792b94c7008a965e655edbabfeff51cbe6f008450dc6d7e4fc5dc4fe9c3ee8623ed77a7bde83ce2f68e75d618295fe6cebe0a8 SHA512 2ef65e2f6275b1000f611cc4d019b2f4846a8964b54d9b96462da10e3ac9edbf3d1de82e40094c76f7f5205740361b0eb0ced414bcddbaba5955144f728c6f94
DIST num_cpus-1.16.0.crate 15713 BLAKE2B 11b432fc7c7496d48918f09ed0954e0f1d0845596301266321293b374392898853fb7c313a0b0fd9d22d9dbfe3ccc5cc1e38f38407c89b2e5906eb76caa6ad68 SHA512 a75863afc4a563e63c64d06471c7921615355d98011ea9497b1f1a7dac2bdfc876509136018e8062ac38575ccf476a196d1fd9231e09e90017333bbf2df4615d
DIST nvml-wrapper-0.9.0.crate 74530 BLAKE2B 508a74f90c51a6c1a8b0ebf7e6ba88349ab917e8c712833a683a09d53a43fdecdcb8090d449d373bcd0f9d43c715b472e8891877d8863194f363a275d261638a SHA512 6a07fec692c5acce5a4eb4428fbde4057f3315526c739b2859d04fa909069d930876222fed3e92b9c28b91bedccd80571d1077befad2904528a25b8190fad993
Expand All @@ -95,6 +97,7 @@ DIST option-ext-0.2.0.crate 7345 BLAKE2B cbfc03e7c960fe3023512a4ad816d657b4f54f8
DIST parking_lot-0.12.1.crate 40967 BLAKE2B 940a112a066e3cbd15e2f6df89bfff37e4ece2194118618a96fa14871813c91798f93181ab0f768d3e1f3d60805508f216724013afb7e3da95678d0d951a42d4 SHA512 07327d3b737a913508dffb66023766348ce7f9d555c224a099cabb05baefd16a28e15fec638e3a148a5169dbd980c4541b0f8820ae9d06dfe0704482838fbd5c
DIST parking_lot_core-0.9.8.crate 32383 BLAKE2B 2f9666872894d1c85895437d1353f9e15be2bc8d004ffc8f0e5be95e9dd4b274797db3752eba1c0b5b6071c1b8a71e4857cae0b2aff1afdaa39e92e70be2e6fd SHA512 8d6dfdf661b0f7d0774cb9f61121f2daefd182ac8a2a0d24eab451febfbe1a664c815c163d34a7f3d15a54915a8e22e6c6cd10e89cb7d7598d48d81ad6a3c256
DIST paste-1.0.14.crate 18157 BLAKE2B 35e8548611c51ee75f4d04926149e5e54870d7073d9b635d550a6fa0f85891f57f326bdbcff3dd8618cf40f8e08cf903ef87d9c034d5921d8b91e1db842cdd7c SHA512 3a793f0e5e773a7f7defc798a4c17ae9a40d715144632ea6cb0a8c785e14c4212046491df016bb9838281f8eaf327a79f01c1e2ac5f26785c028bc880faff9ee
DIST powerfmt-0.2.0.crate 15165 BLAKE2B a3e1ce63f5866f75526eeb749bec6607e42cb495bbb953082cde7e98e6aa429ecaa41889d98ff7ed4cf5031258b4f7e0553ff8fc435b3b6f8b4ef2b6d53d9b61 SHA512 0623f92e4d6ab284b3f6dae58220d79d9185df4a738999d68040c50d72fe0380d70358cb622f079c629bab53bb03c6e085e165d5bddfbeea84245864fed90029
DIST predicates-3.0.3.crate 22743 BLAKE2B e0dbdba7bfaedfd3730bc381efd439c09a0730a8876be219ae5b8beb230f99acb29263c7eea1ea7333102335550936cb968f82268eeaf61db912fc4d2ba2952c SHA512 6638890cf3ca26170363e789318fd201223818089a34970fb650c12e11da0c2031dbe114ffa1e4bc55c05f7c75f41c60ca3bdb4764e061c6317508275940c7e1
DIST predicates-core-1.0.6.crate 8084 BLAKE2B 337cbb155bc2859c5a8b891c21d352e998cd1eaaf606cf46c003c9c499a42f12268b071e7a4cca65d50cdfdfd4267f023076e078a0a3eb401ad836755d65298e SHA512 afeb1de4275c76bb1c5950f42bce2f83a21ab217ec60130336286cb48b15f36bf2a1ca346bd652c10a65a1f9e3310d16b23b8333a3e0f7e20fe874c3f728e702
DIST predicates-tree-1.0.9.crate 7960 BLAKE2B b758c52dcdd0ea237ce25f0a092200604765bc83c5edcaea646c6b1db49431296b61aebddea3b325e62f0ba9bbd5edba7ec92fd031cb597e7e8d642b966b401a SHA512 1fd5d9a84ca8fdd1b3c4759d5e6fb16e3d8fe8b0dfe5afbd16bb509c8558b0750705fff47701c95f7a8df1a222f639116a1b9ba4d89775bf03b06daf34f249a3
Expand Down Expand Up @@ -137,8 +140,11 @@ DIST termtree-0.4.1.crate 4557 BLAKE2B d4300b0e6e908c519a0a76f5e08167f4467f428b2
DIST thiserror-1.0.47.crate 18811 BLAKE2B ea2da26fdfbe3d9519942761a9fa8a7c3528a170846c290a111a33420dfbe6c3f114591e3ad101258ea2a01a756ce4710d7b46c01b40011e5ea01cabc37db189 SHA512 fdb128982f0b0a6d83221bfa6b274431a1008a9727c82d55a8cb2770bb85d18842e6b26b90885fc0f00801b157b96de61fdb0f72d98b8092c69181d8ee67cf63
DIST thiserror-impl-1.0.47.crate 15080 BLAKE2B 4b8084ae885160607905333dbac2287576127992eeb58293050c46ccc2abdc1a04f85b07db35846046d9a3e7e94ffc7c8912bab37e4eb9a5290bd55df46d0d02 SHA512 b6b73e9eea058492c45d41a70d5ce491b773f4747e171b794577f996f0ed5d76562338a18105f82a6733e1e37954aced4fca78d5f66c05e6789c15bca5ebffe7
DIST time-0.3.27.crate 116900 BLAKE2B afbed575eddc1014268d1511d91eee682a73bb41c4f44ea94dd7d14aa9284de26c4f3f2dcda92398b7a7a2ff60d5f4a257462d8c0a7f4a80763d7577820a9f90 SHA512 e1e5816f263601222a6f9a1a1f4990fd9ad63c65f87dc018810071a4d6bbeb62fa778b465d4a52578acbdf14aad0fb3a19f96567da3632178abce004c3c7aca3
DIST time-0.3.36.crate 119805 BLAKE2B d4da96368ab8565373d034edce261e0d8867036f2ba87e84b5e4a506a70ed3b62b93ba10734aecb39847e258cf7008b6ae57f92df8d0e5229cd3fec488d14caf SHA512 83da6e27691d1f0ef37ed276528e927686a06dab4811b6e29d625ef7a0f7c30fbb86896d74a2b087726e7a24a951b0a83aa1f5f22d711ead54f447d36ac47133
DIST time-core-0.1.1.crate 7197 BLAKE2B 9d0be2ef7111a8b66e5c750b2c372627ae4acfb2c68b0c6ed44b3c23bea1cdca4f65b24d2f2027b4d334667b1620019f4cb8c6d9799c1c2c537e6cfe692ab88a SHA512 a29d6619581d3fed73d6bc66a2c18805b80a3d54197feac5ad987a2c31d003bf4fef88a312d5315d2fa5c7d3e509066a65c1732be2ce280cf937bb4eff012e14
DIST time-core-0.1.2.crate 7191 BLAKE2B c477ad3410ff29f3bf4a38fc6ac4a043d49b6d2bdf5cf309ffcd2eec3bb6e4c4b62156ee7f069f0b37ea31c163bc75ccbf35abc1db2833cdd4912135e60ddfc9 SHA512 3861724c23cb806829a01186deb5217ae8252c20af622975264e6670cff528f42155039e4937756a9eb312a5580ffab07949437d5504d684a0e70755046cac52
DIST time-macros-0.2.13.crate 23735 BLAKE2B 123378dcf55dd8766eb9a64dadf1657d678faaa1e49f5828204ac45b0682d4f581df9a8660e54488ab9bcb9195e9c94e39232807d8681d1c1b473251b17c3a10 SHA512 1bb4dec290efde428588b50c76c4115372033fd364526d453348703ef3c70f329172d280b5362e45227c8980fa66c1bfbc25b7618ad7f6063e06aef5ff27218f
DIST time-macros-0.2.18.crate 24361 BLAKE2B 09fa325be0b1a5b922285f035484b0de8e339306b49595c87f6374e46459d6777c6db4b12c1a0c6ea9795ae8c741188fbb81208d0499a651760b9f5089323fc7 SHA512 557786115add272290be8305ab79c44f5b4425b64eb698492fe300f15879d9e013c66933cae8aa8faad9c109e2917e7a0e43c8a5eed7f4b0f0fdad092089efe4
DIST toml_datetime-0.6.3.crate 10770 BLAKE2B fc1754eb7c3a7073cfe41e5ccba152ff09891a8de8afe38991cf2dd7b93aacf07f1075fd24d7aa643238cf31e3df1fc3162335b2c475438178b4a4d8a2055471 SHA512 cabf5dce24ed3bf4674008743180a21e86286d999cdce79f934de48b1e1fe0f16a7f3d2498bf059acdb823b51bc01986faf47139f8100ae272e6bd19095cfa9b
DIST toml_edit-0.19.14.crate 94875 BLAKE2B d11328357d66d4139ac23766ddc84985eb9e2ab7eb5ac5b3639be2098938596cb69c28150589f24bd404c10ec2fe06e0adc207b787c3dc869472eff15ec0fa2e SHA512 87f432e0f6870c2ff1476fd1dbafae8cfd736ab39436c1c60627d60511a65fece8c07bd9834d68a080f6969a256430acb20381f210b775c281764b183ec57411
DIST typenum-1.16.0.crate 42477 BLAKE2B acc6dcd4521493c438a8a3d997ab0456fdbff3db66aee9b81ba219714d47522c3ca8fe26f8ce84edfda416ff9a22747caf3ecc9cc4bcd1e7647ac351d5aef407 SHA512 93da3ed62573acbc9d5d31257fb72ae9cfc7d59e4040c1f32d93e8fec94795e1aa20a3bf76ddc64c4b383184306bb2a66e51fd61b64dd4ce46a1bca8238b57b2
Expand Down
242 changes: 242 additions & 0 deletions sys-process/bottom/bottom-0.9.6-r1.ebuild
Original file line number Diff line number Diff line change
@@ -0,0 +1,242 @@
# Copyright 2020-2024 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2

EAPI=8

CRATES="
addr2line-0.21.0
adler-1.0.2
ahash-0.8.3
aho-corasick-1.0.4
allocator-api2-0.2.16
anstream-0.3.2
anstyle-1.0.1
anstyle-parse-0.2.1
anstyle-query-1.0.0
anstyle-wincon-1.0.2
anyhow-1.0.75
assert_cmd-2.0.12
autocfg-1.1.0
backtrace-0.3.69
bitflags-1.3.2
bitflags-2.4.0
bottom-0.9.6
bstr-1.6.0
byteorder-1.4.3
cargo-husky-1.5.0
cassowary-0.3.0
cc-1.0.82
cfg-if-1.0.0
clap-4.3.23
clap_builder-4.3.23
clap_complete-4.3.2
clap_lex-0.5.0
clap_mangen-0.2.12
colorchoice-1.0.0
concat-string-1.0.1
core-foundation-0.9.3
core-foundation-sys-0.8.4
crossbeam-channel-0.5.8
crossbeam-deque-0.8.3
crossbeam-epoch-0.9.15
crossbeam-utils-0.8.16
crossterm-0.26.1
crossterm-0.27.0
crossterm_winapi-0.9.1
ctrlc-3.4.0
darling-0.10.2
darling_core-0.10.2
darling_macro-0.10.2
deranged-0.3.11
difflib-0.4.0
dirs-5.0.1
dirs-sys-0.4.1
doc-comment-0.3.3
either-1.9.0
enum-as-inner-0.5.1
equivalent-1.0.1
errno-0.3.2
errno-dragonfly-0.1.2
fern-0.6.2
filedescriptor-0.8.2
float-cmp-0.9.0
fnv-1.0.7
getrandom-0.2.10
gimli-0.28.0
hashbrown-0.14.0
heck-0.4.1
hermit-abi-0.3.2
humantime-2.1.0
ident_case-1.0.1
indexmap-2.0.0
indoc-2.0.3
io-lifetimes-1.0.11
is-terminal-0.4.9
itertools-0.10.5
itertools-0.11.0
itoa-1.0.9
kstring-2.0.0
lazycell-1.3.0
libc-0.2.147
libloading-0.7.4
linux-raw-sys-0.3.8
linux-raw-sys-0.4.5
lock_api-0.4.10
log-0.4.20
mach2-0.4.1
memchr-2.5.0
memoffset-0.9.0
miniz_oxide-0.7.1
mio-0.8.8
nix-0.26.2
normalize-line-endings-0.3.0
ntapi-0.4.1
num-conv-0.1.0
num-traits-0.2.16
num_cpus-1.16.0
nvml-wrapper-0.9.0
nvml-wrapper-sys-0.7.0
object-0.32.0
once_cell-1.18.0
option-ext-0.2.0
parking_lot-0.12.1
parking_lot_core-0.9.8
paste-1.0.14
powerfmt-0.2.0
predicates-3.0.3
predicates-core-1.0.6
predicates-tree-1.0.9
proc-macro2-1.0.66
quote-1.0.33
ratatui-0.22.0
rayon-1.7.0
rayon-core-1.11.0
redox_syscall-0.2.16
redox_syscall-0.3.5
redox_users-0.4.3
regex-1.9.4
regex-automata-0.3.7
regex-syntax-0.7.5
roff-0.2.1
rustc-demangle-0.1.23
rustix-0.37.23
rustix-0.38.9
ryu-1.0.15
same-file-1.0.6
scopeguard-1.2.0
serde-1.0.188
serde_derive-1.0.188
serde_json-1.0.105
serde_spanned-0.6.3
signal-hook-0.3.17
signal-hook-mio-0.2.3
signal-hook-registry-1.4.1
smallvec-1.11.0
starship-battery-0.8.2
static_assertions-1.1.0
strsim-0.9.3
strsim-0.10.0
syn-1.0.109
syn-2.0.29
sysctl-0.5.4
sysinfo-0.29.8
terminal_size-0.2.6
termtree-0.4.1
thiserror-1.0.47
thiserror-impl-1.0.47
time-0.3.36
time-core-0.1.2
time-macros-0.2.18
toml_datetime-0.6.3
toml_edit-0.19.14
typenum-1.16.0
unicode-ident-1.0.11
unicode-segmentation-1.10.1
unicode-width-0.1.10
uom-0.35.0
utf8parse-0.2.1
version_check-0.9.4
wait-timeout-0.2.0
walkdir-2.3.3
wasi-0.11.0+wasi-snapshot-preview1
winapi-0.3.9
winapi-i686-pc-windows-gnu-0.4.0
winapi-util-0.1.5
winapi-x86_64-pc-windows-gnu-0.4.0
windows-0.51.1
windows-core-0.51.1
windows-sys-0.48.0
windows-targets-0.48.5
windows_aarch64_gnullvm-0.48.5
windows_aarch64_msvc-0.48.5
windows_i686_gnu-0.48.5
windows_i686_msvc-0.48.5
windows_x86_64_gnu-0.48.5
windows_x86_64_gnullvm-0.48.5
windows_x86_64_msvc-0.48.5
winnow-0.5.14
wrapcenum-derive-0.4.0
"

inherit bash-completion-r1 cargo

DESCRIPTION="A graphical process/system monitor with a customizable interface"
HOMEPAGE="https://github.com/ClementTsang/bottom"
SRC_URI="$(cargo_crate_uris)"

LICENSE="0BSD Apache-2.0 Apache-2.0-with-LLVM-exceptions BSD-2 Boost-1.0 ISC MIT MPL-2.0 Unicode-DFS-2016 Unlicense ZLIB"
SLOT="0"
KEYWORDS="~amd64 ~arm64 ~ppc64"
IUSE="+battery +gpu +zfs"

# Rust packages ignore CFLAGS and LDFLAGS so let's silence the QA warnings
QA_FLAGS_IGNORED="usr/bin/btm"

PATCHES=(
# This patch won't be needed once bottom releases a new version. It works
# around https://github.com/rust-lang/rust/issues/127343
"${FILESDIR}"/bottom-0.9.6-bump-deps.patch
)

src_prepare() {
# Stripping symbols should be the choice of the user.
sed -i '/strip = "symbols"/d' Cargo.toml || die "Unable to patch out symbol stripping"

eapply_user

default
}

src_configure() {
myfeatures=(
$(usev battery)
$(usev gpu)
$(usev zfs)
)

# This will turn on generation of shell completion scripts
export BTM_GENERATE=true

# https://github.com/ClementTsang/bottom/blob/bacaca5548c2b23d261ef961ee6584b609529567/Cargo.toml#L63
# fern and log features are for debugging only, so disable default features
cargo_src_configure $(usev !debug --no-default-features)
}

src_install() {
cargo_src_install

# Find generated shell completion files. btm.bash can be present in multiple dirs if we build
# additional features, so grab the first match only.
local BUILD_DIR="$(dirname $(find target -name btm.bash -print -quit || die) || die)"

newbashcomp "${BUILD_DIR}"/btm.bash btm

insinto /usr/share/fish/vendor_completions.d
doins "${BUILD_DIR}"/btm.fish

insinto /usr/share/zsh/site-functions
doins "${BUILD_DIR}"/_btm

local DOCS=( README.md )
einstalldocs
}
101 changes: 101 additions & 0 deletions sys-process/bottom/files/bottom-0.9.6-bump-deps.patch
Original file line number Diff line number Diff line change
@@ -0,0 +1,101 @@
From ea863b17485382259c5faef8e2f48c3b2f07ce49 Mon Sep 17 00:00:00 2001
From: Randy Barlow <randy@electronsweatshop.com>
Date: Thu, 25 Jul 2024 20:25:33 -0400
Subject: [PATCH] Update time to 0.9.6

Bump time for https://github.com/ClementTsang/bottom/issues/1500

See also: https://github.com/rust-lang/rust/issues/127343

Signed-off-by: Randy Barlow <randy@electronsweatshop.com>
---
Cargo.lock | 34 ++++++++++++++++++++++++++--------
1 file changed, 26 insertions(+), 8 deletions(-)

diff --git a/Cargo.lock b/Cargo.lock
index 01c20c8e..4d9f7268 100644
--- a/Cargo.lock
+++ b/Cargo.lock
@@ -443,9 +443,12 @@ dependencies = [

[[package]]
name = "deranged"
-version = "0.3.7"
+version = "0.3.11"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "7684a49fb1af197853ef7b2ee694bc1f5b4179556f1e5710e1760c5db6f5e929"
+checksum = "b42b6fa04a440b495c8b04d0e71b707c585f83cb9cb28cf8cd0d976c315e31b4"
+dependencies = [
+ "powerfmt",
+]

[[package]]
name = "difflib"
@@ -804,6 +807,12 @@ dependencies = [
"winapi",
]

+[[package]]
+name = "num-conv"
+version = "0.1.0"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "51d515d32fb182ee37cda2ccdcb92950d6a3c2893aa280e540671c2cd0f3b1d9"
+
[[package]]
name = "num-traits"
version = "0.2.16"
@@ -896,6 +905,12 @@ version = "1.0.14"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "de3145af08024dea9fa9914f381a17b8fc6034dfb00f3a84013f7ff43f29ed4c"

+[[package]]
+name = "powerfmt"
+version = "0.2.0"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "439ee305def115ba05938db6eb1644ff94165c5ab5e9420d1c1bcedbba909391"
+
[[package]]
name = "predicates"
version = "3.0.3"
@@ -1300,12 +1315,14 @@ dependencies = [

[[package]]
name = "time"
-version = "0.3.27"
+version = "0.3.36"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "0bb39ee79a6d8de55f48f2293a830e040392f1c5f16e336bdd1788cd0aadce07"
+checksum = "5dfd88e563464686c916c7e46e623e520ddc6d79fa6641390f2e3fa86e83e885"
dependencies = [
"deranged",
"itoa",
+ "num-conv",
+ "powerfmt",
"serde",
"time-core",
"time-macros",
@@ -1313,16 +1330,17 @@ dependencies = [

[[package]]
name = "time-core"
-version = "0.1.1"
+version = "0.1.2"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "7300fbefb4dadc1af235a9cef3737cea692a9d97e1b9cbcd4ebdae6f8868e6fb"
+checksum = "ef927ca75afb808a4d64dd374f00a2adf8d0fcff8e7b184af886c3c87ec4a3f3"

[[package]]
name = "time-macros"
-version = "0.2.13"
+version = "0.2.18"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "733d258752e9303d392b94b75230d07b0b9c489350c69b851fc6c065fde3e8f9"
+checksum = "3f252a68540fde3a3877aeea552b832b40ab9a69e318efd078774a01ddee1ccf"
dependencies = [
+ "num-conv",
"time-core",
]

--
2.44.2

0 comments on commit fd226ce

Please sign in to comment.