poolsim-core 0.1.0

Core simulation engine for poolsim
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 = "2021"
rust-version = "1.70"
name = "poolsim-core"
version = "0.1.0"
authors = ["Gregorian Rayne <gregorianrayne09@gmail.com>"]
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Core simulation engine for poolsim"
homepage = "https://github.com/gregorian-09/poolsim"
documentation = "https://docs.rs/poolsim-core"
readme = "README.md"
keywords = [
    "connection-pool",
    "simulation",
    "capacity-planning",
    "queueing",
    "erlang-c",
]
categories = [
    "algorithms",
    "science",
]
license = "MIT"
repository = "https://github.com/gregorian-09/poolsim"

[package.metadata.docs.rs]
all-features = true
rustdoc-args = [
    "--cfg",
    "docsrs",
]
targets = ["x86_64-unknown-linux-gnu"]

[features]
default = ["parallel"]
parallel = ["dep:rayon"]

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

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

[[test]]
name = "core_behavior"
path = "tests/core_behavior.rs"

[[test]]
name = "core_coverage"
path = "tests/core_coverage.rs"

[[test]]
name = "docs_fixtures"
path = "tests/docs_fixtures.rs"

[[test]]
name = "performance_contract"
path = "tests/performance_contract.rs"

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

[dependencies.rand]
version = "0.8.5"

[dependencies.rand_distr]
version = "0.4.3"

[dependencies.rayon]
version = "=1.8.1"
optional = true

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

[dependencies.serde_json]
version = "1.0.114"

[dependencies.statrs]
version = "0.16.0"

[dependencies.thiserror]
version = "1.0.57"

[lints.clippy]
todo = "warn"
unwrap_used = "warn"

[lints.rust]
unsafe_code = "forbid"