# 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 are reading this file be aware that the original Cargo.toml # will likely look very different (and much more reasonable). # See Cargo.toml.orig for the original contents. [package] edition = "2021" rust-version = "1.61" name = "ustc_cas" version = "0.2.0" description = "a simple library for logging into USTC CAS System" readme = "README.md" license-file = "LICENSE.txt" repository = "https://github.com/littzhch/ustc_cas/" [package.metadata.docs.rs] all-features = true [lib] crate-type = ["lib"] [dependencies.bytes] version = "1.3" optional = true [dependencies.image] version = "0.24" features = ["jpeg"] optional = true default-features = false [dependencies.once_cell] version = "1.17" [dependencies.regex] version = "1.7" features = [ "unicode", "std", ] default-features = false [dependencies.reqwest] version = "0.11" features = ["cookies"] default-features = false [dev-dependencies.tokio] version = "1.24" features = ["full"] [features] blocking = ["reqwest/blocking"] default = [ "native-tls", "validate-code", ] native-tls = ["reqwest/native-tls"] rustls-tls = ["reqwest/rustls-tls"] validate-code = [ "image", "bytes", ]