# 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"
rust-version = "1.88.0"
name = "algorithms4"
version = "0.0.5"
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "A rust implementation of the 4th edition of Algorithms by R. Sedgewick and K. Wayne."
readme = "README.md"
keywords = [
    "algorithms",
    "algs4",
]
license = "MIT"
repository = "https://github.com/tobiO0310/algorithms4"

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

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

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

[[bench]]
name = "sorting"
path = "benches/sorting.rs"
harness = false

[[bench]]
name = "union_find"
path = "benches/union_find.rs"
harness = false

[dependencies.num]
version = "0.4.3"

[dependencies.num-bigint]
version = "0.5.1"
features = ["rand_0_10"]

[dependencies.rand]
version = "0.10.1"

[dev-dependencies.criterion]
version = "0.8.2"

[dev-dependencies.pastey]
version = "0.2.3"
package = "pastey"

[profile.release]
lto = "thin"
