Updated travis build file and added doc notes about CTCP requiring CTCP

feature.
This commit is contained in:
Aaron Weiss 2014-12-23 13:32:35 -05:00
parent b9357ee671
commit 5a59945ffc
2 changed files with 11 additions and 3 deletions

View file

@ -6,11 +6,11 @@ script:
- chmod +x mktestconfig.sh
- ./mktestconfig.sh
- cargo build --verbose
- cargo build --verbose --features "encode ssl"
- cargo build --verbose --features "ctcp encode ssl"
- cargo test --verbose
- cargo test --verbose --features "encode ssl"
- cargo test --verbose --features "ctcp encode ssl"
- cargo doc --verbose
- cargo doc --verbose --features "encode ssl"
- cargo doc --verbose --features "ctcp encode ssl"
notifications:
irc:
channels:

View file

@ -167,6 +167,7 @@ impl<'a, T: IrcReader, U: IrcWriter> Wrapper<'a, T, U> {
}
/// Sends a CTCP-escaped message to the specified target.
/// This requires the CTCP feature to be enabled.
#[experimental]
#[cfg(feature = "ctcp")]
pub fn send_ctcp(&self, target: &str, msg: &str) -> IoResult<()> {
@ -174,6 +175,7 @@ impl<'a, T: IrcReader, U: IrcWriter> Wrapper<'a, T, U> {
}
/// Sends an action command to the specified target.
/// This requires the CTCP feature to be enabled.
#[experimental]
#[cfg(feature = "ctcp")]
pub fn send_action(&self, target: &str, msg: &str) -> IoResult<()> {
@ -181,6 +183,7 @@ impl<'a, T: IrcReader, U: IrcWriter> Wrapper<'a, T, U> {
}
/// Sends a finger request to the specified target.
/// This requires the CTCP feature to be enabled.
#[experimental]
#[cfg(feature = "ctcp")]
pub fn send_finger(&self, target: &str) -> IoResult<()> {
@ -188,6 +191,7 @@ impl<'a, T: IrcReader, U: IrcWriter> Wrapper<'a, T, U> {
}
/// Sends a version request to the specified target.
/// This requires the CTCP feature to be enabled.
#[experimental]
#[cfg(feature = "ctcp")]
pub fn send_version(&self, target: &str) -> IoResult<()> {
@ -195,6 +199,7 @@ impl<'a, T: IrcReader, U: IrcWriter> Wrapper<'a, T, U> {
}
/// Sends a source request to the specified target.
/// This requires the CTCP feature to be enabled.
#[experimental]
#[cfg(feature = "ctcp")]
pub fn send_source(&self, target: &str) -> IoResult<()> {
@ -202,6 +207,7 @@ impl<'a, T: IrcReader, U: IrcWriter> Wrapper<'a, T, U> {
}
/// Sends a user info request to the specified target.
/// This requires the CTCP feature to be enabled.
#[experimental]
#[cfg(feature = "ctcp")]
pub fn send_user_info(&self, target: &str) -> IoResult<()> {
@ -209,6 +215,7 @@ impl<'a, T: IrcReader, U: IrcWriter> Wrapper<'a, T, U> {
}
/// Sends a finger request to the specified target.
/// This requires the CTCP feature to be enabled.
#[experimental]
#[cfg(feature = "ctcp")]
pub fn send_ctcp_ping(&self, target: &str) -> IoResult<()> {
@ -217,6 +224,7 @@ impl<'a, T: IrcReader, U: IrcWriter> Wrapper<'a, T, U> {
}
/// Sends a time request to the specified target.
/// This requires the CTCP feature to be enabled.
#[experimental]
#[cfg(feature = "ctcp")]
pub fn send_time(&self, target: &str) -> IoResult<()> {