cargo: remove uom

This commit is contained in:
occheung 2020-09-23 12:30:26 +08:00
parent 5dc9ec5a08
commit c935236d68
2 changed files with 4 additions and 24 deletions

16
Cargo.lock generated
View File

@ -250,7 +250,6 @@ dependencies = [
"scpi", "scpi",
"smoltcp", "smoltcp",
"stm32h7xx-hal", "stm32h7xx-hal",
"uom 0.29.0",
] ]
[[package]] [[package]]
@ -619,7 +618,7 @@ dependencies = [
"lexical-core", "lexical-core",
"libm", "libm",
"scpi_derive", "scpi_derive",
"uom 0.28.0", "uom",
] ]
[[package]] [[package]]
@ -680,8 +679,7 @@ dependencies = [
[[package]] [[package]]
name = "smoltcp" name = "smoltcp"
version = "0.6.0" version = "0.6.0"
source = "registry+https://github.com/rust-lang/crates.io-index" source = "git+https://github.com/smoltcp-rs/smoltcp.git#bdfa44270e9c59b3095b555cdf14601f7dc27794"
checksum = "0fe46639fd2ec79eadf8fe719f237a7a0bd4dac5d957f1ca5bbdbc1c3c39e53a"
dependencies = [ dependencies = [
"bitflags", "bitflags",
"byteorder", "byteorder",
@ -798,16 +796,6 @@ dependencies = [
"typenum", "typenum",
] ]
[[package]]
name = "uom"
version = "0.29.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "8bb593f5252356bfb829112f8fca2d0982d48588d2d6bb5a92553b0dfc4c9aba"
dependencies = [
"num-traits",
"typenum",
]
[[package]] [[package]]
name = "url" name = "url"
version = "2.1.1" version = "2.1.1"

View File

@ -33,16 +33,8 @@ branch = "issue-4"
default-features = false default-features = false
features = [ "build-info", "unit-frequency", "unit-angle" ] features = [ "build-info", "unit-frequency", "unit-angle" ]
[dependencies.uom] [patch.crates-io]
version = "0.29.0" smoltcp = { git = "https://github.com/smoltcp-rs/smoltcp.git" }
default-features = false
features = [ "autoconvert", "f32", "f64", "si" ]
# Use below SCPI dependency when need to modify SCPI fork offline
# [dependencies.scpi]
# path = "../scpi-fork/scpi"
# default-features = false
# features = [ "build-info", "unit-frequency" ]
[[example]] [[example]]
name = "ethernet" name = "ethernet"