-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathCargo.toml
More file actions
57 lines (45 loc) · 1.14 KB
/
Cargo.toml
File metadata and controls
57 lines (45 loc) · 1.14 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
[package]
name = "pysubclasses"
version = "0.1.1"
description = "Tool for finding all subclasses (direct and transitive) of a Python class within a codebase"
repository = "https://github.com/Peter554/pysubclasses"
license = "MIT"
edition = "2024"
[lib]
name = "pysubclasses"
path = "src/lib.rs"
[[bin]]
name = "pysubclasses"
path = "src/main.rs"
[dependencies]
# AST Parsing
ruff_python_parser = { git = "https://github.com/astral-sh/ruff.git", tag = "v0.4.10" }
ruff_python_ast = { git = "https://github.com/astral-sh/ruff.git", tag = "v0.4.10" }
ruff_source_file = { git = "https://github.com/astral-sh/ruff.git", tag = "v0.4.10" }
# CLI
clap = { version = "4", features = ["derive"] }
# Error Handling
anyhow = "1"
thiserror = "1"
# Logging
log = "0.4"
env_logger = "0.11"
# File System
ignore = "0.4"
# Parallelism
rayon = "1"
# Output Formatting
serde = { version = "1", features = ["derive"] }
serde_json = "1"
# Cache serialization and compression
bincode = "2"
flate2 = "1"
[dev-dependencies]
assert_cmd = "2"
assert_fs = "1"
predicates = "3"
yare = "3"
# The profile that 'dist' will build with
[profile.dist]
inherits = "release"
lto = "thin"