mirror of
https://github.com/renovatebot/renovate.git
synced 2026-10-31 17:51:49 +00:00
a9d5c320e1
* Fix Cargo with Git dependencies with a custom hostname PR #36444 doesn't work for Git dependencies which use a custom hostname because the `registryUrl` is extracted incorrectly (e.g. `https://example.com` rather than `https://git.example.com`). * Remove stray `console.log` * Add test * Apply suggestions * Fix lint * Update lib/modules/manager/cargo/extract.spec.ts Co-authored-by: Michael Kriese <michael.kriese@gmx.de> * Update lib/modules/manager/cargo/extract.spec.ts Co-authored-by: Michael Kriese <michael.kriese@gmx.de> --------- Co-authored-by: Michael Kriese <michael.kriese@gmx.de> Co-authored-by: Michael Kriese <michael.kriese@visualon.de>
67 lines
2.0 KiB
TOML
67 lines
2.0 KiB
TOML
[package]
|
|
name = "rustcap"
|
|
version = "0.1.2"
|
|
description = "Wrapper for libpcap"
|
|
homepage = "https://github.com/jmmk/rustcap"
|
|
repository = "https://github.com/jmmk/rustcap"
|
|
authors = ["Michael McLellan <jmikem825@gmail.com>"]
|
|
keywords = ["pcap", "libpcap"]
|
|
license = "MIT"
|
|
readme = "README.md"
|
|
documentation = "https://docs.rs/rustcap"
|
|
|
|
[workspace]
|
|
members = ["pcap-sys"]
|
|
|
|
[dependencies]
|
|
libc = "=0.2.43"
|
|
bitflags = "1.0.4"
|
|
pcap-sys = { version = "=0.1", path = "pcap-sys" }
|
|
pnet = { version = "0.21.0", optional = true, default-features = false}
|
|
|
|
# Git dependencies should always have one of tag, rev or branch defined.
|
|
# If not, they should be skipped, even if version is defined.
|
|
git_dep_with_version = { version = "0.1.0", git = "https://github.com/foo/bar" }
|
|
git_dep = { git = "https://github.com/foo/bar" }
|
|
|
|
path_dep_without_version = { path = "foo" }
|
|
git_dep_with_tag = { git = "https://github.com/foo/bar", tag = "1.10.3" }
|
|
git_dep_with_rev = { git = "https://github.com/foo/bar", rev = "abc1234" }
|
|
git_dep_with_branch = { git = "https://github.com/foo/bar", branch = "next" }
|
|
git_dep_with_custom_hostname = { git = "ssh://git@git.example.com/a/b.git", tag = "1.0.0", version = "1.0.0" }
|
|
same_version_1__ = "0.0.0"
|
|
same_version_1_ = "0.0.0"
|
|
same_version_1 = "0.0.0"
|
|
|
|
[target.'cfg(windows)'.dependencies.winapi]
|
|
version = "=0.3.6"
|
|
features = ["ws2def", "ws2ipdef"]
|
|
|
|
[target.'cfg(target_arch = "wasm32")'.dependencies]
|
|
wasm-bindgen = "0.2.37"
|
|
js-sys = "0.3.14"
|
|
js_relative_import = { path = "../../common/js_relative_import" }
|
|
|
|
[target.'cfg(target_arch = "wasm32")'.dependencies.web-sys]
|
|
version = "0.3.14"
|
|
features = [
|
|
"AudioBuffer",
|
|
"AudioBufferSourceNode",
|
|
"AudioContext",
|
|
"AudioDestinationNode",
|
|
"AudioNode",
|
|
]
|
|
|
|
[dependencies.dep1]
|
|
version = "0.4.2"
|
|
|
|
[features]
|
|
libpnet = ["pnet"]
|
|
|
|
[dev-dependencies]
|
|
# libc = "0.1.1"
|
|
# pnet = { version = "0.19.0", optional = true, default-features = false}
|
|
# [target.'cfg(windows)'.dependencies.winapi]
|
|
# version = "0.3.0"
|
|
# features = ["ws2def", "ws2ipdef"]
|