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

View File

@ -33,16 +33,8 @@ branch = "issue-4"
default-features = false
features = [ "build-info", "unit-frequency", "unit-angle" ]
[dependencies.uom]
version = "0.29.0"
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" ]
[patch.crates-io]
smoltcp = { git = "https://github.com/smoltcp-rs/smoltcp.git" }
[[example]]
name = "ethernet"