thermostat/Cargo.toml

43 lines
1.3 KiB
TOML
Raw Normal View History

2019-03-07 23:27:33 +08:00
[package]
categories = ["embedded", "no-std"]
2019-06-01 10:14:32 +08:00
name = "thermostat"
description = "Thermostat firmware"
2019-03-19 04:47:18 +08:00
license = "GPL-3.0-only"
2019-03-07 23:27:33 +08:00
authors = ["Astro <astro@spaceboyz.net>"]
version = "0.0.0"
2019-06-01 10:14:32 +08:00
keywords = ["thermostat", "laser", "physics"]
repository = "https://git.m-labs.hk/M-Labs/thermostat"
2019-03-07 23:27:33 +08:00
edition = "2018"
[package.metadata.docs.rs]
features = []
default-target = "thumbv7em-none-eabihf"
[dependencies]
panic-abort = "0.3.1"
2019-03-15 02:58:41 +08:00
panic-semihosting = { version = "0.5.1", optional = true }
log = "0.4"
2019-03-15 05:02:08 +08:00
bare-metal = "0.2"
cortex-m = "0.6"
2019-03-07 23:27:33 +08:00
cortex-m-rt = { version = "0.6", features = ["device"] }
2020-03-12 06:11:29 +08:00
cortex-m-log = { version = "0.6", features = ["log-integration"] }
2019-03-12 01:23:52 +08:00
embedded-hal = "0.2"
2020-03-09 07:27:35 +08:00
stm32f4xx-hal = { version = "0.7", features = ["rt", "stm32f427"] }
2020-03-12 06:11:29 +08:00
stm32-eth = { version = "0.1.2", features = ["smoltcp-phy"], git = "https://github.com/stm32-rs/stm32-eth.git" }
2020-03-09 06:45:07 +08:00
smoltcp = { version = "0.6.0", default-features = false, features = ["proto-ipv4", "socket-tcp", "log"] }
hash2hwaddr = { version = "0.0", optional = true }
2020-03-12 06:11:29 +08:00
bit_field = "0.10"
byteorder = { version = "1", default-features = false }
2019-03-07 23:27:33 +08:00
2019-03-15 02:58:41 +08:00
[features]
semihosting = ["panic-semihosting", "cortex-m-log/semihosting"]
generate-hwaddr = ["hash2hwaddr"]
default = ["generate-hwaddr"]
2019-03-07 23:27:33 +08:00
[profile.release]
2019-03-12 01:25:13 +08:00
codegen-units = 1
incremental = false
debug = true
opt-level = "s"
2019-03-07 23:27:33 +08:00
lto = true