зеркало из https://github.com/mozilla/gecko-dev.git
78 строки
2.2 KiB
TOML
78 строки
2.2 KiB
TOML
[package]
|
|
name = "mozilla-central-workspace-hack"
|
|
version = "0.1.0"
|
|
|
|
# This is a hack to help rust code in the tree that are built by different
|
|
# invocations of cargo share dependencies rather than rebuilding them. This is
|
|
# based on the "rustc-workspace-hack" used by the rustc build system to achieve
|
|
# the same. From the description of the issue given there:
|
|
#
|
|
# "Each time Cargo runs a build it will re-resolve the dependency graph, "
|
|
# "notably selecting different features sometimes for each build."
|
|
#
|
|
# We work around this by specifying the union of the set of features selected
|
|
# by dependencies in each cargo invocation for each instance they would differ.
|
|
|
|
[build-dependencies]
|
|
void = { features = ["std", "default"], version = "1.0.2" }
|
|
syn = { features = ["clone-impls", "default", "derive", "extra-traits", "fold", "full", "parsing", "printing", "proc-macro", "quote", "visit"], version = "1.0" }
|
|
log = { features = ["release_max_level_info", "release_max_level_warn", "std"], version = "0.4.6" }
|
|
serde = { features = ["default", "derive", "rc", "serde_derive", "std"], version = "1.0.66" }
|
|
serde_derive = { features = ["default", "deserialize_in_place"], version = "1.0.66" }
|
|
quote = { features = ["default", "proc-macro"], version = "1.0" }
|
|
proc-macro2 = { features = ["default", "proc-macro"], version = "0.4.27" }
|
|
libc = { features = ["default", "std", "use_std"], version = "0.2" }
|
|
|
|
[target."cfg(windows)".dependencies.winapi]
|
|
version = "0.3.6"
|
|
features = [
|
|
"avrt",
|
|
"basetsd",
|
|
"bits",
|
|
"bits2_5",
|
|
"bitsmsg",
|
|
"combaseapi",
|
|
"consoleapi",
|
|
"dwrite",
|
|
"dwrite_1",
|
|
"dwrite_3",
|
|
"errhandlingapi",
|
|
"fileapi",
|
|
"guiddef",
|
|
"handleapi",
|
|
"hidclass",
|
|
"hidpi",
|
|
"hidusage",
|
|
"impl-default",
|
|
"ioapiset",
|
|
"libloaderapi",
|
|
"memoryapi",
|
|
"minwinbase",
|
|
"minwindef",
|
|
"namedpipeapi",
|
|
"ntdef",
|
|
"ntsecapi",
|
|
"ntstatus",
|
|
"objbase",
|
|
"processenv",
|
|
"profileapi",
|
|
"rpcndr",
|
|
"setupapi",
|
|
"std",
|
|
"synchapi",
|
|
"sysinfoapi",
|
|
"timezoneapi",
|
|
"unknwnbase",
|
|
"winbase",
|
|
"wincon",
|
|
"winerror",
|
|
"winnls",
|
|
"winnt",
|
|
"winsock2",
|
|
"ws2def",
|
|
"ws2ipdef",
|
|
"ws2tcpip",
|
|
"wtypes",
|
|
"wtypesbase"
|
|
]
|