Skip to content

Commit 60c99ec

Browse files
committed
Declare dependencies as workspace = true
- `phf` needs the `std` feature as it's a default feature, but `phf` in the `doc` crate doesn't need the `std` feature
1 parent 358bb2a commit 60c99ec

1 file changed

Lines changed: 50 additions & 50 deletions

File tree

‎crates/stdlib/Cargo.toml‎

Lines changed: 50 additions & 50 deletions
Original file line numberDiff line numberDiff line change
@@ -51,94 +51,94 @@ malachite-bigint = { workspace = true }
5151
num-traits = { workspace = true }
5252
num_enum = { workspace = true }
5353
parking_lot = { workspace = true }
54-
phf = { version = "0.13", features = ["macros"] }
54+
phf = { workspace = true, features = ["macros", "std"] }
5555

5656
memchr = { workspace = true }
57-
base64 = "0.22"
58-
csv-core = "0.1.11"
59-
dyn-clone = "1.0.10"
57+
base64 = { workspace = true }
58+
csv-core = { workspace = true }
59+
dyn-clone = { workspace = true }
6060
pymath = { workspace = true }
61-
xml = "1.2"
61+
xml = { workspace = true }
6262

6363
# random
6464
rand_core = { workspace = true }
65-
mt19937 = "<=3.2" # upgrade it once rand is upgraded
65+
mt19937 = { workspace = true }
6666

6767
# Crypto:
68-
digest = "0.10.7"
69-
md-5 = "0.10.1"
70-
sha-1 = "0.10.0"
71-
sha2 = "0.10.2"
72-
sha3 = "0.10.1"
73-
blake2 = "0.10.4"
74-
hmac = "0.12"
75-
pbkdf2 = { version = "0.12", features = ["hmac"] }
68+
digest = { workspace = true }
69+
md-5 = { workspace = true }
70+
sha-1 = { workspace = true }
71+
sha2 = { workspace = true }
72+
sha3 = { workspace = true }
73+
blake2 = { workspace = true }
74+
hmac = { workspace = true }
75+
pbkdf2 = { workspace = true, features = ["hmac"] }
7676
constant_time_eq = { workspace = true }
7777

7878
## unicode stuff
7979
unicode_names2 = { workspace = true }
8080
# update version all at the same time
8181
icu_properties = { workspace = true }
8282
icu_normalizer = { workspace = true }
83-
unic-ucd-age = { workspace = true }
84-
ucd = "0.1.1"
83+
unic-ucd-age = { workspace = true }
84+
ucd = { workspace = true }
8585

8686
# compression
87-
adler32 = "1.2.0"
88-
crc32fast = "1.3.2"
89-
flate2 = { version = "1.1.9", default-features = false, features = ["zlib-rs"] }
90-
libz-sys = { package = "libz-rs-sys", version = "0.5" }
91-
bzip2 = "0.6"
87+
adler32 = { workspace = true }
88+
crc32fast = { workspace = true }
89+
flate2 = { workspace = true, default-features = false, features = ["zlib-rs"] }
90+
libz-sys = { workspace = true }
91+
bzip2 = { workspace = true }
9292

9393
# tkinter
94-
tk-sys = { git = "https://github.com/arihant2math/tkinter.git", tag = "v0.2.0", optional = true }
95-
tcl-sys = { git = "https://github.com/arihant2math/tkinter.git", tag = "v0.2.0", optional = true }
94+
tk-sys = { workspace = true, optional = true }
95+
tcl-sys = { workspace = true, optional = true }
9696
widestring = { workspace = true, optional = true }
9797
chrono.workspace = true
9898

9999
# uuid
100100
[target.'cfg(not(any(target_os = "ios", target_os = "android", target_os = "windows", target_arch = "wasm32", target_os = "redox")))'.dependencies]
101-
mac_address = "1.1.3"
102-
uuid = { version = "1.23.1", features = ["v1"] }
101+
mac_address = { workspace = true }
102+
uuid = { workspace = true, features = ["v1"] }
103103

104104
[target.'cfg(all(unix, not(target_os = "redox"), not(target_os = "ios")))'.dependencies]
105-
termios = "0.3.3"
105+
termios = { workspace = true }
106106

107107
[target.'cfg(unix)'.dependencies]
108108
rustix = { workspace = true }
109109

110110
# mmap + socket dependencies
111111
[target.'cfg(not(target_arch = "wasm32"))'.dependencies]
112-
memmap2 = "0.9.10"
113-
page_size = "0.6"
114-
gethostname = "1.0.2"
115-
socket2 = { version = "0.6.3", features = ["all"] }
116-
dns-lookup = "3.0"
112+
memmap2 = { workspace = true }
113+
page_size = { workspace = true }
114+
gethostname = { workspace = true }
115+
socket2 = { workspace = true, features = ["all"] }
116+
dns-lookup = { workspace = true }
117117

118118
# OpenSSL dependencies (optional, for ssl-openssl feature)
119-
openssl = { version = "0.10.78", optional = true }
120-
openssl-sys = { version = "0.9.110", optional = true }
121-
openssl-probe = { version = "0.2.1", optional = true }
122-
foreign-types-shared = { version = "0.3.1", optional = true }
119+
openssl = { workspace = true, optional = true }
120+
openssl-sys = { workspace = true, optional = true }
121+
openssl-probe = { workspace = true, optional = true }
122+
foreign-types-shared = { workspace = true, optional = true }
123123

124124
# Rustls dependencies (optional, for ssl-rustls feature)
125-
rustls = { version = "0.23.39", default-features = false, features = ["std", "tls12", "aws_lc_rs"], optional = true }
126-
rustls-native-certs = { version = "0.8", optional = true }
127-
rustls-pemfile = { version = "2.2", optional = true }
128-
rustls-platform-verifier = { version = "0.7", optional = true }
129-
x509-cert = { version = "0.2.5", features = ["pem", "builder"], optional = true }
130-
x509-parser = { version = "0.18", optional = true }
125+
rustls = { workspace = true, default-features = false, features = ["std", "tls12", "aws_lc_rs"], optional = true }
126+
rustls-native-certs = { workspace = true, optional = true }
127+
rustls-pemfile = { workspace = true, optional = true }
128+
rustls-platform-verifier = { workspace = true, optional = true }
129+
x509-cert = { workspace = true, features = ["pem", "builder"], optional = true }
130+
x509-parser = { workspace = true, optional = true }
131131
der = { workspace = true, optional = true }
132-
pem-rfc7468 = { version = "1.0", features = ["alloc"], optional = true }
133-
webpki-roots = { version = "1.0", optional = true }
134-
aws-lc-rs = { version = "1.16.3", optional = true }
135-
oid-registry = { version = "0.8", features = ["x509", "pkcs1", "nist_algs"], optional = true }
136-
pkcs8 = { version = "0.10", features = ["encryption", "pkcs5", "pem"], optional = true }
132+
pem-rfc7468 = { workspace = true, features = ["alloc"], optional = true }
133+
webpki-roots = { workspace = true, optional = true }
134+
aws-lc-rs = { workspace = true, optional = true }
135+
oid-registry = { workspace = true, features = ["x509", "pkcs1", "nist_algs"], optional = true }
136+
pkcs8 = { workspace = true, features = ["encryption", "pkcs5", "pem"], optional = true }
137137

138138
[target.'cfg(not(any(target_os = "android", target_arch = "wasm32")))'.dependencies]
139-
libsqlite3-sys = { version = "0.37", features = ["bundled"], optional = true }
140-
liblzma = "0.4"
141-
liblzma-sys = "0.4"
139+
libsqlite3-sys = { workspace = true, features = ["bundled"], optional = true }
140+
liblzma = { workspace = true }
141+
liblzma-sys = { workspace = true }
142142

143143
[target.'cfg(windows)'.dependencies]
144144
paste = { workspace = true }
@@ -163,7 +163,7 @@ features = [
163163
]
164164

165165
[target.'cfg(target_os = "macos")'.dependencies]
166-
system-configuration = "0.7.0"
166+
system-configuration = { workspace = true }
167167

168168
[lints]
169169
workspace = true

0 commit comments

Comments
 (0)