# 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 = "fxrank"
version = "0.4.0"
authors = ["caasi Huang <caasi.igd@gmail.com>"]
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Effect-cost profiler for coding agents — ranks Rust & TS/JS functions by their own-body side-effect cost."
homepage = "https://github.com/caasi/fxrank"
readme = "README.md"
keywords = [
    "effect",
    "profiler",
    "static-analysis",
    "rust",
    "typescript",
]
categories = [
    "development-tools::profiling",
    "command-line-utilities",
]
license = "MIT OR Apache-2.0"
repository = "https://github.com/caasi/fxrank"

[features]
default = [
    "rust",
    "ts",
    "python",
]
python = ["dep:fxrank-lang-python"]
rust = ["dep:fxrank-lang-rust"]
ts = ["dep:fxrank-lang-ts"]

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

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

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

[dependencies.fxrank-core]
version = "0.4.0"

[dependencies.fxrank-lang-python]
version = "0.4.0"
optional = true

[dependencies.fxrank-lang-rust]
version = "0.4.0"
optional = true

[dependencies.fxrank-lang-ts]
version = "0.4.0"
optional = true

[dependencies.serde_json]
version = "1"

[dev-dependencies.assert_cmd]
version = "2"

[dev-dependencies.predicates]
version = "3"

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

[lints.clippy]
all = "warn"
