@@ -8,6 +8,7 @@ include = ["src/**/*", "README.md", "LICENSE.md", "CHANGELOG.md"]
88license = " MIT"
99repository = " https://github.com/Byron/prodash"
1010readme = " README.md"
11+ rust-version = " 1.74"
1112
1213[lib ]
1314doctest = true
@@ -39,7 +40,7 @@ progress-tree-log = ["log"]
3940progress-log = [" log" ]
4041unit-bytes = [" bytesize" ]
4142unit-human = [" human_format" ]
42- unit-duration = [" humantime " ]
43+ unit-duration = [" jiff " ]
4344render-tui-crossterm = [" crosstermion/tui-react-crossterm" , " crosstermion/input-async-crossterm" ]
4445render-tui = [" tui" ,
4546 " unicode-segmentation" ,
@@ -49,8 +50,8 @@ render-tui = ["tui",
4950 " futures-lite" ,
5051 " futures-core" ,
5152 " async-io" ,
52- " humantime " ]
53- render-line = [" crosstermion/color" , " humantime " , " unicode-width" ]
53+ " jiff " ]
54+ render-line = [" crosstermion/color" , " jiff " , " unicode-width" ]
5455render-line-crossterm = [" crosstermion/crossterm" ]
5556render-line-autoconfigure = [" is-terminal" ]
5657
@@ -69,14 +70,13 @@ tui = { package = "ratatui", version = "0.26.0", optional = true, default-featur
6970tui-react = { version = " 0.23.0" , optional = true }
7071futures-core = { version = " 0.3.4" , optional = true , default-features = false }
7172futures-lite = { version = " 2.1.0" , optional = true }
72- humantime = { version = " 2.1.0" , optional = true }
7373unicode-segmentation = { version = " 1.6.0" , optional = true }
7474unicode-width = { version = " 0.1.7" , optional = true }
7575crosstermion = { version = " 0.14.0" , optional = true , default-features = false }
7676async-io = { version = " 2.2.1" , optional = true }
7777
78- # localtime support for render-tui
79- jiff = { version = " 0.1.1 " , optional = true }
78+ # localtime support for render-tui and duration formatting
79+ jiff = { version = " 0.2.4 " , optional = true }
8080
8181# line renderer
8282ctrlc = { version = " 3.1.4" , optional = true , default-features = false , features = [' termination' ] }
0 commit comments