ping/_compositions/*: fix rust version rewrite (#33)
This commit is contained in:
parent
d872355bc0
commit
b640639f86
|
@ -105,7 +105,7 @@
|
|||
CARGO_FEATURES = '{{ .CargoFeatures }}'
|
||||
CARGO_REMOVE = '{{ .CargoFeatures }}'
|
||||
CARGO_PATCH = """
|
||||
{{ .CargoFeatures }} = {package = "libp2p", git = "https://{{ or $.Env.GitTarget "github.com/libp2p/rust-libp2p" }}", rev = "{{ $.Env.GitReference }}", default_features = false, features = [ "websocket", "mplex", "yamux", "tcp-async-io", "ping", "noise", "dns-async-std" ], version = "0.47.0", optional = true}
|
||||
{{ .CargoFeatures }} = {package = "libp2p", git = "https://{{ or $.Env.GitTarget "github.com/libp2p/rust-libp2p" }}", rev = "{{ $.Env.GitReference }}", default_features = false, features = [ "websocket", "mplex", "yamux", "tcp-async-io", "ping", "noise", "dns-async-std" ], version = "{{ .Version }}", optional = true}
|
||||
"""
|
||||
{{ end }}
|
||||
{{ end }}
|
||||
|
|
|
@ -133,7 +133,7 @@
|
|||
CARGO_FEATURES = '{{ .CargoFeatures }}'
|
||||
CARGO_REMOVE = '{{ .CargoFeatures }}'
|
||||
CARGO_PATCH = """
|
||||
{{ .CargoFeatures }} = {package = "libp2p", git = "https://{{ or $.Env.GitTarget "github.com/libp2p/rust-libp2p" }}", rev = "{{ $.Env.GitReference }}", default_features = false, features = [ "websocket", "mplex", "yamux", "tcp-async-io", "ping", "noise", "dns-async-std" ], version = "0.47.0", optional = true}
|
||||
{{ .CargoFeatures }} = {package = "libp2p", git = "https://{{ or $.Env.GitTarget "github.com/libp2p/rust-libp2p" }}", rev = "{{ $.Env.GitReference }}", default_features = false, features = [ "websocket", "mplex", "yamux", "tcp-async-io", "ping", "noise", "dns-async-std" ], version = "{{ .Version }}", optional = true}
|
||||
"""
|
||||
{{ end }}
|
||||
{{ end }}
|
||||
|
|
|
@ -37,7 +37,7 @@
|
|||
CARGO_FEATURES = '{{ .CargoFeatures }}'
|
||||
CARGO_REMOVE = '{{ .CargoFeatures }}'
|
||||
CARGO_PATCH = """
|
||||
{{ .CargoFeatures }} = {package = "libp2p", git = "https://{{ or $.Env.GitTarget "github.com/libp2p/rust-libp2p" }}", rev = "{{ $.Env.GitReference }}", default_features = false, features = [ "websocket", "mplex", "yamux", "tcp-async-io", "ping", "noise", "dns-async-std" ], version = "0.47.0", optional = true}
|
||||
{{ .CargoFeatures }} = {package = "libp2p", git = "https://{{ or $.Env.GitTarget "github.com/libp2p/rust-libp2p" }}", rev = "{{ $.Env.GitReference }}", default_features = false, features = [ "websocket", "mplex", "yamux", "tcp-async-io", "ping", "noise", "dns-async-std" ], version = "{{ .Version }}", optional = true}
|
||||
"""
|
||||
{{ end }}
|
||||
{{ end }}
|
||||
|
|
|
@ -1,7 +1,9 @@
|
|||
[master]
|
||||
Version = '0.48.0'
|
||||
CargoFeatures = 'libp2pv0480'
|
||||
|
||||
[custom]
|
||||
Version = '0.48.0'
|
||||
CargoFeatures = 'libp2pv0480'
|
||||
|
||||
[[groups]]
|
||||
|
|
Loading…
Reference in New Issue