thermostat/Cargo.toml

54 lines
1.7 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"] }
2020-09-11 05:17:31 +08:00
stm32f4xx-hal = { version = "0.8", features = ["rt", "stm32f427", "usb_fs"] }
2020-09-04 03:38:56 +08:00
stm32-eth = { version = "0.2", features = ["stm32f427", "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"] }
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-09-11 05:17:31 +08:00
usb-device = "0.2"
usbd-serial = "0.1"
nb = "0.1"
uom = { version = "0.29", default-features = false, features = ["autoconvert", "si", "f64", "use_serde"] }
eeprom24x = "0.3"
2020-09-24 07:18:33 +08:00
serde = { version = "1.0", default-features = false, features = ["derive"] }
2020-09-24 08:06:53 +08:00
postcard = "0.5.1"
heapless = "0.5"
serde-json-core = "0.1"
2020-09-11 05:17:31 +08:00
[patch.crates-io]
stm32f4xx-hal = { git = "https://github.com/stm32-rs/stm32f4xx-hal.git" }
2019-03-07 23:27:33 +08:00
2019-03-15 02:58:41 +08:00
[features]
semihosting = ["panic-semihosting", "cortex-m-log/semihosting"]
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