diff --git a/Cargo.lock b/Cargo.lock index f92a3dd34..520b6c14b 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -1499,16 +1499,6 @@ version = "0.2.10" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "ac74c624d6b2d21f425f752262f42188365d7b8ff1aff74c82e45136510a4857" -[[package]] -name = "pre-commit" -version = "0.5.2" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "d0f2b9887f84ec91cd86f71c193b883209d744bc8c2a3363c6b1df88efa5af8f" -dependencies = [ - "rustc-serialize", - "toml 0.2.1", -] - [[package]] name = "precomputed-hash" version = "0.1.1" @@ -1522,7 +1512,7 @@ source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "41fdbd1df62156fbc5945f4762632564d7d038153091c3fcf1067f6aef7cff92" dependencies = [ "thiserror", - "toml 0.5.8", + "toml", ] [[package]] @@ -1732,12 +1722,6 @@ version = "1.1.0" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "08d43f7aa6b08d49f382cde6a7982047c3426db949b1424bc4b7ec9ae12c6ce2" -[[package]] -name = "rustc-serialize" -version = "0.3.24" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "dcf128d1287d2ea9d80910b5f1120d0b8eede3fbf1abe91c40d39ea7d51e6fda" - [[package]] name = "rustc_version" version = "0.4.0" @@ -1762,7 +1746,6 @@ dependencies = [ "libc", "log", "num-traits", - "pre-commit", "python3-sys", "rustpython-compiler", "rustpython-parser", @@ -2479,15 +2462,6 @@ version = "0.1.0" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "cda74da7e1a664f795bb1f8a87ec406fb89a02522cf6e50620d016add6dbbf5c" -[[package]] -name = "toml" -version = "0.2.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "736b60249cb25337bc196faa43ee12c705e426f3d55c214d73a4e7be06f92cb4" -dependencies = [ - "rustc-serialize", -] - [[package]] name = "toml" version = "0.5.8" diff --git a/Cargo.toml b/Cargo.toml index 8fc99bb26..d9e875cfb 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -6,7 +6,7 @@ edition = "2018" description = "A python interpreter written in rust." repository = "https://github.com/RustPython/RustPython" license = "MIT" -include = ["LICENSE", "build.rs", "Cargo.toml", "src/**/*.rs"] +include = ["LICENSE", "Cargo.toml", "src/**/*.rs"] [workspace] resolver = "2" @@ -45,18 +45,11 @@ flamescope = { version = "0.1", optional = true } [target.'cfg(not(target_os = "wasi"))'.dependencies] rustyline = "9" - -[target.'cfg(not(target_os = "windows"))'.build-dependencies] -pre-commit = "0.5.2" - [dev-dependencies] cpython = "0.6" python3-sys = "0.6" criterion = "0.3" -[package.metadata.precommit] -fmt = "cargo fmt --all" - [[bench]] name = "execution" harness = false diff --git a/build.rs b/build.rs deleted file mode 100644 index 84f368967..000000000 --- a/build.rs +++ /dev/null @@ -1,3 +0,0 @@ -fn main() { - // build script to run pre-commit build script -}