[package]
edition = "2021"
rust-version = "1.70"
name = "quoracle"
version = "1.4.0"
authors = ["Greg Burd <greg@burd.me>"]
build = "build.rs"
include = [
"/src/**/*.rs",
"/benches/**/*.rs",
"/examples/**/*.rs",
"/tests/**/*.rs",
"/build.rs",
"/Cargo.toml",
"/README.md",
"/CHANGELOG.md",
"/SOLVERS.md",
"/LICENSE-MIT",
"/LICENSE-APACHE-2.0",
"/rustfmt.toml",
]
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "A library for constructing and analyzing read-write quorum systems"
homepage = "https://codeberg.org/gregburd/rs-quoracle"
documentation = "https://docs.rs/quoracle"
readme = "README.md"
keywords = [
"distributed-systems",
"quorum",
"consensus",
"optimization",
]
categories = [
"algorithms",
"mathematics",
]
license = "MIT OR Apache-2.0"
repository = "https://codeberg.org/gregburd/rs-quoracle"
[features]
cbc = ["good_lp/coin_cbc"]
default = ["microlp"]
microlp = ["good_lp/microlp"]
[lib]
name = "quoracle"
path = "src/lib.rs"
[[example]]
name = "search"
path = "examples/search.rs"
[[example]]
name = "simple"
path = "examples/simple.rs"
[[example]]
name = "tutorial"
path = "examples/tutorial.rs"
[[test]]
name = "expr_tests"
path = "tests/expr_tests.rs"
[[bench]]
name = "benchmarks"
path = "benches/benchmarks.rs"
harness = false
[dependencies.good_lp]
version = "1.8"
default-features = false
[dependencies.hashbrown]
version = "0.15"
[dependencies.itertools]
version = "0.13"
[dependencies.rand]
version = "0.8"
[dependencies.thiserror]
version = "2.0"
[dev-dependencies.criterion]
version = "0.5"
[lints.clippy]
allow_attributes = "deny"
await_holding_lock = "deny"
dbg_macro = "deny"
exit = "deny"
expect_used = "warn"
large_futures = "deny"
mem_forget = "deny"
module_name_repetitions = "allow"
panic = "deny"
panic_in_result_fn = "deny"
print_stderr = "deny"
print_stdout = "deny"
similar_names = "allow"
todo = "deny"
unimplemented = "deny"
unwrap_used = "deny"
[lints.clippy.pedantic]
level = "warn"
priority = -1
[lints.rust]
missing_docs = "warn"
unsafe_code = "forbid"