59 lines
1.5 KiB
TOML
59 lines
1.5 KiB
TOML
[package]
|
|
name = "pico-website"
|
|
version = "0.1.0"
|
|
edition = "2024"
|
|
|
|
[features]
|
|
wifi-connect = [
|
|
"dep:serde-json-core",
|
|
"dep:serde",
|
|
] # you need to add a wifi.conf file for this to work
|
|
dhcp = ["dep:dhcparse"]
|
|
dns = ["dep:dnsparse"]
|
|
default = ["dhcp", "dns"]
|
|
|
|
[dependencies]
|
|
embassy-executor = { git = "https://github.com/embassy-rs/embassy", features = [
|
|
"defmt",
|
|
"nightly",
|
|
"arch-cortex-m",
|
|
"executor-thread",
|
|
"executor-interrupt",
|
|
] }
|
|
embassy-rp = { git = "https://github.com/embassy-rs/embassy", features = [
|
|
"defmt",
|
|
"unstable-pac",
|
|
"rp2040",
|
|
"time-driver",
|
|
"critical-section-impl",
|
|
] }
|
|
embassy-time = { git = "https://github.com/embassy-rs/embassy" }
|
|
embassy-usb-logger = { git = "https://github.com/embassy-rs/embassy" }
|
|
embassy-net = { git = "https://github.com/embassy-rs/embassy", features = [
|
|
"defmt",
|
|
"proto-ipv4",
|
|
"tcp",
|
|
"udp",
|
|
"dhcpv4",
|
|
] }
|
|
cyw43-pio = { git = "https://github.com/embassy-rs/embassy" }
|
|
cyw43 = { git = "https://github.com/embassy-rs/embassy" }
|
|
|
|
embedded-io-async = "*"
|
|
defmt = "*"
|
|
defmt-rtt = "*"
|
|
panic-probe = "*"
|
|
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 } |