pico-website/Cargo.toml
2025-08-15 09:39:05 +02:00

64 lines
1.7 KiB
TOML

[package]
name = "pico-website"
version = "0.1.0"
edition = "2024"
[features]
json = ["dep:serde-json-core", "dep:serde"]
wifi-connect = [
"dep:serde-json-core",
"dep:serde",
] # you need to add a wifi.json file for this to work
dhcp = ["dep:dhcparse"]
dns = ["dep:dnsparse"]
chat = ["dep:ringbuf", "json"]
ttt = ["json"]
default = ["dhcp", "dns", "chat"]
[dependencies]
# git = "https://github.com/embassy-rs/embassy",
embassy-executor = { version = "*", features = [
"nightly",
"arch-cortex-m",
"executor-thread",
"executor-interrupt",
] }
embassy-rp = { version = "*", features = [
"unstable-pac",
"rp2040",
"time-driver",
"critical-section-impl",
] }
embassy-time = { version = "*" }
embassy-usb-logger = { version = "*" }
embassy-net = { version = "*", features = [
"proto-ipv4",
"tcp",
"udp",
"dhcpv4",
] }
embassy-sync = { version = "*" }
cyw43-pio = { version = "*" }
cyw43 = { version = "*" }
embedded-io-async = "*"
cortex-m = { version = "*", features = ["inline-asm"] }
cortex-m-rt = "*"
static_cell = "*"
portable-atomic = { version = "*", features = ["critical-section"] }
heapless = "*"
rand_core = "*"
log = "*"
serde-json-core = { version = "*", optional = true }
serde = { version = "*", optional = true, default-features = false, features = [
"derive",
] }
dhcparse = { version = "*", default-features = false, optional = true }
dnsparse = { version = "*", optional = true }
ringbuf = { version = "*", default-features = false, features = [
"portable-atomic",
], optional = true }
percent-encoding = { version = "*", default-features = false }
sha1 = { version = "*", default-features = false }
base64 = { version = "*", default-features = false }