mirror of
https://github.com/rust-lang/cargo.git
synced 2025-09-28 11:20:36 +00:00

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.
24 lines
474 B
TOML
24 lines
474 B
TOML
[package]
|
|
name = "crates-io"
|
|
version = "0.30.0"
|
|
edition = "2018"
|
|
authors = ["Alex Crichton <alex@alexcrichton.com>"]
|
|
license = "MIT OR Apache-2.0"
|
|
repository = "https://github.com/rust-lang/cargo"
|
|
description = """
|
|
Helpers for interacting with crates.io
|
|
"""
|
|
|
|
[lib]
|
|
name = "crates_io"
|
|
path = "lib.rs"
|
|
|
|
[dependencies]
|
|
curl = "0.4"
|
|
anyhow = "1.0.0"
|
|
percent-encoding = "2.0"
|
|
serde = { version = "1.0", features = ['derive'] }
|
|
serde_derive = "1.0"
|
|
serde_json = "1.0"
|
|
url = "2.0"
|