aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--Cargo.lock192
-rw-r--r--Cargo.toml7
2 files changed, 58 insertions, 141 deletions
diff --git a/Cargo.lock b/Cargo.lock
index 0488f71..3b465c5 100644
--- a/Cargo.lock
+++ b/Cargo.lock
@@ -92,6 +92,12 @@ dependencies = [
92] 92]
93 93
94[[package]] 94[[package]]
95name = "cc"
96version = "1.0.58"
97source = "registry+https://github.com/rust-lang/crates.io-index"
98checksum = "f9a06fb2e53271d7c279ec1efea6ab691c35a2ae67ec0d91d7acec0caf13b518"
99
100[[package]]
95name = "cfg-if" 101name = "cfg-if"
96version = "0.1.10" 102version = "0.1.10"
97source = "registry+https://github.com/rust-lang/crates.io-index" 103source = "registry+https://github.com/rust-lang/crates.io-index"
@@ -125,15 +131,6 @@ dependencies = [
125] 131]
126 132
127[[package]] 133[[package]]
128name = "cloudabi"
129version = "0.0.3"
130source = "registry+https://github.com/rust-lang/crates.io-index"
131checksum = "ddfc5b9aa5d4507acaf872de71051dfd0e309860e88966e1051e462a077aac4f"
132dependencies = [
133 "bitflags",
134]
135
136[[package]]
137name = "const-random" 134name = "const-random"
138version = "0.1.8" 135version = "0.1.8"
139source = "registry+https://github.com/rust-lang/crates.io-index" 136source = "registry+https://github.com/rust-lang/crates.io-index"
@@ -181,31 +178,6 @@ dependencies = [
181] 178]
182 179
183[[package]] 180[[package]]
184name = "crossterm"
185version = "0.17.7"
186source = "registry+https://github.com/rust-lang/crates.io-index"
187checksum = "6f4919d60f26ae233e14233cc39746c8c8bb8cd7b05840ace83604917b51b6c7"
188dependencies = [
189 "bitflags",
190 "crossterm_winapi",
191 "lazy_static",
192 "libc",
193 "mio 0.7.0",
194 "parking_lot",
195 "signal-hook",
196 "winapi 0.3.9",
197]
198
199[[package]]
200name = "crossterm_winapi"
201version = "0.6.1"
202source = "registry+https://github.com/rust-lang/crates.io-index"
203checksum = "057b7146d02fb50175fd7dbe5158f6097f33d02831f43b4ee8ae4ddf67b68f5c"
204dependencies = [
205 "winapi 0.3.9",
206]
207
208[[package]]
209name = "ctor" 181name = "ctor"
210version = "0.1.15" 182version = "0.1.15"
211source = "registry+https://github.com/rust-lang/crates.io-index" 183source = "registry+https://github.com/rust-lang/crates.io-index"
@@ -224,14 +196,15 @@ dependencies = [
224 "ahash 0.3.8", 196 "ahash 0.3.8",
225 "cfg-if", 197 "cfg-if",
226 "crossbeam-channel", 198 "crossbeam-channel",
227 "crossterm",
228 "cursive_core", 199 "cursive_core",
229 "enumset", 200 "enumset",
230 "lazy_static", 201 "lazy_static",
231 "libc", 202 "libc",
232 "log", 203 "log",
204 "maplit",
205 "pancurses",
233 "signal-hook", 206 "signal-hook",
234 "termion", 207 "term_size",
235 "unicode-segmentation", 208 "unicode-segmentation",
236 "unicode-width", 209 "unicode-width",
237] 210]
@@ -295,7 +268,7 @@ dependencies = [
295 268
296[[package]] 269[[package]]
297name = "dijo" 270name = "dijo"
298version = "0.2.1" 271version = "0.2.2"
299dependencies = [ 272dependencies = [
300 "chrono", 273 "chrono",
301 "clap", 274 "clap",
@@ -557,15 +530,6 @@ source = "registry+https://github.com/rust-lang/crates.io-index"
557checksum = "bd7d4bd64732af4bf3a67f367c27df8520ad7e230c5817b8ff485864d80242b9" 530checksum = "bd7d4bd64732af4bf3a67f367c27df8520ad7e230c5817b8ff485864d80242b9"
558 531
559[[package]] 532[[package]]
560name = "lock_api"
561version = "0.3.4"
562source = "registry+https://github.com/rust-lang/crates.io-index"
563checksum = "c4da24a77a3d8a6d4862d95f72e6fdb9c09a643ecdb402d754004a557f2bec75"
564dependencies = [
565 "scopeguard",
566]
567
568[[package]]
569name = "log" 533name = "log"
570version = "0.4.11" 534version = "0.4.11"
571source = "registry+https://github.com/rust-lang/crates.io-index" 535source = "registry+https://github.com/rust-lang/crates.io-index"
@@ -575,6 +539,12 @@ dependencies = [
575] 539]
576 540
577[[package]] 541[[package]]
542name = "maplit"
543version = "1.0.2"
544source = "registry+https://github.com/rust-lang/crates.io-index"
545checksum = "3e2e65a1a2e43cfcb47a895c4c8b10d1f4a61097f9f254f183aee60cad9c651d"
546
547[[package]]
578name = "mio" 548name = "mio"
579version = "0.6.22" 549version = "0.6.22"
580source = "registry+https://github.com/rust-lang/crates.io-index" 550source = "registry+https://github.com/rust-lang/crates.io-index"
@@ -587,27 +557,13 @@ dependencies = [
587 "kernel32-sys", 557 "kernel32-sys",
588 "libc", 558 "libc",
589 "log", 559 "log",
590 "miow 0.2.1", 560 "miow",
591 "net2", 561 "net2",
592 "slab", 562 "slab",
593 "winapi 0.2.8", 563 "winapi 0.2.8",
594] 564]
595 565
596[[package]] 566[[package]]
597name = "mio"
598version = "0.7.0"
599source = "registry+https://github.com/rust-lang/crates.io-index"
600checksum = "6e9971bc8349a361217a8f2a41f5d011274686bd4436465ba51730921039d7fb"
601dependencies = [
602 "lazy_static",
603 "libc",
604 "log",
605 "miow 0.3.5",
606 "ntapi",
607 "winapi 0.3.9",
608]
609
610[[package]]
611name = "mio-extras" 567name = "mio-extras"
612version = "2.0.6" 568version = "2.0.6"
613source = "registry+https://github.com/rust-lang/crates.io-index" 569source = "registry+https://github.com/rust-lang/crates.io-index"
@@ -615,7 +571,7 @@ checksum = "52403fe290012ce777c4626790c8951324a2b9e3316b3143779c72b029742f19"
615dependencies = [ 571dependencies = [
616 "lazycell", 572 "lazycell",
617 "log", 573 "log",
618 "mio 0.6.22", 574 "mio",
619 "slab", 575 "slab",
620] 576]
621 577
@@ -632,13 +588,14 @@ dependencies = [
632] 588]
633 589
634[[package]] 590[[package]]
635name = "miow" 591name = "ncurses"
636version = "0.3.5" 592version = "5.99.0"
637source = "registry+https://github.com/rust-lang/crates.io-index" 593source = "registry+https://github.com/rust-lang/crates.io-index"
638checksum = "07b88fb9795d4d36d62a012dfbf49a8f5cf12751f36d31a9dbe66d528e58979e" 594checksum = "15699bee2f37e9f8828c7b35b2bc70d13846db453f2d507713b758fabe536b82"
639dependencies = [ 595dependencies = [
640 "socket2", 596 "cc",
641 "winapi 0.3.9", 597 "libc",
598 "pkg-config",
642] 599]
643 600
644[[package]] 601[[package]]
@@ -664,22 +621,13 @@ dependencies = [
664 "fsevent-sys", 621 "fsevent-sys",
665 "inotify", 622 "inotify",
666 "libc", 623 "libc",
667 "mio 0.6.22", 624 "mio",
668 "mio-extras", 625 "mio-extras",
669 "walkdir", 626 "walkdir",
670 "winapi 0.3.9", 627 "winapi 0.3.9",
671] 628]
672 629
673[[package]] 630[[package]]
674name = "ntapi"
675version = "0.3.4"
676source = "registry+https://github.com/rust-lang/crates.io-index"
677checksum = "7a31937dea023539c72ddae0e3571deadc1414b300483fa7aaec176168cfa9d2"
678dependencies = [
679 "winapi 0.3.9",
680]
681
682[[package]]
683name = "num" 631name = "num"
684version = "0.3.0" 632version = "0.3.0"
685source = "registry+https://github.com/rust-lang/crates.io-index" 633source = "registry+https://github.com/rust-lang/crates.io-index"
@@ -743,12 +691,6 @@ dependencies = [
743] 691]
744 692
745[[package]] 693[[package]]
746name = "numtoa"
747version = "0.1.0"
748source = "registry+https://github.com/rust-lang/crates.io-index"
749checksum = "b8f8bdf33df195859076e54ab11ee78a1b208382d3a26ec40d142ffc1ecc49ef"
750
751[[package]]
752name = "owning_ref" 694name = "owning_ref"
753version = "0.4.1" 695version = "0.4.1"
754source = "registry+https://github.com/rust-lang/crates.io-index" 696source = "registry+https://github.com/rust-lang/crates.io-index"
@@ -758,30 +700,35 @@ dependencies = [
758] 700]
759 701
760[[package]] 702[[package]]
761name = "parking_lot" 703name = "pancurses"
762version = "0.10.2" 704version = "0.16.1"
763source = "registry+https://github.com/rust-lang/crates.io-index" 705source = "registry+https://github.com/rust-lang/crates.io-index"
764checksum = "d3a704eb390aafdc107b0e392f56a82b668e3a71366993b5340f5833fd62505e" 706checksum = "d3058bc37c433096b2ac7afef1c5cdfae49ede0a4ffec3dfc1df1df0959d0ff0"
765dependencies = [ 707dependencies = [
766 "lock_api", 708 "libc",
767 "parking_lot_core", 709 "log",
710 "ncurses",
711 "pdcurses-sys",
712 "winreg",
768] 713]
769 714
770[[package]] 715[[package]]
771name = "parking_lot_core" 716name = "pdcurses-sys"
772version = "0.7.2" 717version = "0.7.1"
773source = "registry+https://github.com/rust-lang/crates.io-index" 718source = "registry+https://github.com/rust-lang/crates.io-index"
774checksum = "d58c7c768d4ba344e3e8d72518ac13e259d7c7ade24167003b8488e10b6740a3" 719checksum = "084dd22796ff60f1225d4eb6329f33afaf4c85419d51d440ab6b8c6f4529166b"
775dependencies = [ 720dependencies = [
776 "cfg-if", 721 "cc",
777 "cloudabi",
778 "libc", 722 "libc",
779 "redox_syscall",
780 "smallvec",
781 "winapi 0.3.9",
782] 723]
783 724
784[[package]] 725[[package]]
726name = "pkg-config"
727version = "0.3.18"
728source = "registry+https://github.com/rust-lang/crates.io-index"
729checksum = "d36492546b6af1463394d46f0c834346f31548646f6ba10849802c9c9a27ac33"
730
731[[package]]
785name = "proc-macro-hack" 732name = "proc-macro-hack"
786version = "0.5.16" 733version = "0.5.16"
787source = "registry+https://github.com/rust-lang/crates.io-index" 734source = "registry+https://github.com/rust-lang/crates.io-index"
@@ -812,15 +759,6 @@ source = "registry+https://github.com/rust-lang/crates.io-index"
812checksum = "41cc0f7e4d5d4544e8861606a285bb08d3e70712ccc7d2b84d7c0ccfaf4b05ce" 759checksum = "41cc0f7e4d5d4544e8861606a285bb08d3e70712ccc7d2b84d7c0ccfaf4b05ce"
813 760
814[[package]] 761[[package]]
815name = "redox_termios"
816version = "0.1.1"
817source = "registry+https://github.com/rust-lang/crates.io-index"
818checksum = "7e891cfe48e9100a70a3b6eb652fef28920c117d366339687bd5576160db0f76"
819dependencies = [
820 "redox_syscall",
821]
822
823[[package]]
824name = "redox_users" 762name = "redox_users"
825version = "0.3.4" 763version = "0.3.4"
826source = "registry+https://github.com/rust-lang/crates.io-index" 764source = "registry+https://github.com/rust-lang/crates.io-index"
@@ -859,12 +797,6 @@ dependencies = [
859] 797]
860 798
861[[package]] 799[[package]]
862name = "scopeguard"
863version = "1.1.0"
864source = "registry+https://github.com/rust-lang/crates.io-index"
865checksum = "d29ab0c6d3fc0ee92fe66e2d99f700eab17a8d57d1c1d3b748380fb20baa78cd"
866
867[[package]]
868name = "serde" 800name = "serde"
869version = "1.0.114" 801version = "1.0.114"
870source = "registry+https://github.com/rust-lang/crates.io-index" 802source = "registry+https://github.com/rust-lang/crates.io-index"
@@ -902,7 +834,6 @@ source = "registry+https://github.com/rust-lang/crates.io-index"
902checksum = "604508c1418b99dfe1925ca9224829bb2a8a9a04dda655cc01fcad46f4ab05ed" 834checksum = "604508c1418b99dfe1925ca9224829bb2a8a9a04dda655cc01fcad46f4ab05ed"
903dependencies = [ 835dependencies = [
904 "libc", 836 "libc",
905 "mio 0.7.0",
906 "signal-hook-registry", 837 "signal-hook-registry",
907] 838]
908 839
@@ -923,24 +854,6 @@ source = "registry+https://github.com/rust-lang/crates.io-index"
923checksum = "c111b5bd5695e56cffe5129854aa230b39c93a305372fdbb2668ca2394eea9f8" 854checksum = "c111b5bd5695e56cffe5129854aa230b39c93a305372fdbb2668ca2394eea9f8"
924 855
925[[package]] 856[[package]]
926name = "smallvec"
927version = "1.4.1"
928source = "registry+https://github.com/rust-lang/crates.io-index"
929checksum = "3757cb9d89161a2f24e1cf78efa0c1fcff485d18e3f55e0aa3480824ddaa0f3f"
930
931[[package]]
932name = "socket2"
933version = "0.3.12"
934source = "registry+https://github.com/rust-lang/crates.io-index"
935checksum = "03088793f677dce356f3ccc2edb1b314ad191ab702a5de3faf49304f7e104918"
936dependencies = [
937 "cfg-if",
938 "libc",
939 "redox_syscall",
940 "winapi 0.3.9",
941]
942
943[[package]]
944name = "stable_deref_trait" 857name = "stable_deref_trait"
945version = "1.2.0" 858version = "1.2.0"
946source = "registry+https://github.com/rust-lang/crates.io-index" 859source = "registry+https://github.com/rust-lang/crates.io-index"
@@ -970,15 +883,13 @@ dependencies = [
970] 883]
971 884
972[[package]] 885[[package]]
973name = "termion" 886name = "term_size"
974version = "1.5.5" 887version = "0.3.2"
975source = "registry+https://github.com/rust-lang/crates.io-index" 888source = "registry+https://github.com/rust-lang/crates.io-index"
976checksum = "c22cec9d8978d906be5ac94bceb5a010d885c626c4c8855721a4dbd20e3ac905" 889checksum = "1e4129646ca0ed8f45d09b929036bafad5377103edd06e50bf574b353d2b08d9"
977dependencies = [ 890dependencies = [
978 "libc", 891 "libc",
979 "numtoa", 892 "winapi 0.3.9",
980 "redox_syscall",
981 "redox_termios",
982] 893]
983 894
984[[package]] 895[[package]]
@@ -1109,6 +1020,15 @@ source = "registry+https://github.com/rust-lang/crates.io-index"
1109checksum = "712e227841d057c1ee1cd2fb22fa7e5a5461ae8e48fa2ca79ec42cfc1931183f" 1020checksum = "712e227841d057c1ee1cd2fb22fa7e5a5461ae8e48fa2ca79ec42cfc1931183f"
1110 1021
1111[[package]] 1022[[package]]
1023name = "winreg"
1024version = "0.5.1"
1025source = "registry+https://github.com/rust-lang/crates.io-index"
1026checksum = "a27a759395c1195c4cc5cda607ef6f8f6498f64e78f7900f5de0a127a424704a"
1027dependencies = [
1028 "winapi 0.3.9",
1029]
1030
1031[[package]]
1112name = "ws2_32-sys" 1032name = "ws2_32-sys"
1113version = "0.2.1" 1033version = "0.2.1"
1114source = "registry+https://github.com/rust-lang/crates.io-index" 1034source = "registry+https://github.com/rust-lang/crates.io-index"
diff --git a/Cargo.toml b/Cargo.toml
index 6443a4b..bca5f39 100644
--- a/Cargo.toml
+++ b/Cargo.toml
@@ -1,6 +1,6 @@
1[package] 1[package]
2name = "dijo" 2name = "dijo"
3version = "0.2.1" 3version = "0.2.2"
4authors = ["Akshay <[email protected]>"] 4authors = ["Akshay <[email protected]>"]
5edition = "2018" 5edition = "2018"
6description = "Scriptable, curses-based, digital habit tracker" 6description = "Scriptable, curses-based, digital habit tracker"
@@ -23,10 +23,7 @@ notify = "4.0"
23[dependencies.cursive] 23[dependencies.cursive]
24version = "0.15" 24version = "0.15"
25default-features = false 25default-features = false
26 26features = ["pancurses-backend"]
27[features]
28unix = ["cursive/termion-backend"]
29windows = ["cursive/crossterm-backend"]
30 27
31[dependencies.chrono] 28[dependencies.chrono]
32version = "0.4" 29version = "0.4"