mirror of
https://github.com/zed-industries/zed.git
synced 2025-01-10 20:41:59 +00:00
88c4e0b2d8
This PR adds a registry for `GitHostingProvider`s. The intent here is to help decouple these provider-specific concerns from the lower-level `git` crate. Similar to languages, the Git hosting providers live in the new `git_hosting_providers` crate. This work also lays the foundation for if we wanted to allow defining a `GitHostingProvider` from within an extension. This could be useful if we wanted to extend the support to work with self-hosted Git providers (like GitHub Enterprise). I also took the opportunity to move some of the provider-specific code out of the `util` crate, since it had leaked into there. Release Notes: - N/A
41 lines
773 B
TOML
41 lines
773 B
TOML
[package]
|
|
name = "git"
|
|
version = "0.1.0"
|
|
edition = "2021"
|
|
publish = false
|
|
license = "GPL-3.0-or-later"
|
|
|
|
[lints]
|
|
workspace = true
|
|
|
|
[lib]
|
|
path = "src/git.rs"
|
|
|
|
[dependencies]
|
|
anyhow.workspace = true
|
|
async-trait.workspace = true
|
|
clock.workspace = true
|
|
collections.workspace = true
|
|
derive_more.workspace = true
|
|
git2.workspace = true
|
|
gpui.workspace = true
|
|
lazy_static.workspace = true
|
|
log.workspace = true
|
|
parking_lot.workspace = true
|
|
rope.workspace = true
|
|
serde.workspace = true
|
|
smol.workspace = true
|
|
sum_tree.workspace = true
|
|
text.workspace = true
|
|
time.workspace = true
|
|
url.workspace = true
|
|
util.workspace = true
|
|
windows.workspace = true
|
|
|
|
[dev-dependencies]
|
|
unindent.workspace = true
|
|
serde_json.workspace = true
|
|
pretty_assertions.workspace = true
|
|
|
|
[features]
|
|
test-support = []
|