81 lines
2.6 KiB
TOML
81 lines
2.6 KiB
TOML
|
[package]
|
||
|
edition = "2021"
|
||
|
name = "go-tracker"
|
||
|
version = "0.1.0"
|
||
|
authors = ["malled <malled@flipdot.org>"]
|
||
|
resolver = "2"
|
||
|
|
||
|
[dependencies]
|
||
|
defmt = "0.3"
|
||
|
defmt-rtt = "0.4"
|
||
|
panic-probe = { version = "0.3", features = ["print-defmt"] }
|
||
|
|
||
|
embedded-hal = "1.0.0"
|
||
|
embedded-hal-async = "1.0.0"
|
||
|
embedded-io = "0.6.1"
|
||
|
embedded-io-async = "0.6.1"
|
||
|
embedded-storage = "0.3.1"
|
||
|
|
||
|
cortex-m-rt = "0.7.3"
|
||
|
|
||
|
embassy-executor = { version = "0.6.0", features = [
|
||
|
"task-arena-size-8192",
|
||
|
"arch-cortex-m",
|
||
|
"executor-thread",
|
||
|
"defmt",
|
||
|
"integrated-timers",
|
||
|
"executor-interrupt",
|
||
|
] }
|
||
|
embassy-sync = { version = "0.6.0" }
|
||
|
embassy-time = { version = "0.3.0", features = [
|
||
|
"defmt",
|
||
|
"defmt-timestamp-uptime",
|
||
|
] }
|
||
|
|
||
|
embassy-net = { version = "0.4.0", features = [
|
||
|
"dhcpv4",
|
||
|
"tcp",
|
||
|
"dns",
|
||
|
"defmt",
|
||
|
"proto-ipv4",
|
||
|
"medium-ip",
|
||
|
] }
|
||
|
cortex-m = { version = "0.7.6", features = ["critical-section-single-core"] }
|
||
|
embassy-stm32 = { version = "0.1.0", features = [
|
||
|
"defmt",
|
||
|
"stm32l431cc",
|
||
|
"unstable-pac",
|
||
|
"memory-x",
|
||
|
"time-driver-any",
|
||
|
] }
|
||
|
embassy-net-ppp = { version = "0.1.0", features = ["defmt"] }
|
||
|
embassy-futures = "0.1.1"
|
||
|
heapless = { version = "0.8.0", features = ["defmt-03"] }
|
||
|
static_cell = "2.1.0"
|
||
|
rand = { version = "0.8.5", default-features = false }
|
||
|
rust-mqtt = { version = "0.3.0", default-features = false, features = [
|
||
|
"no_std",
|
||
|
] }
|
||
|
#minimq = "0.9.0"
|
||
|
#embedded-nal = "0.8.0"
|
||
|
|
||
|
|
||
|
[patch.crates-io]
|
||
|
embassy-time = { git = "https://github.com/embassy-rs/embassy", rev = "45cbcb513dc0bbf3e12c102df0db8c15643cc78b" }
|
||
|
embassy-time-driver = { git = "https://github.com/embassy-rs/embassy", rev = "45cbcb513dc0bbf3e12c102df0db8c15643cc78b" }
|
||
|
embassy-time-queue-driver = { git = "https://github.com/embassy-rs/embassy", rev = "45cbcb513dc0bbf3e12c102df0db8c15643cc78b" }
|
||
|
embassy-executor = { git = "https://github.com/embassy-rs/embassy", rev = "45cbcb513dc0bbf3e12c102df0db8c15643cc78b" }
|
||
|
embassy-stm32 = { git = "https://github.com/embassy-rs/embassy", rev = "45cbcb513dc0bbf3e12c102df0db8c15643cc78b" }
|
||
|
embassy-net = { git = "https://github.com/embassy-rs/embassy", rev = "45cbcb513dc0bbf3e12c102df0db8c15643cc78b" }
|
||
|
embassy-net-ppp = { git = "https://github.com/embassy-rs/embassy", rev = "45cbcb513dc0bbf3e12c102df0db8c15643cc78b" }
|
||
|
embassy-sync = { git = "https://github.com/embassy-rs/embassy", rev = "45cbcb513dc0bbf3e12c102df0db8c15643cc78b" }
|
||
|
embassy-futures = { git = "https://github.com/embassy-rs/embassy", rev = "45cbcb513dc0bbf3e12c102df0db8c15643cc78b" }
|
||
|
|
||
|
[profile.release]
|
||
|
lto = true
|
||
|
opt-level = "s"
|
||
|
incremental = false
|
||
|
codegen-units = 1
|
||
|
# note: debug = true is okay - debuginfo isn't flashed to the device!
|
||
|
debug = true
|