11[package ]
2- rust-version = " 1.60 "
2+ rust-version = " 1.65 "
33edition = " 2021"
44name = " threescalers"
55description = " 3scale API client library for Rust"
@@ -31,7 +31,6 @@ http-types = ["dep:http_types"]
3131# Add in conversions for reqwest's crate types
3232reqwest-async = [" dep:reqwest" , " http-types" ]
3333reqwest-sync = [" dep:reqwest" , " reqwest?/blocking" , " http-types" ]
34- # reqwest-sync = ["dep:reqwest", "http-types"]
3534reqwest-all = [" reqwest-async" , " reqwest-sync" ]
3635# Add in conversions for curl's crate types
3736curl-easy = [" dep:curl" ]
@@ -47,20 +46,20 @@ rest-mappings-serde = ["dep:serde"]
4746serde = [" dep:serde" , " rest-mappings-serde" ]
4847
4948[dependencies ]
50- percent-encoding = " ^2 "
51- http_types = { version = " ^0.2 " , package = " http" , optional = true }
52- reqwest = { version = " >= 0.10, < 0.12" , optional = true }
53- curl = { version = " ^ 0.4" , optional = true }
54- serde = { version = " ^1 " , optional = true , default-features = false , features = [" alloc" , " derive" ] }
55- serde-xml-rs = { version = " ^ 0.6" , optional = true }
56- chrono = { version = " ^ 0.4" , optional = true , default-features = false }
57- no-std-compat = { version = " ^ 0.4" , features = [" alloc" ] }
58- anyhow = { version = " ^1 " , default-features = false }
59- regex = { version = " ^1 " , optional = true , default-features = false , features = [" perf" ] }
49+ percent-encoding = " 2.1 "
50+ http_types = { version = " 1 " , package = " http" , optional = true }
51+ reqwest = { version = " 0.12" , optional = true }
52+ curl = { version = " 0.4.10 " , optional = true }
53+ serde = { version = " 1.0.103 " , optional = true , default-features = false , features = [" alloc" , " derive" ] }
54+ serde-xml-rs = { version = " 0.6" , optional = true }
55+ chrono = { version = " 0.4.23 " , optional = true , default-features = false }
56+ no-std-compat = { version = " 0.4" , features = [" alloc" ] }
57+ anyhow = { version = " 1.0.16 " , default-features = false }
58+ regex = { version = " 1.3.2 " , optional = true , default-features = false , features = [" perf" ] }
6059# lazy_static has a "negative" no_std flag rather than an additive "std" flag :/
6160# We'll now recommend users that want no_std to enable the "lazy_static/spin_no_std" feature,
6261# since enabling it unconditionally here forces everyone, including std users, to use spinlocks.
63- lazy_static = { version = " ^1 " , optional = true }
62+ lazy_static = { version = " 1.4 " , optional = true }
6463
6564[[example ]]
6665name = " reqwest-report"
@@ -75,6 +74,9 @@ name = "curl-easy2-report"
7574required-features = [" curl-easy2" ]
7675
7776[dev-dependencies ]
78- serde_json = " ^1.0"
79- itertools = " ^0.10"
80- rand = " ^0.8"
77+ serde_json = " 1"
78+ itertools = " 0.10"
79+ rand = " 0.8"
80+
81+ [lints .rust ]
82+ unexpected_cfgs = { level = " warn" , check-cfg = [' cfg(feature, values("never_type"))' ] }
0 commit comments