[package]
edition = "2024"
rust-version = "1.93"
name = "interoptopus_csharp"
version = "0.16.0-alpha.13"
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."
homepage = "https://interoptopus.rs"
readme = "README.md"
license = "MIT"
repository = "https://github.com/ralfbiedert/interoptopus"
[package.metadata.docs.rs]
features = ["unstable-plugins"]
rustdoc-args = [
"--cfg",
"docsrs",
]
[features]
rt-aot = [
"interoptopus/unstable-plugins",
"dep:libloading",
]
rt-dotnet = [
"interoptopus/unstable-plugins",
"dep:netcorehost",
"dep:tempfile",
]
rt-dotnet-download = ["netcorehost/nethost-download"]
unstable-plugins = [
"interoptopus/unstable-plugins",
"rt-dotnet",
"rt-aot",
]
[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.13"
default-features = false
[dependencies.interoptopus_backends]
version = "=0.16.0-alpha.13"
[dependencies.libloading]
version = "0.9.0"
optional = true
[dependencies.netcorehost]
version = "0.20"
features = [
"nethost",
"net10_0",
]
optional = true
default-features = false
[dependencies.tempfile]
version = "3"
optional = true
[dev-dependencies.insta]
version = "1.43.2"
[dev-dependencies.interoptopus]
version = "=0.16.0-alpha.13"
features = [
"macros",
"serde",
]
default-features = false
[dev-dependencies.memory-stats]
version = "1.2.0"
[dev-dependencies.tokio]
version = "1.48.0"
[build-dependencies.interoptopus_backends]
version = "=0.16.0-alpha.13"
[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