[package] build = "src/build.rs" description = "Zero setup cross compilation and cross testing" documentation = "https://github.com/cross-rs/cross" keywords = ["cross", "compilation", "testing", "tool"] license = "MIT OR Apache-2.0" name = "cross" repository = "https://github.com/cross-rs/cross" version = "0.2.5" edition = "2021" include = [ "src/**/*", "docker/Dockerfile.*", "docker/*.sh", "docs/*.md", "Cargo.toml", "Cargo.lock", "LICENSE*", "README.md", "assets/*", ] [features] default = [] dev = [] [workspace] members = ["xtask"] [dependencies] atty = "0.2" clap = { version = "3.2.2", features = ["derive", "unstable-v4"] } color-eyre = { version = "0.6", default-features = false } eyre = "0.6" thiserror = "1" home = "0.5" rustc_version = "0.4" toml = "0.5" which = { version = "4", default_features = false } shell-escape = "0.1" serde = { version = "1", features = ["derive"] } serde_json = "1" serde_ignored = "0.1.2" shell-words = "1.1.0" const-sha1 = "0.2.0" ctrlc = { version = "3.2.2", features = ["termination"] } directories = "4.0.1" walkdir = { version = "2", optional = true } tempfile = "3.3.0" owo-colors = { version = "3.4.0", features = ["supports-colors"] } [target.'cfg(not(windows))'.dependencies] nix = { version = "0.24", default-features = false, features = ["user"] } libc = "0.2" [target.'cfg(windows)'.dependencies] winapi = { version = "0.3", features = ["winbase"] } dunce = "1" [profile.release] lto = true [dev-dependencies] regex = "1" once_cell = "1" walkdir = "2" [package.metadata.release] push = false publish = false tag = false pre-release-commit-message = "release version {{version}}" [[package.metadata.release.pre-release-replacements]] file = "CHANGELOG.md" search = "Unreleased" replace = "v{{version}}" [[package.metadata.release.pre-release-replacements]] file = "CHANGELOG.md" search = "\\.\\.\\.HEAD" replace = "...v{{version}}" exactly = 1 [[package.metadata.release.pre-release-replacements]] file = "CHANGELOG.md" search = "ReleaseDate" replace = "{{date}}" [[package.metadata.release.pre-release-replacements]] file = "CHANGELOG.md" search = "" replace = "\n\n## [Unreleased] - ReleaseDate" exactly = 1 [[package.metadata.release.pre-release-replacements]] file = "CHANGELOG.md" search = "" replace = "\n\n[Unreleased]: https://github.com/cross-rs/{{crate_name}}/compare/v{{version}}...HEAD" exactly = 1 [package.metadata.binstall] pkg-url = "{ repo }/releases/download/v{ version }/{ name }-{ target }.tar.gz" bin-dir = "{ bin }{ binary-ext }" pkg-fmt = "tgz"