public-api 0.51.0

List and diff the public API of Rust library crates. Relies on rustdoc JSON output from the nightly toolchain.
Documentation
# THIS FILE IS AUTOMATICALLY GENERATED BY CARGO
#
# When uploading crates to the registry Cargo will automatically
# "normalize" Cargo.toml files for maximal compatibility
# with all versions of Cargo and also rewrite `path` dependencies
# to registry (e.g., crates.io) dependencies.
#
# If you are reading this file be aware that the original Cargo.toml
# will likely look very different (and much more reasonable).
# See Cargo.toml.orig for the original contents.

[package]
edition = "2024"
name = "public-api"
version = "0.51.0"
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "List and diff the public API of Rust library crates. Relies on rustdoc JSON output from the nightly toolchain."
homepage = "https://github.com/cargo-public-api/cargo-public-api/tree/main/public-api"
documentation = "https://docs.rs/public-api"
readme = "README.md"
keywords = [
    "semver",
    "rustdoc-json",
    "diff",
    "cargo",
]
license = "MIT"
repository = "https://github.com/cargo-public-api/cargo-public-api/tree/main/public-api"
resolver = "2"

[features]
default = ["snapshot-testing"]
snapshot-testing = ["dep:snapshot-testing"]

[lib]
name = "public_api"
path = "src/lib.rs"

[[example]]
name = "diff_public_api"
path = "examples/diff_public_api.rs"

[[example]]
name = "list_public_api"
path = "examples/list_public_api.rs"

[[test]]
name = "public-api-lib-tests"
path = "tests/public-api-lib-tests.rs"

[dependencies.hashbag]
version = "0.1.13"
default-features = false

[dependencies.rustdoc-types]
version = "0.56.0"

[dependencies.serde]
version = "1.0.179"
features = ["derive"]

[dependencies.serde_json]
version = "1.0.104"
features = ["unbounded_depth"]

[dependencies.snapshot-testing]
version = "0.1.8"
optional = true

[dependencies.thiserror]
version = "2.0.3"

[dev-dependencies.anyhow]
version = "1.0.75"

[dev-dependencies.assert_cmd]
version = "2.1.1"

[dev-dependencies.itertools]
version = "0.14.0"
default-features = false

[dev-dependencies.predicates]
version = "3.1.4"
default-features = false

[dev-dependencies.pretty_assertions]
version = "1.4.1"

[dev-dependencies.rustdoc-json]
version = "0.9.9"

[dev-dependencies.snapshot-testing]
version = "0.1.8"

[dev-dependencies.tempfile]
version = "3.19.1"