Add a html_root_url attribute

This commit is contained in:
Abhishek Chanda
2017-07-30 12:38:13 +01:00
parent d56ab96c53
commit 482aed66e7
2 changed files with 2 additions and 1 deletions

View File

@ -1,6 +1,6 @@
[package] [package]
name = "ipnetwork" name = "ipnetwork"
version = "0.12.6" version = "0.12.6" # When updating version, also modify html_root_url in the lib.rs
authors = ["Abhishek Chanda <abhishek.becs@gmail.com>", "Linus Färnstrand <faern@faern.net>"] authors = ["Abhishek Chanda <abhishek.becs@gmail.com>", "Linus Färnstrand <faern@faern.net>"]
description = "A library to work with IP CIDRs in Rust, heavily WIP" description = "A library to work with IP CIDRs in Rust, heavily WIP"
license = "Apache-2.0" license = "Apache-2.0"

View File

@ -6,6 +6,7 @@
#![cfg_attr(feature = "ipv6-iterator", feature(i128_type))] #![cfg_attr(feature = "ipv6-iterator", feature(i128_type))]
#![cfg_attr(feature = "ipv6-methods", feature(i128_type))] #![cfg_attr(feature = "ipv6-methods", feature(i128_type))]
#![crate_type = "lib"] #![crate_type = "lib"]
#![doc(html_root_url = "https://docs.rs/ipnetwork/0.12.6")]
use std::fmt; use std::fmt;
use std::net::IpAddr; use std::net::IpAddr;