forked from M-Labs/humpback-dds
cargo: modify dependencies
This commit is contained in:
parent
e2371af952
commit
f993ee5e28
44
Cargo.lock
generated
44
Cargo.lock
generated
@ -184,28 +184,6 @@ dependencies = [
|
|||||||
"syn",
|
"syn",
|
||||||
]
|
]
|
||||||
|
|
||||||
[[package]]
|
|
||||||
name = "firmware"
|
|
||||||
version = "0.1.0"
|
|
||||||
dependencies = [
|
|
||||||
"cortex-m",
|
|
||||||
"cortex-m-log",
|
|
||||||
"cortex-m-rt",
|
|
||||||
"cortex-m-rtic",
|
|
||||||
"embedded-hal",
|
|
||||||
"embedded-nal",
|
|
||||||
"heapless",
|
|
||||||
"lazy_static",
|
|
||||||
"log",
|
|
||||||
"minimq",
|
|
||||||
"nb 1.0.0",
|
|
||||||
"nom",
|
|
||||||
"panic-halt",
|
|
||||||
"panic-itm",
|
|
||||||
"smoltcp",
|
|
||||||
"stm32h7xx-hal",
|
|
||||||
]
|
|
||||||
|
|
||||||
[[package]]
|
[[package]]
|
||||||
name = "generic-array"
|
name = "generic-array"
|
||||||
version = "0.12.3"
|
version = "0.12.3"
|
||||||
@ -261,6 +239,28 @@ dependencies = [
|
|||||||
"stable_deref_trait",
|
"stable_deref_trait",
|
||||||
]
|
]
|
||||||
|
|
||||||
|
[[package]]
|
||||||
|
name = "humpback-dds"
|
||||||
|
version = "0.1.0"
|
||||||
|
dependencies = [
|
||||||
|
"cortex-m",
|
||||||
|
"cortex-m-log",
|
||||||
|
"cortex-m-rt",
|
||||||
|
"cortex-m-rtic",
|
||||||
|
"embedded-hal",
|
||||||
|
"embedded-nal",
|
||||||
|
"heapless",
|
||||||
|
"lazy_static",
|
||||||
|
"log",
|
||||||
|
"minimq",
|
||||||
|
"nb 1.0.0",
|
||||||
|
"nom",
|
||||||
|
"panic-halt",
|
||||||
|
"panic-itm",
|
||||||
|
"smoltcp",
|
||||||
|
"stm32h7xx-hal",
|
||||||
|
]
|
||||||
|
|
||||||
[[package]]
|
[[package]]
|
||||||
name = "indexmap"
|
name = "indexmap"
|
||||||
version = "1.6.0"
|
version = "1.6.0"
|
||||||
|
28
Cargo.toml
28
Cargo.toml
@ -2,7 +2,7 @@
|
|||||||
authors = ["occheung"]
|
authors = ["occheung"]
|
||||||
edition = "2018"
|
edition = "2018"
|
||||||
readme = "README.md"
|
readme = "README.md"
|
||||||
name = "firmware"
|
name = "humpback-dds"
|
||||||
version = "0.1.0"
|
version = "0.1.0"
|
||||||
|
|
||||||
[dependencies]
|
[dependencies]
|
||||||
@ -26,35 +26,9 @@ cortex-m-log = { version = "0.6.2", features = [ "itm", "log-integration" ] }
|
|||||||
log = {version = "0.4.11"}
|
log = {version = "0.4.11"}
|
||||||
lazy_static = { version = "1.4.0", features = ["spin_no_std"] }
|
lazy_static = { version = "1.4.0", features = ["spin_no_std"] }
|
||||||
|
|
||||||
# [dependencies.scpi]
|
|
||||||
# git = "https://github.com/occheung/scpi-rs"
|
|
||||||
# branch = "issue-4"
|
|
||||||
# default-features = false
|
|
||||||
# features = [ "build-info", "unit-frequency", "unit-angle" ]
|
|
||||||
|
|
||||||
[patch.crates-io]
|
[patch.crates-io]
|
||||||
smoltcp = { git = "https://github.com/smoltcp-rs/smoltcp.git" }
|
smoltcp = { git = "https://github.com/smoltcp-rs/smoltcp.git" }
|
||||||
|
|
||||||
[[example]]
|
|
||||||
name = "ethernet"
|
|
||||||
|
|
||||||
[[example]]
|
|
||||||
name = "fpga_config"
|
|
||||||
|
|
||||||
[[example]]
|
|
||||||
name = "tcp_client"
|
|
||||||
|
|
||||||
[[example]]
|
|
||||||
name = "mqtt_client"
|
|
||||||
|
|
||||||
[[example]]
|
|
||||||
name = "mqtt_hello_world"
|
|
||||||
|
|
||||||
[[bin]]
|
|
||||||
name = "firmware"
|
|
||||||
test = false
|
|
||||||
bench = false
|
|
||||||
|
|
||||||
[profile.release]
|
[profile.release]
|
||||||
codegen-units = 1 # better optimizations
|
codegen-units = 1 # better optimizations
|
||||||
debug = true # symbols are nice and they don't increase the size on Flash
|
debug = true # symbols are nice and they don't increase the size on Flash
|
||||||
|
Loading…
Reference in New Issue
Block a user