mirror of
https://github.com/zed-industries/zed.git
synced 2025-01-10 04:27:40 +00:00
bb1817ff31
This PR refactors the code pertaining to Git hosting providers to make it more uniform and easy to add support for new providers. There is now a `GitHostingProvider` trait that contains the functionality specific to an individual Git hosting provider. Each provider we support has an implementation of this trait. Release Notes: - N/A
40 lines
745 B
TOML
40 lines
745 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
|
|
git2.workspace = true
|
|
lazy_static.workspace = true
|
|
log.workspace = true
|
|
smol.workspace = true
|
|
sum_tree.workspace = true
|
|
text.workspace = true
|
|
time.workspace = true
|
|
url.workspace = true
|
|
util.workspace = true
|
|
serde.workspace = true
|
|
regex.workspace = true
|
|
rope.workspace = true
|
|
parking_lot.workspace = true
|
|
windows.workspace = true
|
|
|
|
[dev-dependencies]
|
|
unindent.workspace = true
|
|
serde_json.workspace = true
|
|
pretty_assertions.workspace = true
|
|
|
|
[features]
|
|
test-support = []
|