-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathCargo.toml
More file actions
70 lines (61 loc) · 2.37 KB
/
Copy pathCargo.toml
File metadata and controls
70 lines (61 loc) · 2.37 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
[workspace]
members = ["crates/talk-core", "crates/talk-wasm"]
# Package is `talk-cli` on crates.io (the bare `talk` name is taken by an
# unrelated crate); the installed command stays `talk` via the [[bin]] below.
[package]
name = "talk-cli"
version = "0.3.0"
edition = "2021"
rust-version = "1.82"
license = "MIT"
description = "A terminal listening companion — speak a reflection, and it settles into a quiet file."
repository = "https://github.com/walktalkmeditate/talk-cli"
keywords = ["journaling", "voice", "reflection", "cli", "wellness"]
categories = ["command-line-utilities"]
exclude = [
"/crates", "/web", "/demo", "/docs", "/tests", "/.github",
# Dev / agent / release infra — not part of the published crate.
"/.wolf", "/.claude", "/CLAUDE.md", "/DREAMING.md",
"/install.sh", "/install.ps1", "/.gitignore",
]
[[bin]]
name = "talk"
path = "src/main.rs"
# No-egress FFI probe for the privacy suite — needs the sherpa-onnx stack, so it
# only builds under `--features listen`. Kept out of default `--all-targets` builds.
[[example]]
name = "ffi_probe"
required-features = ["listen"]
# talk is a voice CLI — the microphone (`listen`) is on by default so
# `cargo install talk-cli` Just Works. Build text-only with `--no-default-features`.
[features]
default = ["listen"]
listen = ["download", "dep:cpal", "dep:sherpa-onnx", "dep:coreaudio-sys", "dep:zeroize"]
download = ["dep:ureq"]
[dependencies]
talk-core = { path = "crates/talk-core", version = "0.3.0" }
clap = { version = "=4.5.20", features = ["derive"] }
serde = { version = "1", features = ["derive"] }
serde_json = "1"
toml = "0.8"
directories = "5"
fs2 = "0.4"
crossterm = "0.28"
cpal = { version = "0.16", optional = true } # match the sherpa-onnx rust-api-examples
sherpa-onnx = { version = "1.13", optional = true } # verify symbols vs the pinned rust-api-examples
ureq = { version = "2", optional = true } # v2: resp.into_reader() exists (removed in v3)
sha2 = "0.10"
tar = "0.4"
bzip2 = "0.4"
zeroize = { version = "1", optional = true } # listen-only: wipes the ephemeral transcript buffers
[target.'cfg(unix)'.dependencies]
libc = "0.2"
[target.'cfg(target_os = "macos")'.dependencies]
coreaudio-sys = { version = "=0.2.16", optional = true } # MSRV pin, mirrors meditate-cli
[dev-dependencies]
tempfile = "3"
[profile.release]
opt-level = 3
lto = true
codegen-units = 1
strip = true