mirror of
				https://github.com/Djeeberjr/fw-anwesenheit.git
				synced 2025-11-03 23:24:10 +00:00 
			
		
		
		
	
		
			
				
	
	
		
			88 lines
		
	
	
		
			2.8 KiB
		
	
	
	
		
			TOML
		
	
	
	
	
	
			
		
		
	
	
			88 lines
		
	
	
		
			2.8 KiB
		
	
	
	
		
			TOML
		
	
	
	
	
	
[package]
 | 
						|
name = "fw-anwesenheit"
 | 
						|
version = "0.1.0"
 | 
						|
edition = "2024"
 | 
						|
 | 
						|
[[bin]]
 | 
						|
name = "fw-anwesenheit"
 | 
						|
path = "./src/main.rs"
 | 
						|
test = false
 | 
						|
doctest = false
 | 
						|
bench = false
 | 
						|
 | 
						|
[dependencies]
 | 
						|
esp-bootloader-esp-idf = "0.1.0"
 | 
						|
embassy-net = { version = "0.7.0", features = [
 | 
						|
  "dhcpv4",
 | 
						|
  "medium-ethernet",
 | 
						|
  "tcp",
 | 
						|
  "udp",
 | 
						|
] }
 | 
						|
embedded-hal = "=1.0.0"
 | 
						|
embedded-io = "0.6.1"
 | 
						|
embedded-io-async = "0.6.1"
 | 
						|
esp-alloc = "0.8.0"
 | 
						|
esp-hal = { version = "1.0.0-beta.1", features = ["esp32c6", "unstable"] } 
 | 
						|
smoltcp = { version = "0.12.0", default-features = false, features = [
 | 
						|
  "medium-ethernet",
 | 
						|
  "multicast",
 | 
						|
  "proto-dhcpv4",
 | 
						|
  "proto-dns",
 | 
						|
  "proto-ipv4",
 | 
						|
  "socket-dns",
 | 
						|
  "socket-icmp",
 | 
						|
  "socket-raw",
 | 
						|
  "socket-tcp",
 | 
						|
  "socket-udp",
 | 
						|
] }
 | 
						|
# for more networking protocol support see https://crates.io/crates/edge-net
 | 
						|
bleps = { git = "https://github.com/bjoernQ/bleps", package = "bleps", rev = "a5148d8ae679e021b78f53fd33afb8bb35d0b62e", features = [
 | 
						|
  "async",
 | 
						|
  "macros",
 | 
						|
] }
 | 
						|
critical-section = "1.2.0"
 | 
						|
embassy-executor = { version = "0.7.0", features = ["nightly"] }
 | 
						|
embassy-time = { version = "0.4.0", features = ["generic-queue-8"] }
 | 
						|
esp-hal-embassy = { version = "0.9.0", features = ["esp32c6"] } 
 | 
						|
esp-wifi = { version = "0.15.0", features = [ 
 | 
						|
  "wifi",
 | 
						|
  "builtin-scheduler",
 | 
						|
  "esp-alloc",
 | 
						|
  "esp32c6",
 | 
						|
  "log-04",
 | 
						|
] } 
 | 
						|
heapless = { version = "0.8.0", default-features = false }
 | 
						|
static_cell = { version = "2.1.0", features = ["nightly"] }
 | 
						|
esp-println = { version = "0.15.0", features = ["esp32c6", "log-04"] }
 | 
						|
log = { version = "0.4" }
 | 
						|
edge-dhcp = { version = "0.6.0", features = ["log"] }
 | 
						|
edge-nal = "0.5.0"
 | 
						|
edge-nal-embassy = { version = "0.6.0", features = ["log"] }
 | 
						|
picoserve = { git = "https://github.com/sammhicks/picoserve.git", rev = "400df53f61137e1bb2883ec610fc191bfe551a3a", features = ["embassy", "log", "json"] }
 | 
						|
embassy-sync = { version = "0.7.0", features = ["log"] }
 | 
						|
ds3231 = { version = "0.3.0", features = ["async", "temperature_f32"] }
 | 
						|
chrono = { version = "0.4.41", default-features = false } 
 | 
						|
dir-embed = "0.3.0"
 | 
						|
esp-hal-smartled = { git = "https://github.com/esp-rs/esp-hal-community.git", package = "esp-hal-smartled", branch = "main", features = ["esp32c6"]}
 | 
						|
smart-leds = "0.4.0"
 | 
						|
serde = { version = "1.0.219", default-features = false, features = ["derive", "alloc"] }
 | 
						|
embedded-sdmmc = "0.8.0"
 | 
						|
embedded-hal-bus = "0.3.0"
 | 
						|
serde_json = { version = "1.0.143", default-features = false, features = ["alloc"]}
 | 
						|
embassy-futures = { version = "0.1.2", features = ["log"] }
 | 
						|
bitflags = "2.9.4"
 | 
						|
 | 
						|
[profile.dev]
 | 
						|
# Rust debug is too slow.
 | 
						|
# For debug builds always builds with some optimization
 | 
						|
opt-level = "s"
 | 
						|
 | 
						|
[profile.release]
 | 
						|
codegen-units    = 1     # LLVM can perform better optimizations using a single thread
 | 
						|
debug            = 2
 | 
						|
debug-assertions = false
 | 
						|
incremental      = false
 | 
						|
lto              = 'fat'
 | 
						|
opt-level        = 's'
 | 
						|
overflow-checks  = false
 |