File: protocols.rs

package info (click to toggle)
rust-curl 0.4.44-5
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid, trixie
  • size: 704 kB
  • sloc: sh: 16; makefile: 2
file content (9 lines) | stat: -rw-r--r-- 228 bytes parent folder | download | duplicates (5)
1
2
3
4
5
6
7
8
9
#[cfg(all(feature = "static-curl", feature = "protocol-ftp"))]
#[test]
fn static_with_ftp_enabled() {
    assert!(curl::Version::get()
        .protocols()
        .filter(|&p| p == "ftp")
        .next()
        .is_some());
}