|
| 1 | +lints.workspace = true |
| 2 | + |
| 3 | +[package] |
| 4 | +name = "gix-serve" |
| 5 | +version = "0.1.0" |
| 6 | +repository = "https://github.com/GitoxideLabs/gitoxide" |
| 7 | +license = "MIT OR Apache-2.0" |
| 8 | +description = "A crate of the gitoxide project for serving git repositories" |
| 9 | +authors = ["Sebastian Thiel <sebastian.thiel@icloud.com>"] |
| 10 | +edition = "2021" |
| 11 | +include = ["src/**/*", "LICENSE-*"] |
| 12 | +rust-version = "1.82" |
| 13 | + |
| 14 | +[lib] |
| 15 | +doctest = false |
| 16 | + |
| 17 | +[features] |
| 18 | +## Enable support for SHA-1 hashes. |
| 19 | +sha1 = ["gix-hash/sha1"] |
| 20 | +## Blocking server support. |
| 21 | +blocking-server = [ |
| 22 | + "gix-protocol/blocking-server", |
| 23 | + "gix-transport/blocking-server", |
| 24 | +] |
| 25 | + |
| 26 | +[dependencies] |
| 27 | +gix-ref = { version = "^0.61.0", path = "../gix-ref" } |
| 28 | +gix-hash = { version = "^0.23.0", path = "../gix-hash" } |
| 29 | +gix-pack = { version = "^0.68.0", path = "../gix-pack", features = [ |
| 30 | + "generate", |
| 31 | +] } |
| 32 | +gix-features = { version = "^0.46.2", path = "../gix-features" } |
| 33 | +gix-protocol = { version = "^0.59.0", path = "../gix-protocol", optional = true } |
| 34 | +gix-transport = { version = "^0.55.1", path = "../gix-transport", optional = true } |
| 35 | +bstr = { version = "1.12.0", default-features = false, features = ["std"] } |
| 36 | +thiserror = "2.0.18" |
| 37 | + |
| 38 | +[dev-dependencies] |
| 39 | +gix-testtools = { path = "../tests/tools" } |
| 40 | +gix-odb = { version = "^0.78.0", path = "../gix-odb" } |
| 41 | +gix-packetline = { version = "^0.21.2", path = "../gix-packetline", features = [ |
| 42 | + "blocking-io", |
| 43 | +] } |
| 44 | +gix-transport = { version = "^0.55.1", path = "../gix-transport", features = [ |
| 45 | + "blocking-server", |
| 46 | +] } |
| 47 | +gix-serve = { path = ".", features = ["blocking-server"] } |
| 48 | + |
| 49 | +[package.metadata.docs.rs] |
| 50 | +all-features = true |
0 commit comments