[package]
edition = "2021"
name = "foldit-plugin-sdk"
version = "0.2.1"
authors = ["Andreas Petrides"]
build = "build.rs"
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Foldit plugin SDK - owns plugin.proto, the protocol types, and the Plugin trait; exposes a cbindgen C-ABI and pyo3 Python bindings"
readme = "README.md"
keywords = [
"plugin",
"protein",
"rosetta",
"bioinformatics",
"ffi",
]
categories = [
"science",
"development-tools::ffi",
]
license = "MIT"
repository = "https://github.com/foldit-org/foldit-plugin-sdk"
[features]
default = []
extension-module = ["pyo3/extension-module"]
python = ["dep:pyo3"]
[lib]
name = "foldit_plugin_sdk"
crate-type = [
"rlib",
"cdylib",
"staticlib",
]
path = "src/lib.rs"
[dependencies.molex]
version = "0.8.0"
[dependencies.prost]
version = "0.13"
[dependencies.pyo3]
version = "0.29"
optional = true
[dependencies.thiserror]
version = "2"
[build-dependencies.cbindgen]
version = "=0.29.2"
[build-dependencies.prost-build]
version = "0.13"
[build-dependencies.protox]
version = "0.7"
[lints.clippy]
dbg_macro = "deny"
default_trait_access = "allow"
doc_markdown = "allow"
expect_used = "deny"
items_after_statements = "allow"
missing_const_for_fn = "allow"
multiple_crate_versions = "allow"
panic = "deny"
print_stderr = "deny"
print_stdout = "deny"
redundant_pub_crate = "allow"
similar_names = "allow"
str_to_string = "deny"
todo = "deny"
unimplemented = "deny"
unwrap_used = "deny"
use_self = "allow"
[lints.clippy.all]
level = "deny"
priority = -1
[lints.clippy.cargo]
level = "deny"
priority = -1
[lints.clippy.nursery]
level = "deny"
priority = -1
[lints.clippy.pedantic]
level = "deny"
priority = -1
[lints.rust]
missing_docs = "deny"
trivial_casts = "deny"
trivial_numeric_casts = "deny"
unused_qualifications = "deny"
unused_results = "deny"
[lints.rustdoc]
bare_urls = "deny"
broken_intra_doc_links = "deny"
private_intra_doc_links = "deny"