Weihang Lo
6805944715
feat(crates-io): expose headers for ResponseError::Api
...
In response to RFC 3231 [^1], our registry client need to return headers
to caller, so that the caller (cargo binary) can continue parsing
challenge headers.
[^1]: https://rust-lang.github.io/rfcs/3231-cargo-asymmetric-tokens.html#the-authentication-process
2023-07-18 22:22:46 +01:00
Ed Page
5d80aa263d
refactor: Provide workspace-level default license
2023-07-17 13:21:41 -05:00
Ed Page
f358359a17
refactor: Provide a workspace-level default edition
2023-07-17 13:21:40 -05:00
Arlo Siemsen
d45ba88290
Bump version of crates-io due to unintentional semver-breaking change
2023-07-13 14:35:09 -05:00
Scott Schafer
34b8c39d77
chore: Use [workspace.dependencies]
2023-04-28 09:56:09 -05:00
Eric Huss
eea69e549f
Bump versions of local crates
2023-04-23 13:01:29 -07:00
Weihang Lo
8296cfe547
Bump crates-io to 0.36.0
...
This was an overlook of https://github.com/rust-lang/cargo/pull/11600
2023-03-09 17:10:32 +00:00
Scott Schafer
c3043d9a9e
chore: Make dependencies alphabetical order
2023-02-15 09:22:08 -06:00
Jacob Finkelman
29ff25f6d9
cleanups round 1
2022-12-13 23:49:07 +00:00
Weihang Lo
054a19ba2f
Bump crate crates-io
to 0.35.0
2022-11-13 10:55:15 +00:00
Eric Huss
43a063c80a
Stabilize namespaced and weak dependency features.
2022-01-06 15:56:56 -08:00
Eric Huss
06bffb59a7
Bump versions of local deps.
2021-12-03 11:05:03 -08:00
Alex Crichton
c687d83ada
Remove authors
directives from Cargo crates
...
Most of these are pretty dated and Cargo defaults nowadays to not
emitting an `authors` field so this commit also removes them from the
manifests.
2021-10-22 10:27:20 -07:00
Alex Crichton
cabe1cca0a
Upgrade Cargo to the 2021 edition
...
This didn't actually result in any code changes yet, for now this simply
flips the edition flag for all of our crates and documentation.
2021-10-22 10:25:52 -07:00
Eric Huss
eaa5896405
Remove Registry::new.
2021-01-22 11:06:51 -08:00
Aaron Hill
939b5ff766
Bump anyhow
dependency to 1.0.34
in crates-io
crate
...
This will keep `crates-io` compiling if https://github.com/rust-lang/rust/issues/33953
is fixed. See https://github.com/dtolnay/anyhow/pull/120
2020-11-02 18:45:18 -05:00
est31
65591e8144
Remove unused serde_derive dependency
2020-06-26 17:29:09 +02:00
Eric Huss
65274ea7d5
Add a warning when using registry.token
with source replacement.
2020-04-19 09:25:32 -07:00
Eric Huss
944f5049f1
Re-implement proc-macro feature decoupling.
2020-03-22 15:08:02 -07:00
Eric Huss
5a1862cd36
Add proc-macro to the index.
2020-03-15 10:10:25 -07:00
bors
c95f396b4c
Auto merge of #7778 - ehuss:bump-crates-io, r=alexcrichton
...
Bump crates-io
Needed for #7776 .
2020-01-08 18:26:02 +00:00
Eric Huss
b688f7da56
Bump crates-io
2020-01-08 10:05:35 -08:00
Alex Crichton
3a18c89a55
Migrate from the failure
crate to anyhow
...
The `anyhow` crate interoperates with the `std::error::Error` trait
rather than a custom `Fail` trait, and this is the general trend of
error handling in Rust as well.
Note that this is mostly mechanical (sed) and intended to get the test
suite passing. As usual there's still more idiomatic cleanup that can
happen, but that's left to later commits.
2020-01-07 16:50:09 -08:00
Eric Huss
1df81ee07e
Bump to 0.42.0, Update changelog
2019-11-07 11:19:48 -08:00
Eric Huss
8ad031b54f
Bump to 0.41.0, Update changelog
2019-09-27 09:02:13 -07:00
Alex Crichton
0f751deffb
Remove dependency on winapi
0.2
...
This commit removes Cargo's dependency on `winapi` 0.2 which takes an
excessively long time to build, slowing down Windows builds. The
`winapi` 0.2 crate was pulled in via a dependency chain that looked
like:
cargo
\- crates-io
\- http
\- bytes
\- iovec
\- winapi 0.2
The fix implemented here was to remove the `http` crate dependency from
`crates-io` which is only used for rendering status codes, but it's easy
enough to inline that function locally.
2019-09-19 11:53:24 -07:00
Eric Huss
5c7875d2e0
Bump to 0.40.0, Update changelog
2019-08-19 14:27:15 -07:00
Alex Crichton
3c67dc8430
Update the url
crate to 2.0
...
Looks like minor API changes, primarily around percent encoding.
2019-07-24 08:26:28 -07:00
Eric Huss
2208c1f62f
Bump to 0.39.0
2019-07-05 10:42:46 -07:00
Alex Crichton
e449cb23e3
Move the crates-io
crate to a crates
directory
...
That way when we add more crates we've got a place to put them!
2019-06-18 10:47:44 -07:00