thermostat/Cargo.toml

49 lines
1.6 KiB
TOML
Raw Permalink 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"] }
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 }
2020-03-14 06:39:22 +08:00
nom = { version = "5", default-features = false }
num-traits = { version = "0.2", default-features = false, features = ["libm"] }
2020-05-28 05:16:22 +08:00
nb = "0.1"
2019-03-07 23:27:33 +08:00
[patch.crates-io]
# TODO: pending https://github.com/stm32-rs/stm32f4xx-hal/pull/125
stm32f4xx-hal = { git = "https://github.com/thalesfragoso/stm32f4xx-hal", branch = "pwm-impl" }
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