[package]
edition = "2024"
rust-version = "1.93"
name = "interoptopus_csharp"
version = "0.16.0-alpha.7"
authors = ["Ralf Biedert <rb@xr.io>"]
build = "build.rs"
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "The C# backend for Interoptopus."
readme = "README.md"
license = "MIT"
repository = "https://github.com/ralfbiedert/interoptopus"
[package.metadata.docs.rs]
features = []
rustdoc-args = [
"--cfg",
"docsrs",
]
[features]
dotnet = [
"dep:netcorehost",
"dep:tempfile",
]
unstable-plugins = [
"dotnet",
"interoptopus/unstable-plugins",
]
[lib]
name = "interoptopus_csharp"
path = "src/lib.rs"
[[test]]
name = "basic"
path = "tests/basic.rs"
[[test]]
name = "extensions"
path = "tests/extensions.rs"
[[test]]
name = "mod"
path = "tests/mod.rs"
[[test]]
name = "template"
path = "tests/template.rs"
[dependencies.interoptopus]
version = "=0.16.0-alpha.7"
[dependencies.interoptopus_backends]
version = "=0.16.0-alpha.7"
[dependencies.netcorehost]
version = "0.20"
features = [
"nethost-download",
"net9_0",
"nethost-download",
"net9_0",
]
optional = true
[dependencies.tempfile]
version = "3"
optional = true
[dev-dependencies.insta]
version = "1.43.2"
[dev-dependencies.interoptopus]
version = "=0.16.0-alpha.7"
features = ["serde"]
[dev-dependencies.tokio]
version = "1.48.0"
[build-dependencies.interoptopus_backends]
version = "=0.16.0-alpha.7"
[lints.clippy]
default_constructed_unit_structs = "allow"
match_same_arms = "allow"
missing_const_for_fn = "allow"
missing_errors_doc = "allow"
missing_panics_doc = "allow"
option_if_let_else = "allow"
unreadable_literal = "allow"
[lints.clippy.complexity]
level = "deny"
priority = -1
[lints.clippy.correctness]
level = "deny"
priority = -1
[lints.clippy.nursery]
level = "deny"
priority = -1
[lints.clippy.pedantic]
level = "deny"
priority = -1
[lints.clippy.perf]
level = "deny"
priority = -1
[lints.clippy.style]
level = "deny"
priority = -1
[lints.clippy.suspicious]
level = "deny"
priority = -1