com_rs: use git protocol in Cargo.toml

Don't use git submodules, which can be confusing. Instead, use a git
repo in the Cargo.toml file.

Signed-off-by: Sean Cross <sean@xobs.io>
This commit is contained in:
Sean Cross 2020-11-27 09:42:05 +08:00
parent 7ba75b14f9
commit 8e2faddd2f
5 changed files with 3 additions and 7 deletions

3
.gitmodules vendored
View file

@ -1,3 +0,0 @@
[submodule "services/com/com_rs"]
path = services/com/com_rs
url = https://github.com/betrusted-io/com_rs

2
Cargo.lock generated
View file

@ -151,6 +151,7 @@ dependencies = [
[[package]]
name = "com_rs"
version = "0.1.0"
source = "git+https://github.com/betrusted-io/com_rs.git?rev=9a91a81f482ea8eba2f2de5d6c20b9bd399f39a9#9a91a81f482ea8eba2f2de5d6c20b9bd399f39a9"
[[package]]
name = "crc"
@ -793,7 +794,6 @@ version = "0.1.0"
dependencies = [
"bitflags",
"com",
"com_rs",
"graphics-server",
"log",
"log-server",

View file

@ -11,7 +11,7 @@ heapless = "0.5"
log-server = { path = "../log-server" }
ticktimer-server = { path = "../ticktimer-server" }
log = "0.4"
com_rs = { path = "com_rs" }
com_rs = { git = "https://github.com/betrusted-io/com_rs.git", rev = "9a91a81f482ea8eba2f2de5d6c20b9bd399f39a9" }
typenum = "1.12"
[target.'cfg(not(any(windows,unix)))'.dependencies]

@ -1 +0,0 @@
Subproject commit 9a91a81f482ea8eba2f2de5d6c20b9bd399f39a9

View file

@ -13,7 +13,7 @@ ticktimer-server = { path = "../ticktimer-server" }
log-server = { path = "../log-server" }
log = "0.4"
com = { path = "../com"}
com_rs = { path = "../com/com_rs" }
# com_rs = { git = "https://github.com/betrusted-io/com_rs.git", rev = "9a91a81f482ea8eba2f2de5d6c20b9bd399f39a9" }
[target.'cfg(not(any(windows,unix)))'.dependencies]