rust-anything 5.0.1

Rewrite your app in Rust, one piece at a time, checked against the original's recorded behavior at every step. TypeScript/JavaScript, Python, C, Go, Ruby, Java, Kotlin, PHP, C# and PowerShell
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"
rust-version = "1.97"
name = "rust-anything"
version = "5.0.1"
build = false
exclude = [
    "demo/",
    "npm/",
    "docs/",
    ".github/",
    "scripts/",
    "server.json",
    "tests/fixtures/**/node_modules",
]
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Rewrite your app in Rust, one piece at a time, checked against the original's recorded behavior at every step. TypeScript/JavaScript, Python, C, Go, Ruby, Java, Kotlin, PHP, C# and PowerShell"
readme = "README.md"
keywords = [
    "migration",
    "rewrite",
    "ffi",
    "napi",
    "pyo3",
]
categories = [
    "command-line-utilities",
    "development-tools",
    "wasm",
]
license = "MIT OR Apache-2.0"
repository = "https://github.com/erkamyaman/rust-anything"

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

[[bin]]
name = "rust-anything"
path = "src/main.rs"

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

[dependencies.anyhow]
version = "1"

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

[dependencies.ignore]
version = "0.4"

[dependencies.json5]
version = "1.3"

[dependencies.oxc_allocator]
version = "0.158"

[dependencies.oxc_ast]
version = "0.158"

[dependencies.oxc_ast_visit]
version = "0.158"

[dependencies.oxc_parser]
version = "0.158"

[dependencies.oxc_span]
version = "0.158"

[dependencies.oxc_syntax]
version = "0.158"

[dependencies.percent-encoding]
version = "2"

[dependencies.regex]
version = "1"

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

[dependencies.serde_json]
version = "1"
features = [
    "float_roundtrip",
    "preserve_order",
    "unbounded_depth",
]

[dependencies.toml_edit]
version = "0.25"

[dependencies.tree-sitter]
version = "0.27.2"

[dependencies.tree-sitter-c]
version = "0.24.2"

[dependencies.tree-sitter-c-sharp]
version = "0.24.0"

[dependencies.tree-sitter-go]
version = "0.25.0"

[dependencies.tree-sitter-java]
version = "0.23.5"

[dependencies.tree-sitter-kotlin-ng]
version = "1.1.0"

[dependencies.tree-sitter-php]
version = "0.25.1"

[dependencies.tree-sitter-powershell]
version = "0.26.6"

[dependencies.tree-sitter-python]
version = "0.25.0"

[dependencies.tree-sitter-ruby]
version = "0.23.1"

[lints.clippy.all]
level = "warn"
priority = -1

[lints.rust]
unsafe_code = "forbid"