Skip to content

Commit 3130fe4

Browse files
authored
Remove paste dependency (Azure#2319)
Resolves Azure#2312
1 parent 315c69f commit 3130fe4

File tree

4 files changed

+8
-15
lines changed

4 files changed

+8
-15
lines changed

Cargo.lock

Lines changed: 0 additions & 7 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

Cargo.toml

Lines changed: 8 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -46,6 +46,14 @@ path = "sdk/typespec/typespec_macros"
4646
[workspace.dependencies.azure_core]
4747
version = "0.23.0"
4848
path = "sdk/core/azure_core"
49+
default-features = false
50+
# Keep these in sync with azure_core. This allows
51+
# azure_core_amqp and dependents to ignore default features.
52+
features = [
53+
"reqwest",
54+
"reqwest_deflate",
55+
"reqwest_gzip",
56+
]
4957

5058
[workspace.dependencies.azure_core_amqp]
5159
version = "0.2.0"
@@ -92,7 +100,6 @@ log = "0.4"
92100
oauth2 = { version = "5.0.0", default-features = false }
93101
once_cell = "1.18"
94102
openssl = { version = "0.10.70" }
95-
paste = "1.0"
96103
pin-project = "1.0"
97104
proc-macro2 = "1.0.86"
98105
quick-xml = { version = "0.31", features = ["serialize", "serde-types"] }

sdk/core/azure_core/Cargo.toml

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,6 @@ futures.workspace = true
2121
hmac = { workspace = true, optional = true }
2222
once_cell.workspace = true
2323
openssl = { workspace = true, optional = true }
24-
paste.workspace = true
2524
pin-project.workspace = true
2625
serde.workspace = true
2726
serde_json.workspace = true

sdk/core/azure_core/src/lib.rs

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -67,9 +67,3 @@ pub type SessionToken = String;
6767
/// An empty HTTP body.
6868
#[allow(clippy::declare_interior_mutable_const)]
6969
pub const EMPTY_BODY: bytes::Bytes = bytes::Bytes::new();
70-
71-
#[doc(hidden)]
72-
/// Used by macros as an implementation detail
73-
pub mod __private {
74-
pub use paste::paste;
75-
}

0 commit comments

Comments
 (0)