Files

79 lines
1.9 KiB
TOML
Raw Permalink Blame History

This file contains ambiguous Unicode characters
This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.
# THIS FILE IS AUTOMATICALLY GENERATED BY CARGO
#
# When uploading crates to the registry Cargo will automatically
# "normalize" Cargo.toml files for maximal compatibility
# with all versions of Cargo and also rewrite `path` dependencies
# to registry (e.g., crates.io) dependencies.
#
# If you are reading this file be aware that the original Cargo.toml
# will likely look very different (and much more reasonable).
# See Cargo.toml.orig for the original contents.
[package]
edition = "2021"
rust-version = "1.68"
name = "gethostname"
version = "1.0.2"
authors = ["Sebastian Wiesner <sebastian@swsnr.de>"]
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "gethostname for all platforms"
homepage = "https://codeberg.org/swsnr/gethostname.rs"
documentation = "https://docs.rs/gethostname"
readme = "README.md"
keywords = [
"gethostname",
"DNS",
"hostname",
]
categories = [
"os",
"api-bindings",
]
license = "Apache-2.0"
repository = "https://codeberg.org/swsnr/gethostname.rs.git"
[package.metadata.release]
pre-release-commit-message = "Release {{version}}"
tag-message = "Version {{tag_name}}"
tag-prefix = ""
[[package.metadata.release.pre-release-replacements]]
exactly = 1
file = "CHANGELOG.md"
replace = """
## [Unreleased]
## [{{version}}] {{date}}"""
search = '## \[Unreleased\]'
[[package.metadata.release.pre-release-replacements]]
exactly = 1
file = "CHANGELOG.md"
replace = "{{tag_name}}"
search = "HEAD"
[[package.metadata.release.pre-release-replacements]]
exactly = 1
file = "CHANGELOG.md"
replace = """
[Unreleased]: https://codeberg.org/swsnr/gethostname.rs/compare/{{tag_name}}...HEAD
[{{version}}]: """
search = '\[Unreleased\]: '
[lib]
name = "gethostname"
path = "src/lib.rs"
[target."cfg(not(windows))".dependencies.rustix]
version = "1.0.3"
features = ["system"]
default-features = false
[target."cfg(windows)".dependencies.windows-targets]
version = "0.52.4"