thermostat/Cargo.toml

50 lines
1.6 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"] }
2022-01-25 10:38:47 +08:00
stm32f4xx-hal = { version = "=0.10.1", features = ["rt", "stm32f427", "usb_fs"] }
stm32-eth = { rev = "882553d21", features = ["stm32f427", "smoltcp-phy"], git = "https://github.com/stm32-rs/stm32-eth.git" }
smoltcp = { version = "0.7.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
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