polyplugc 0.1.1

CLI code generator for polyplug - generates type-safe bindings for multiple languages
# 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 = "2024"
rust-version = "1.85"
name = "polyplugc"
version = "0.1.1"
authors = ["Islam Nofl (corrm) <islamnofl.official@gmail.com>"]
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "CLI code generator for polyplug - generates type-safe bindings for multiple languages"
homepage = "https://github.com/polyplug/polyplug"
readme = false
keywords = [
    "plugin",
    "runtime",
    "ffi",
    "cross-language",
    "abi",
]
categories = [
    "development-tools",
    "api-bindings",
]
license = "MIT"
repository = "https://github.com/polyplug/polyplug"
resolver = "2"

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

[[bin]]
name = "polyplugc"
path = "src/main.rs"

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

[dependencies.clap]
version = "4.6"
features = ["derive"]

[dependencies.polyplug]
version = "0.1.1"

[dependencies.polyplug_abi]
version = "0.1.1"

[dependencies.polyplug_codegen]
version = "0.1.1"

[dependencies.polyplug_utils]
version = "0.1.1"

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

[dependencies.toml]
version = "1.1"

[dev-dependencies.libloading]
version = "0.9"

[dev-dependencies.tempfile]
version = "3.27"

[lints.clippy]
clone_on_ref_ptr = "warn"
expect_used = "warn"
std_instead_of_core = "warn"
undocumented_unsafe_blocks = "warn"
unwrap_used = "deny"

[lints.rust]
improper_ctypes_definitions = "deny"
unsafe_op_in_unsafe_fn = "warn"