# 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 = "2018" rust-version = "1.53" name = "git2-hyper" version = "0.1.1" authors = ["Henry Wu <2316687+henry40408@users.noreply.github.com>"] description = """ Backend for an HTTP transport in libgit2 powered by hyper. Intended to be used with the git2 crate. """ documentation = "https://docs.rs/git2-hyper" license = "MIT OR Apache-2.0" repository = "https://github.com/henry40408/git2-hyper" [[test]] name = "all" harness = false [dependencies.git2] version = "0.14.2" default-features = false [dependencies.hyper] version = "0.14" features = [ "client", "http1", "tcp", ] [dependencies.hyper-rustls] version = "0.22" features = ["webpki-tokio"] optional = true default-features = false [dependencies.hyper-tls] version = "0.5" optional = true default-features = false [dependencies.log] version = "0.4" [dependencies.tokio] version = "1.3" features = ["rt-multi-thread"] [dev-dependencies.civet] version = "0.11" [dev-dependencies.conduit] version = "0.8" [dev-dependencies.conduit-git-http-backend] version = "0.8" [dev-dependencies.structopt] version = "0.3" [dev-dependencies.tempfile] version = "3.0" [features] default = [ "http2", "native", ] http2 = ["hyper/http2"] native = ["hyper-tls"] rustls = ["hyper-rustls"]