Remove libp2p- prefix (#152)

* Remove `libp2p-` prefix

* More sed-fu
This commit is contained in:
Jef
2018-03-20 14:44:46 +01:00
committed by Pierre Krieger
parent 1e86c6ed35
commit 5c4aefe457
77 changed files with 42 additions and 42 deletions

View File

@ -3,16 +3,16 @@ members = [
"multistream-select", "multistream-select",
"datastore", "datastore",
"example", "example",
"libp2p-dns", "dns",
"libp2p-floodsub", "floodsub",
"libp2p-identify", "identify",
"libp2p-kad", "kad",
"libp2p-peerstore", "peerstore",
"libp2p-ping", "ping",
"libp2p-secio", "secio",
"libp2p-swarm", "swarm",
"libp2p-tcp-transport", "tcp-transport",
"libp2p-websocket", "websocket",
"multistream-select", "multistream-select",
"datastore", "datastore",
"rw-stream-sink", "rw-stream-sink",

View File

@ -4,7 +4,7 @@ version = "0.1.0"
authors = ["Parity Technologies <admin@parity.io>"] authors = ["Parity Technologies <admin@parity.io>"]
[dependencies] [dependencies]
libp2p-swarm = { path = "../libp2p-swarm" } libp2p-swarm = { path = "../swarm" }
log = "0.4.1" log = "0.4.1"
futures = "0.1" futures = "0.1"
multiaddr = "0.2.0" multiaddr = "0.2.0"
@ -12,4 +12,4 @@ tokio-dns-unofficial = "0.1"
tokio-io = "0.1" tokio-io = "0.1"
[dev-dependencies] [dev-dependencies]
libp2p-tcp-transport = { path = "../libp2p-tcp-transport" } libp2p-tcp-transport = { path = "../tcp-transport" }

View File

@ -10,15 +10,15 @@ env_logger = "0.5.4"
futures = "0.1" futures = "0.1"
multiaddr = "0.2" multiaddr = "0.2"
multiplex = { path = "../multiplex-rs" } multiplex = { path = "../multiplex-rs" }
libp2p-identify = { path = "../libp2p-identify" } libp2p-identify = { path = "../identify" }
libp2p-kad = { path = "../libp2p-kad" } libp2p-kad = { path = "../kad" }
libp2p-floodsub = { path = "../libp2p-floodsub" } libp2p-floodsub = { path = "../floodsub" }
libp2p-peerstore = { path = "../libp2p-peerstore" } libp2p-peerstore = { path = "../peerstore" }
libp2p-ping = { path = "../libp2p-ping" } libp2p-ping = { path = "../ping" }
libp2p-secio = { path = "../libp2p-secio" } libp2p-secio = { path = "../secio" }
libp2p-swarm = { path = "../libp2p-swarm" } libp2p-swarm = { path = "../swarm" }
libp2p-tcp-transport = { path = "../libp2p-tcp-transport" } libp2p-tcp-transport = { path = "../tcp-transport" }
libp2p-websocket = { path = "../libp2p-websocket" } libp2p-websocket = { path = "../websocket" }
rand = "0.4" rand = "0.4"
tokio-core = "0.1" tokio-core = "0.1"
tokio-io = "0.1" tokio-io = "0.1"

View File

@ -9,8 +9,8 @@ byteorder = "1.2.1"
bytes = "0.4" bytes = "0.4"
fnv = "1.0" fnv = "1.0"
futures = "0.1" futures = "0.1"
libp2p-peerstore = { path = "../libp2p-peerstore" } libp2p-peerstore = { path = "../peerstore" }
libp2p-swarm = { path = "../libp2p-swarm" } libp2p-swarm = { path = "../swarm" }
log = "0.4.1" log = "0.4.1"
multiaddr = "0.2" multiaddr = "0.2"
parking_lot = "0.5.3" parking_lot = "0.5.3"

View File

@ -6,8 +6,8 @@ authors = ["Parity Technologies <admin@parity.io>"]
[dependencies] [dependencies]
bytes = "0.4" bytes = "0.4"
futures = "0.1" futures = "0.1"
libp2p-peerstore = { path = "../libp2p-peerstore" } libp2p-peerstore = { path = "../peerstore" }
libp2p-swarm = { path = "../libp2p-swarm" } libp2p-swarm = { path = "../swarm" }
log = "0.4.1" log = "0.4.1"
multiaddr = "0.2.0" multiaddr = "0.2.0"
protobuf = "1.4.2" protobuf = "1.4.2"
@ -15,5 +15,5 @@ tokio-io = "0.1.0"
varint = { path = "../varint-rs" } varint = { path = "../varint-rs" }
[dev-dependencies] [dev-dependencies]
libp2p-tcp-transport = { path = "../libp2p-tcp-transport" } libp2p-tcp-transport = { path = "../tcp-transport" }
tokio-core = "0.1.0" tokio-core = "0.1.0"

View File

@ -11,10 +11,10 @@ bytes = "0.4"
datastore = { path = "../datastore" } datastore = { path = "../datastore" }
fnv = "1.0" fnv = "1.0"
futures = "0.1" futures = "0.1"
libp2p-identify = { path = "../libp2p-identify" } libp2p-identify = { path = "../identify" }
libp2p-peerstore = { path = "../libp2p-peerstore" } libp2p-peerstore = { path = "../peerstore" }
libp2p-ping = { path = "../libp2p-ping" } libp2p-ping = { path = "../ping" }
libp2p-swarm = { path = "../libp2p-swarm" } libp2p-swarm = { path = "../swarm" }
multiaddr = "0.2" multiaddr = "0.2"
parking_lot = "0.5.1" parking_lot = "0.5.1"
protobuf = "1.4.2" protobuf = "1.4.2"
@ -25,6 +25,6 @@ tokio-timer = "0.1.2"
varint = { path = "../varint-rs" } varint = { path = "../varint-rs" }
[dev-dependencies] [dev-dependencies]
libp2p-tcp-transport = { path = "../libp2p-tcp-transport" } libp2p-tcp-transport = { path = "../tcp-transport" }
rand = "0.4.2" rand = "0.4.2"
tokio-core = "0.1" tokio-core = "0.1"

View File

@ -12,11 +12,11 @@ futures = "0.1"
parking_lot = "0.4.8" parking_lot = "0.4.8"
arrayvec = "0.4.6" arrayvec = "0.4.6"
rand = "0.3.17" rand = "0.3.17"
libp2p-swarm = { path = "../libp2p-swarm" } libp2p-swarm = { path = "../swarm" }
varint = { path = "../varint-rs" } varint = { path = "../varint-rs" }
error-chain = "0.11.0" error-chain = "0.11.0"
futures-mutex = { git = "https://github.com/paritytech/futures-mutex" } futures-mutex = { git = "https://github.com/paritytech/futures-mutex" }
[dev-dependencies] [dev-dependencies]
libp2p-tcp-transport = { path = "../libp2p-tcp-transport" } libp2p-tcp-transport = { path = "../tcp-transport" }
tokio-core = "0.1" tokio-core = "0.1"

View File

@ -5,7 +5,7 @@ authors = ["pierre <pierre.krieger1708@gmail.com>"]
[dependencies] [dependencies]
bytes = "0.4" bytes = "0.4"
libp2p-swarm = { path = "../libp2p-swarm" } libp2p-swarm = { path = "../swarm" }
log = "0.4.1" log = "0.4.1"
multiaddr = "0.2.0" multiaddr = "0.2.0"
multistream-select = { path = "../multistream-select" } multistream-select = { path = "../multistream-select" }
@ -15,5 +15,5 @@ rand = "0.3"
tokio-io = "0.1" tokio-io = "0.1"
[dev-dependencies] [dev-dependencies]
libp2p-tcp-transport = { path = "../libp2p-tcp-transport" } libp2p-tcp-transport = { path = "../tcp-transport" }
tokio-core = "0.1" tokio-core = "0.1"

View File

@ -6,7 +6,7 @@ authors = ["Parity Technologies <admin@parity.io>"]
[dependencies] [dependencies]
bytes = "0.4" bytes = "0.4"
futures = "0.1" futures = "0.1"
libp2p-swarm = { path = "../libp2p-swarm" } libp2p-swarm = { path = "../swarm" }
log = "0.4.1" log = "0.4.1"
protobuf = "1.4.2" protobuf = "1.4.2"
rand = "0.3.17" rand = "0.3.17"
@ -17,5 +17,5 @@ tokio-io = "0.1.0"
untrusted = "0.6.0" untrusted = "0.6.0"
[dev-dependencies] [dev-dependencies]
libp2p-tcp-transport = { path = "../libp2p-tcp-transport" } libp2p-tcp-transport = { path = "../tcp-transport" }
tokio-core = "0.1.6" tokio-core = "0.1.6"

View File

@ -15,7 +15,7 @@ smallvec = "0.5"
tokio-io = "0.1" tokio-io = "0.1"
[dev-dependencies] [dev-dependencies]
libp2p-ping = { path = "../libp2p-ping" } libp2p-ping = { path = "../ping" }
libp2p-tcp-transport = { path = "../libp2p-tcp-transport" } libp2p-tcp-transport = { path = "../tcp-transport" }
multiplex = { path = "../multiplex-rs" } multiplex = { path = "../multiplex-rs" }
tokio-core = "0.1" tokio-core = "0.1"

View File

@ -4,7 +4,7 @@ version = "0.1.0"
authors = ["Parity Technologies <admin@parity.io>"] authors = ["Parity Technologies <admin@parity.io>"]
[dependencies] [dependencies]
libp2p-swarm = { path = "../libp2p-swarm" } libp2p-swarm = { path = "../swarm" }
log = "0.4.1" log = "0.4.1"
futures = "0.1" futures = "0.1"
multiaddr = "0.2.0" multiaddr = "0.2.0"

View File

@ -4,7 +4,7 @@ version = "0.1.0"
authors = ["Parity Technologies <admin@parity.io>"] authors = ["Parity Technologies <admin@parity.io>"]
[dependencies] [dependencies]
libp2p-swarm = { path = "../libp2p-swarm" } libp2p-swarm = { path = "../swarm" }
futures = "0.1" futures = "0.1"
multiaddr = "0.2.0" multiaddr = "0.2.0"
log = "0.4.1" log = "0.4.1"
@ -18,5 +18,5 @@ websocket = { version = "0.20.2", default-features = false, features = ["async",
stdweb = { version = "0.1.3", default-features = false } stdweb = { version = "0.1.3", default-features = false }
[target.'cfg(not(target_os = "emscripten"))'.dev-dependencies] [target.'cfg(not(target_os = "emscripten"))'.dev-dependencies]
libp2p-tcp-transport = { path = "../libp2p-tcp-transport" } libp2p-tcp-transport = { path = "../tcp-transport" }
tokio-core = "0.1" tokio-core = "0.1"