diff options
author | Daniel Baumann <daniel.baumann@progress-linux.org> | 2024-05-04 12:41:35 +0000 |
---|---|---|
committer | Daniel Baumann <daniel.baumann@progress-linux.org> | 2024-05-04 12:41:35 +0000 |
commit | 7e5d7eea9c580ef4b41a765bde624af431942b96 (patch) | |
tree | 2c0d9ca12878fc4525650aa4e54d77a81a07cc09 /vendor/gix-protocol/Cargo.toml | |
parent | Adding debian version 1.70.0+dfsg1-9. (diff) | |
download | rustc-7e5d7eea9c580ef4b41a765bde624af431942b96.tar.xz rustc-7e5d7eea9c580ef4b41a765bde624af431942b96.zip |
Merging upstream version 1.70.0+dfsg2.
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
Diffstat (limited to 'vendor/gix-protocol/Cargo.toml')
-rw-r--r-- | vendor/gix-protocol/Cargo.toml | 131 |
1 files changed, 131 insertions, 0 deletions
diff --git a/vendor/gix-protocol/Cargo.toml b/vendor/gix-protocol/Cargo.toml new file mode 100644 index 000000000..168a4be61 --- /dev/null +++ b/vendor/gix-protocol/Cargo.toml @@ -0,0 +1,131 @@ +# 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.64" +name = "gix-protocol" +version = "0.28.0" +authors = ["Sebastian Thiel <sebastian.thiel@icloud.com>"] +include = [ + "src/**/*", + "CHANGELOG.md", + "!**/tests/**/*", +] +description = "A WIP crate of the gitoxide project for implementing git protocols" +license = "MIT/Apache-2.0" +repository = "https://github.com/Byron/gitoxide" + +[package.metadata.docs.rs] +features = [ + "blocking-client", + "document-features", + "serde1", +] +rustdoc-args = [ + "--cfg", + "docsrs", +] + +[lib] +doctest = false + +[[test]] +name = "blocking-client-protocol" +path = "tests/blocking-protocol.rs" +required-features = ["blocking-client"] + +[[test]] +name = "async-client-protocol" +path = "tests/async-protocol.rs" +required-features = ["async-client"] + +[dependencies.async-trait] +version = "0.1.51" +optional = true + +[dependencies.bstr] +version = "1.3.0" +features = [ + "std", + "unicode", +] +default-features = false + +[dependencies.btoi] +version = "0.4.2" + +[dependencies.document-features] +version = "0.2.0" +optional = true + +[dependencies.futures-io] +version = "0.3.16" +optional = true + +[dependencies.futures-lite] +version = "1.12.0" +optional = true + +[dependencies.gix-credentials] +version = "^0.11.0" + +[dependencies.gix-features] +version = "^0.28.0" +features = ["progress"] + +[dependencies.gix-hash] +version = "^0.10.3" + +[dependencies.gix-transport] +version = "^0.27.0" + +[dependencies.maybe-async] +version = "0.2.6" + +[dependencies.nom] +version = "7" +features = ["std"] +default-features = false + +[dependencies.serde] +version = "1.0.114" +features = ["derive"] +optional = true +default-features = false + +[dependencies.thiserror] +version = "1.0.32" + +[dev-dependencies.async-std] +version = "1.9.0" +features = ["attributes"] + +[dev-dependencies.gix-packetline] +version = "^0.14.3" + +[features] +async-client = [ + "gix-transport/async-client", + "async-trait", + "futures-io", + "futures-lite", +] +blocking-client = [ + "gix-transport/blocking-client", + "maybe-async/is_sync", +] +serde1 = [ + "serde", + "bstr/serde", + "gix-transport/serde1", + "gix-hash/serde1", +] |