2021-03-08 19:52:39 +00:00
[ package ]
authors = [ "bunnie <bunnie@kosagi.com>" ]
description = "A shell with a chat-like interface"
2021-03-26 12:22:33 +00:00
edition = "2018"
name = "shellchat"
version = "0.1.0"
2021-03-08 19:52:39 +00:00
2022-06-10 13:36:53 +00:00
# Dependency versions enforced by Cargo.lock.
2021-03-08 19:52:39 +00:00
[ dependencies ]
2024-01-14 16:14:39 +00:00
com = { path = "../com" }
2025-05-11 04:33:50 +00:00
content-plugin-api = { path = "../content-plugin-api" } # all content canvas providers must provide this API
2024-01-14 16:14:39 +00:00
gam = { path = "../gam" }
2025-02-17 10:25:52 +00:00
blitstr2 = { path = "../../libs/blitstr2" }
2025-02-21 09:48:38 +00:00
ux-api = { path = "../../libs/ux-api" }
2024-01-14 16:14:39 +00:00
ime-plugin-api = { path = "../ime-plugin-api" }
ime-plugin-shell = { path = "../ime-plugin-shell" }
ime-plugin-tts = { path = "../ime-plugin-tts" }
llio = { path = "../llio" }
2022-01-10 07:39:55 +00:00
log = "0.4.14"
2026-01-29 11:12:00 +00:00
log-server = { package = "xous-api-log" , version = "0.1.69" }
ticktimer-server = { package = "xous-api-ticktimer" , version = "0.9.70" }
xous = "0.9.70"
xous-ipc = "0.10.10"
xous-names = { package = "xous-api-names" , version = "0.9.71" }
2024-01-14 16:14:39 +00:00
keyboard = { path = "../keyboard" }
2026-01-27 16:36:05 +00:00
susres = { path = "../../api/xous-api-susres" , package = "xous-api-susres" }
2024-01-14 16:14:39 +00:00
codec = { path = "../codec" }
2024-01-31 17:42:18 +00:00
sha2 = { version = "0.10.8" }
2024-02-04 20:12:36 +00:00
digest = "0.10.7"
2024-01-14 16:14:39 +00:00
aes = { path = "../aes" }
2024-02-04 20:12:36 +00:00
cipher = "0.4.4"
2024-01-14 16:14:39 +00:00
spinor = { path = "../spinor" }
root-keys = { path = "../root-keys" }
2025-05-04 10:34:17 +00:00
keystore-api = { path = "../../libs/keystore-api" , features = [ "gen1" ] }
2024-01-14 16:14:39 +00:00
jtag = { path = "../jtag" }
net = { path = "../net" }
dns = { path = "../dns" }
pddb = { path = "../pddb" }
modals = { path = "../modals" }
usb-device-xous = { path = "../usb-device-xous" }
2025-05-11 04:33:50 +00:00
precursor-hal = { path = "../../libs/precursor-hal" }
2026-01-29 11:12:00 +00:00
utralib = { version = "0.1.27" , optional = true , default-features = false }
2024-01-14 16:14:39 +00:00
tts-frontend = { path = "../tts" }
locales = { path = "../../locales" }
trng = { path = "../trng" }
2024-02-04 20:12:36 +00:00
num-derive = { version = "0.4.1" , default-features = false }
2024-01-14 16:14:39 +00:00
num-traits = { version = "0.2.14" , default-features = false }
2024-09-22 06:16:36 +00:00
rkyv = { version = "0.8.8" , default-features = false , features = [
"std" ,
"alloc" ,
2024-01-14 16:14:39 +00:00
] }
2024-02-08 05:51:30 +00:00
chrono = { version = "0.4.33" , default-features = false , features = [ "std" ] }
2022-03-26 20:06:26 +00:00
2021-09-08 07:10:54 +00:00
# for audio self-test analysis
2023-01-02 09:50:29 +00:00
base64 = "0.20.0"
2024-01-14 16:14:39 +00:00
cos_table = { path = "../../libs/cos_table" }
2022-01-13 18:23:57 +00:00
# used to parse net connectivity results
2023-05-03 14:53:54 +00:00
com_rs = { git = "https://github.com/betrusted-io/com_rs" , rev = "891bdd3ca8e41f81510d112483e178aea3e3a921" }
2021-09-08 07:10:54 +00:00
2022-05-11 13:24:04 +00:00
# for net testing
threadpool = "1.8.1"
2022-05-28 18:42:14 +00:00
# testing rand compatibility - this is chasing the devil, but unfortunately
# a *lot* of useful packages are chasing this devil.
2022-07-04 09:55:52 +00:00
# also used in pddb testing
2024-01-14 16:14:39 +00:00
rand = { version = "0.8.5" , features = [ "getrandom" ] }
2022-05-28 18:42:14 +00:00
2022-07-04 09:55:52 +00:00
# pddb testing
2024-01-14 16:14:39 +00:00
rand_chacha = { version = "0.3.1" , optional = true }
2022-07-04 09:55:52 +00:00
2024-01-04 15:19:51 +00:00
# for lock tests
rand_xorshift = "0.3.0"
2022-06-14 09:09:44 +00:00
# for ditherpunk testing
2024-01-14 16:14:39 +00:00
png = { version = "0.17.5" , optional = true }
tracking-allocator = { version = "0.3.0" , optional = true }
tracing = { version = "0.1.35" , optional = true }
tracing-subscriber = { version = "0.3.11" , optional = true }
2022-06-14 09:09:44 +00:00
2022-08-12 07:56:05 +00:00
# for rustls testing
2024-01-14 16:14:39 +00:00
tls = { path = "../../libs/tls" , optional = true }
2024-02-09 09:18:41 +00:00
url = { version = "2.3.1" , optional = true }
2023-06-25 22:12:11 +00:00
# for testing ring math functions
# note requirement for patch to xous-ring in workspace Cargo.toml
2024-02-09 09:18:41 +00:00
ring = { version = "=0.17.7" , optional = true }
2023-06-25 22:12:11 +00:00
2024-02-11 09:15:49 +00:00
# for direct TLS testing - API broke from 0.16 to 0.17 rustls
rustls = { version = "0.22.2" , optional = true }
webpki-roots = { version = "0.26.0" , optional = true }
2023-06-25 22:12:11 +00:00
# for websocket testing
2024-01-14 16:14:39 +00:00
tungstenite = { version = "0.20.0" , optional = true }
2022-10-23 15:15:48 +00:00
# for performance testing
2024-01-14 16:52:43 +00:00
perflib = { path = "../../libs/perflib" , optional = true }
2024-02-08 06:22:26 +00:00
random-pick = { version = "1.2.16" , optional = true }
2022-08-12 07:56:05 +00:00
2021-06-26 16:31:15 +00:00
# for the curve25519 tests
# hardware acceleration adaptations are inserted into a fork of the main branch.
2024-01-14 16:14:39 +00:00
hex = { version = "0.4.3" , default-features = false , features = [ ] }
2021-08-08 20:40:33 +00:00
#sha2 = {version = "0.9.5", default-features = false, features = []}
2021-06-26 16:31:15 +00:00
[ dependencies . curve25519-dalek ]
2024-03-28 08:16:45 +00:00
version = "=4.1.2" # note this is patched to our fork in ./Cargo.toml
2021-06-26 16:31:15 +00:00
default-features = false
2025-05-11 04:45:29 +00:00
features = [ "auto-release" , "warn-fallback" ]
2021-06-26 16:31:15 +00:00
[ dependencies . x25519-dalek ]
2024-03-11 10:17:42 +00:00
version = "=2.0.1"
2024-02-04 20:12:36 +00:00
# TODO: static_secrets is only needed by the engine tests. Ideally, we would put the static_secrets version in dev deps only
2021-06-26 16:31:15 +00:00
default-features = false
2024-02-04 20:12:36 +00:00
features = [ "static_secrets" ]
2021-06-26 16:31:15 +00:00
2021-06-27 17:31:43 +00:00
[ dependencies . ed25519-dalek ]
2024-03-11 10:17:42 +00:00
version = "=2.1.0"
2021-06-29 15:46:15 +00:00
#path = "../../../ed25519-dalek"
2021-06-27 17:31:43 +00:00
default-features = false
2024-02-04 20:12:36 +00:00
features = [ "rand_core" ]
2021-06-27 17:31:43 +00:00
2021-03-08 19:52:39 +00:00
[ features ]
2025-07-21 11:02:21 +00:00
vexii-test = [ "aes/vexii-test" ]
2025-09-07 03:50:12 +00:00
precursor = [ "utralib/precursor" , "sha2/precursor" , "aes/precursor" ]
2024-01-31 17:42:18 +00:00
hosted = [ "utralib/hosted" , "sha2/hosted" , "random-pick" ]
2025-09-07 03:50:12 +00:00
renode = [ "utralib/renode" , "sha2/renode" , "aes/renode" ]
2021-03-08 19:52:39 +00:00
debugprint = [ ]
2024-01-14 16:14:39 +00:00
spinortest = [
] # for spinor testing. contra-indicated with PDDB, as it steals memory from the PDDB.
benchmarks = [
] # adds the benchmark routines. Left off normally to free up code and memory space.
2024-01-30 19:52:32 +00:00
hashtest = [ ]
2022-05-29 19:09:05 +00:00
aestests = [ ] # adds AES tests
2022-03-07 19:08:12 +00:00
tts = [ ] # adds text to speech plugin
2022-07-04 10:13:11 +00:00
pddbtest = [ "rand_chacha" ]
2022-07-04 09:55:52 +00:00
autobasis = [ "rand_chacha" ]
autobasis-ci = [ ]
2022-06-14 09:09:44 +00:00
ditherpunk = [ "png" ]
2022-06-18 17:55:16 +00:00
tracking-alloc = [ "tracking-allocator" , "tracing" , "tracing-subscriber" ]
2024-01-14 16:14:39 +00:00
dbg-ecupdate = [
] # for issuing manual commands to initiate an EC update (vs UX). Also need to enable this feature in the status crate. Intended for debug only.
2022-07-18 19:17:08 +00:00
test-rekey = [ ]
2022-10-20 14:35:17 +00:00
no-codec = [ ]
2022-08-02 08:46:36 +00:00
nettest = [ ] # batch network tests
2023-06-29 10:28:23 +00:00
tls = [ "dep:tls" , "ring" ]
2023-06-27 19:56:41 +00:00
rootCA = [ "tls/rootCA" ]
websocket = [ "tls" , "tungstenite" , "url" ]
2024-01-14 16:14:39 +00:00
shellperf = [
"ring" ,
"perflib" ,
"xous/v2p" ,
"random-pick" ,
] # this also needs the project-wide "perfcounter" feature to be selected. shellchat is the exclusive manager of the performance counter, do not use with e.g. "vaultperf" feature
2023-01-02 09:50:29 +00:00
extra-tests = [ ]
2023-01-13 16:08:30 +00:00
mass-storage = [ ]
2024-02-08 07:04:23 +00:00
rand-api = [ ]
2024-01-14 16:14:39 +00:00
locktests = [
] # for debugging some specific `std` tests cherry-picked out of the test suite
2024-02-11 09:15:49 +00:00
simple-tls = [ "rustls" , "webpki-roots" ]
2024-08-18 18:24:24 +00:00
clifford-bench = [ ]
2024-07-13 16:01:22 +00:00
nettype = [ ] # takes a file from a URL and emits it as keystrokes
2024-03-28 08:22:37 +00:00
default = [ ] # "debugprint"