Skip to content

Commit 6986196

Browse files
atouchetdjc
authored andcommitted
Update URLs
1 parent 79bf5b4 commit 6986196

File tree

3 files changed

+8
-8
lines changed

3 files changed

+8
-8
lines changed

Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ version = "0.4.1"
44
description = "Cross-platform system's host name functions"
55
categories = ["api-bindings", "os"]
66
keywords = ["hostname", "gethostname", "sethostname"]
7-
repository = "https://github.com/svartalf/hostname"
7+
repository = "https://github.com/djc/hostname"
88
readme = "README.md"
99
license = "MIT"
1010
edition = "2021"

README.md

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -2,10 +2,10 @@
22

33
[![Latest Version](https://img.shields.io/crates/v/hostname.svg)](https://crates.io/crates/hostname)
44
[![Latest Version](https://docs.rs/hostname/badge.svg)](https://docs.rs/hostname)
5-
[![Build Status](https://github.com/svartalf/hostname/actions/workflows/ci.yml/badge.svg)](https://github.com/svartalf/hostname/actions)
6-
![Minimum rustc version](https://img.shields.io/badge/rustc-1.71+-green.svg)
7-
![MIT licensed](https://img.shields.io/badge/license-MIT-blue.svg)
8-
![Crates.io](https://img.shields.io/crates/d/hostname)
5+
[![Build Status](https://github.com/djc/hostname/actions/workflows/ci.yml/badge.svg)](https://github.com/djc/hostname/actions)
6+
![Minimum rustc Version](https://img.shields.io/badge/rustc-1.74+-green.svg)
7+
![MIT Licensed](https://img.shields.io/badge/license-MIT-blue.svg)
8+
![crates.io](https://img.shields.io/crates/d/hostname)
99

1010
> Cross-platform system's host name functions in Rust
1111
@@ -53,4 +53,4 @@ fn main() -> io::Result<()> {
5353
## License
5454

5555
hostname is primarily distributed under the terms of the MIT license
56-
([LICENSE](LICENSE) or http://opensource.org/licenses/MIT).
56+
([LICENSE](LICENSE) or https://opensource.org/license/mit).

src/lib.rs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -65,7 +65,7 @@ cfg_if! {
6565
mod windows;
6666
use crate::windows as sys;
6767
} else {
68-
compile_error!("Unsupported target OS! Create an issue: https://github.com/svartalf/hostname/issues/new");
68+
compile_error!("Unsupported target OS! Create an issue: https://github.com/djc/hostname/issues/new");
6969
}
7070
}
7171

@@ -118,7 +118,7 @@ hostname::set("potato")?;
118118
///
119119
/// ## Compatibility
120120
///
121-
/// * Will fail with a linkage error for Android API < 23 (see [#9](https://github.com/svartalf/hostname/issues/9#issuecomment-563991112))
121+
/// * Will fail with a linkage error for Android API < 23 (see [#9](https://github.com/djc/hostname/issues/9#issuecomment-563991112))
122122
#[cfg(feature = "set")]
123123
#[cfg_attr(docsrs, doc(cfg(feature = "set")))]
124124
pub fn set<T>(hostname: T) -> io::Result<()>

0 commit comments

Comments
 (0)