thermostat/Cargo.toml

54 lines
1.8 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]
2020-10-30 22:03:57 +08:00
panic-abort = "0.3"
panic-semihosting = { version = "0.5", optional = true }
2019-03-15 02:58:41 +08:00
log = "0.4"
2020-10-30 22:03:57 +08:00
bare-metal = "1"
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"
2020-10-30 22:03:57 +08:00
nb = "1"
uom = { version = "0.30", 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"] }
heapless = "0.5"
serde-json-core = "0.1"
2020-12-17 02:19:42 +08:00
sfkv = "0.1"
2020-09-11 05:17:31 +08:00
[patch.crates-io]
# TODO: pending https://github.com/stm32-rs/stm32f4xx-hal/pull/239
stm32f4xx-hal = { git = "https://github.com/astro/stm32f4xx-hal.git", branch = "flash" }
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