nativeview-codegen 0.1.0-rc.1

Multi-language ABI, policy, flat-op codec, and hybrid Direct-FFI code generator for Native View Engine.
Documentation
# 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"
name = "nativeview-codegen"
version = "0.1.0-rc.1"
build = "build.rs"
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Multi-language ABI, policy, flat-op codec, and hybrid Direct-FFI code generator for Native View Engine."
homepage = "https://nativeview.github.io/nativeview"
readme = "README.md"
keywords = [
    "nativeview",
    "gui",
    "ui",
    "cross-platform",
]
categories = [
    "development-tools::build-utils",
    "development-tools::ffi",
]
license = "MIT"
repository = "https://github.com/nativeview/nativeview"
resolver = "2"

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

[[bench]]
name = "codegen_bench"
path = "benches/codegen_bench.rs"
harness = false

[[bench]]
name = "direct_batch_bench"
path = "benches/direct_batch_bench.rs"
harness = false

[[bench]]
name = "direct_ffi_bench"
path = "benches/direct_ffi_bench.rs"
harness = false

[dependencies.askama]
version = "0.16.1"
features = [
    "derive",
    "std",
]
default-features = false

[dependencies.nativeview-abi]
version = "0.1.0-rc.1"

[dependencies.nativeview-codec]
version = "0.1.0-rc.1"

[dependencies.nativeview-hash]
version = "0.1.0-rc.1"

[dependencies.nativeview-hybrid-spec]
version = "0.1.0-rc.1"

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

[dependencies.toml]
version = "1.2.3"
features = [
    "std",
    "parse",
    "serde",
]
default-features = false

[dev-dependencies.nativeview-tables]
version = "0.1.0-rc.1"

[dev-dependencies.syn]
version = "2.0.119"
features = ["full"]

[target.'cfg(not(target_arch = "wasm32"))'.dev-dependencies.criterion]
version = "0.8.2"

[target.'cfg(not(target_arch = "wasm32"))'.dev-dependencies.nativeview-host-services]
version = "0.1.0-rc.1"

[lints.clippy]
dbg_macro = "deny"
panic = "deny"
todo = "deny"
undocumented_unsafe_blocks = "deny"
unimplemented = "deny"
unwrap_used = "deny"

[lints.rust]
unsafe_op_in_unsafe_fn = "deny"