mirror of
https://github.com/zed-industries/zed.git
synced 2026-12-02 21:40:41 +01:00
5dea5cab32
With the introduction of the crates IO client into the xtask dependency graph, the crypto provider for the compliance client broke because we now pulled in both ring and awc_lc_rs. Thus, fixing this here by picking an explicit default. Fixing this through dependencies would be very brittle and prone to break again, as well as this being more explcit at what it does. Thus, went with this path. Release Notes: - N/A
44 lines
1.1 KiB
TOML
44 lines
1.1 KiB
TOML
[package]
|
|
name = "compliance"
|
|
version = "0.1.0"
|
|
edition.workspace = true
|
|
publish.workspace = true
|
|
license = "GPL-3.0-or-later"
|
|
|
|
[lints]
|
|
workspace = true
|
|
|
|
[lib]
|
|
doctest = false
|
|
|
|
[features]
|
|
octo-client = ["dep:octocrab", "dep:jsonwebtoken", "dep:serde_json", "dep:tokio", "dep:rustls"]
|
|
|
|
[dependencies]
|
|
anyhow.workspace = true
|
|
async-trait.workspace = true
|
|
derive_more = { workspace = true, features = ["display"] }
|
|
futures.workspace = true
|
|
itertools.workspace = true
|
|
jsonwebtoken = { version = "10.2", features = ["use_pem"], optional = true }
|
|
octocrab = { workspace = true, features = [
|
|
"default-client",
|
|
"jwt-aws-lc-rs",
|
|
"retry",
|
|
"rustls",
|
|
"rustls-aws-lc-rs",
|
|
"stream",
|
|
"timeout"
|
|
], optional = true }
|
|
regex.workspace = true
|
|
rustls = { workspace = true, optional = true }
|
|
semver.workspace = true
|
|
serde = { workspace = true, features = ["derive"] }
|
|
serde_json = { workspace = true, optional = true }
|
|
tokio = { workspace = true, optional = true }
|
|
|
|
[dev-dependencies]
|
|
indoc.workspace = true
|
|
serde_json.workspace = true
|
|
tokio = { workspace = true, features = ["rt", "macros"] }
|