File tree Expand file tree Collapse file tree 3 files changed +8
-8
lines changed Expand file tree Collapse file tree 3 files changed +8
-8
lines changed Original file line number Diff line number Diff line change @@ -4,7 +4,7 @@ version = "0.4.1"
44description = " Cross-platform system's host name functions"
55categories = [" api-bindings" , " os" ]
66keywords = [" hostname" , " gethostname" , " sethostname" ]
7- repository = " https://github.com/svartalf /hostname"
7+ repository = " https://github.com/djc /hostname"
88readme = " README.md"
99license = " MIT"
1010edition = " 2021"
Original file line number Diff line number Diff line change 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
5555hostname 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 ).
Original file line number Diff line number Diff 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" ) ) ) ]
124124pub fn set < T > ( hostname : T ) -> io:: Result < ( ) >
You can’t perform that action at this time.
0 commit comments