# THIS FILE IS AUTOMATICALLY GENERATED BY CARGO # # When uploading crates to the registry Cargo will automatically # "normalize" Cargo.toml files for maximal compatibility # with all versions of Cargo and also rewrite `path` dependencies # to registry (e.g., crates.io) dependencies # # If you believe there's an error in this file please file an # issue against the rust-lang/cargo repository. If you're # editing this file be aware that the upstream Cargo.toml # will likely look very different (and much more reasonable) [package] edition = "2018" name = "cao" version = "0.1.2" authors = ["Johann Lee "] description = "Update DNS record." license = "AGPL-3.0" repository = "https://github.com/qinka/cao" [profile.release] opt-level = "z" lto = true codegen-units = 1 panic = "abort" [dependencies.curl] version = "0.4" optional = true [dependencies.if-addrs] version = "0.6" [dependencies.serde_json] version = "1.0" [dependencies.structopt] version = "0.3" [dependencies.ureq] version = "2.0" features = ["json"] optional = true [dev-dependencies.trust-dns-resolver] version = "0.20" [features] curl_invailed_cert = ["curl"] default = ["dnspod", "ureq"] dnspod = []