diff options
| author | sigoden <sigoden@gmail.com> | 2023-03-05 11:11:15 +0800 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2023-03-05 11:11:15 +0800 |
| commit | 2ac0155fa357a656e11422cfe6ee07fcd357109a (patch) | |
| tree | 4feaac76437fb4ae8255fda30559e7708bc5ba16 /Cargo.lock | |
| parent | d876818df17ad7b25ebb38a678aa23c79b826e38 (diff) | |
| download | aichat-2ac0155fa357a656e11422cfe6ee07fcd357109a.tar.gz | |
feat: accept pipe (#17)
`cat data | aichat` works
Diffstat (limited to 'Cargo.lock')
| -rw-r--r-- | Cargo.lock | 21 |
1 files changed, 21 insertions, 0 deletions
@@ -22,6 +22,7 @@ name = "aichat" version = "0.2.0" dependencies = [ "anyhow", + "atty", "bytes", "chrono", "clap", @@ -116,6 +117,17 @@ dependencies = [ ] [[package]] +name = "atty" +version = "0.2.14" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "d9b39be18770d11421cdb1b9947a45dd3f37e93092cbf377614828a319d5fee8" +dependencies = [ + "hermit-abi 0.1.19", + "libc", + "winapi", +] + +[[package]] name = "autocfg" version = "1.1.0" source = "registry+https://github.com/rust-lang/crates.io-index" @@ -889,6 +901,15 @@ checksum = "95505c38b4572b2d910cecb0281560f54b440a19336cbbcb27bf6ce6adc6f5a8" [[package]] name = "hermit-abi" +version = "0.1.19" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "62b467343b94ba476dcb2500d242dadbb39557df889310ac77c5d99100aaac33" +dependencies = [ + "libc", +] + +[[package]] +name = "hermit-abi" version = "0.2.6" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "ee512640fe35acbfb4bb779db6f0d80704c2cacfa2e39b601ef3e3f47d1ae4c7" |
