diff --git a/Cargo.lock b/Cargo.lock index d05db56d1..bf9256a61 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -1906,7 +1906,7 @@ dependencies = [ [[package]] name = "rustpython" -version = "0.1.2" +version = "0.2.0" dependencies = [ "atty", "cfg-if", @@ -1931,7 +1931,7 @@ dependencies = [ [[package]] name = "rustpython-ast" -version = "0.1.0" +version = "0.2.0" dependencies = [ "num-bigint", "rustpython-common", @@ -1940,7 +1940,7 @@ dependencies = [ [[package]] name = "rustpython-codegen" -version = "0.1.2" +version = "0.2.0" dependencies = [ "ahash", "bitflags", @@ -1958,7 +1958,7 @@ dependencies = [ [[package]] name = "rustpython-common" -version = "0.0.0" +version = "0.2.0" dependencies = [ "ascii", "bitflags", @@ -1983,7 +1983,7 @@ dependencies = [ [[package]] name = "rustpython-compiler" -version = "0.1.2" +version = "0.2.0" dependencies = [ "rustpython-codegen", "rustpython-compiler-core", @@ -1993,7 +1993,7 @@ dependencies = [ [[package]] name = "rustpython-compiler-core" -version = "0.1.2" +version = "0.2.0" dependencies = [ "bincode", "bitflags", @@ -2009,7 +2009,7 @@ dependencies = [ [[package]] name = "rustpython-derive" -version = "0.1.2" +version = "0.2.0" dependencies = [ "rustpython-compiler", "rustpython-derive-impl", @@ -2018,7 +2018,7 @@ dependencies = [ [[package]] name = "rustpython-derive-impl" -version = "0.0.0" +version = "0.2.0" dependencies = [ "indexmap", "itertools", @@ -2043,7 +2043,7 @@ dependencies = [ [[package]] name = "rustpython-jit" -version = "0.1.2" +version = "0.2.0" dependencies = [ "approx", "cranelift", @@ -2058,7 +2058,7 @@ dependencies = [ [[package]] name = "rustpython-parser" -version = "0.1.2" +version = "0.2.0" dependencies = [ "ahash", "anyhow", @@ -2083,7 +2083,7 @@ dependencies = [ [[package]] name = "rustpython-pylib" -version = "0.1.0" +version = "0.2.0" dependencies = [ "glob", "rustpython-compiler-core", @@ -2092,7 +2092,7 @@ dependencies = [ [[package]] name = "rustpython-stdlib" -version = "0.1.2" +version = "0.2.0" dependencies = [ "adler32", "ahash", @@ -2163,7 +2163,7 @@ dependencies = [ [[package]] name = "rustpython-vm" -version = "0.1.2" +version = "0.2.0" dependencies = [ "adler32", "ahash", @@ -2240,7 +2240,7 @@ dependencies = [ [[package]] name = "rustpython_wasm" -version = "0.1.2" +version = "0.2.0" dependencies = [ "console_error_panic_hook", "js-sys", diff --git a/Cargo.toml b/Cargo.toml index 774174f2b..11df8b91f 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -3,7 +3,7 @@ # REDOX END [package] name = "rustpython" -version = "0.1.2" +version = "0.2.0" authors = ["RustPython Team"] edition = "2021" description = "A python interpreter written in rust." @@ -33,11 +33,11 @@ ssl = ["rustpython-stdlib/ssl"] ssl-vendor = ["rustpython-stdlib/ssl-vendor"] [dependencies] -rustpython-compiler = { path = "compiler", version = "0.1.1" } -rustpython-parser = { path = "compiler/parser", version = "0.1.1" } +rustpython-compiler = { path = "compiler", version = "0.2.0" } +rustpython-parser = { path = "compiler/parser", version = "0.2.0" } rustpython-pylib = { path = "pylib", optional = true, default-features = false } rustpython-stdlib = { path = "stdlib", optional = true, default-features = false } -rustpython-vm = { path = "vm", version = "0.1.1", default-features = false, features = ["compiler"] } +rustpython-vm = { path = "vm", version = "0.2.0", default-features = false, features = ["compiler"] } cfg-if = "1.0.0" clap = "2.34" diff --git a/common/Cargo.toml b/common/Cargo.toml index 4285a1e54..87229dce9 100644 --- a/common/Cargo.toml +++ b/common/Cargo.toml @@ -1,8 +1,11 @@ [package] name = "rustpython-common" -version = "0.0.0" +version = "0.2.0" +description = "General python functions and algorithms for use in RustPython" authors = ["RustPython Team"] edition = "2021" +repository = "https://github.com/RustPython/RustPython" +license = "MIT" [features] threading = ["parking_lot"] diff --git a/compiler/Cargo.toml b/compiler/Cargo.toml index 118286f4f..34dbad326 100644 --- a/compiler/Cargo.toml +++ b/compiler/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "rustpython-compiler" -version = "0.1.2" +version = "0.2.0" description = "A usability wrapper around rustpython-parser and rustpython-compiler-core" authors = ["RustPython Team"] edition = "2021" diff --git a/compiler/ast/Cargo.toml b/compiler/ast/Cargo.toml index 7efefb3ad..08f29fcc9 100644 --- a/compiler/ast/Cargo.toml +++ b/compiler/ast/Cargo.toml @@ -1,8 +1,11 @@ [package] name = "rustpython-ast" -version = "0.1.0" +version = "0.2.0" +description = "AST definitions for RustPython" authors = ["RustPython Team"] edition = "2021" +repository = "https://github.com/RustPython/RustPython" +license = "MIT" [features] default = ["constant-optimization", "fold"] @@ -12,5 +15,5 @@ unparse = ["rustpython-common"] [dependencies] num-bigint = "0.4.3" -rustpython-compiler-core = { path = "../core" } -rustpython-common = { path = "../../common", optional = true } +rustpython-compiler-core = { path = "../core", version = "0.2.0" } +rustpython-common = { path = "../../common", version = "0.2.0", optional = true } diff --git a/compiler/codegen/Cargo.toml b/compiler/codegen/Cargo.toml index 253d976c3..4265e4b23 100644 --- a/compiler/codegen/Cargo.toml +++ b/compiler/codegen/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "rustpython-codegen" -version = "0.1.2" +version = "0.2.0" description = "Compiler for python code into bytecode for the rustpython VM." authors = ["RustPython Team"] repository = "https://github.com/RustPython/RustPython" @@ -9,7 +9,7 @@ edition = "2021" [dependencies] rustpython-ast = { path = "../ast", features = ["unparse"] } -rustpython-compiler-core = { path = "../core", version = "0.1.1" } +rustpython-compiler-core = { path = "../core", version = "0.2.0" } ahash = "0.7.6" bitflags = "1.3.2" diff --git a/compiler/core/Cargo.toml b/compiler/core/Cargo.toml index 65be384f1..a3dd82bb9 100644 --- a/compiler/core/Cargo.toml +++ b/compiler/core/Cargo.toml @@ -1,7 +1,7 @@ [package] name = "rustpython-compiler-core" description = "RustPython specific bytecode." -version = "0.1.2" +version = "0.2.0" authors = ["RustPython Team"] edition = "2021" repository = "https://github.com/RustPython/RustPython" diff --git a/compiler/parser/Cargo.toml b/compiler/parser/Cargo.toml index e3ce5a39b..472e309be 100644 --- a/compiler/parser/Cargo.toml +++ b/compiler/parser/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "rustpython-parser" -version = "0.1.2" +version = "0.2.0" description = "Parser for python code." authors = ["RustPython Team"] build = "build.rs" @@ -18,8 +18,8 @@ phf_codegen = "0.10" tiny-keccak = { version = "2", features = ["sha3"] } [dependencies] -rustpython-ast = { path = "../ast" } -rustpython-compiler-core = { path = "../core" } +rustpython-ast = { path = "../ast", version = "0.2.0" } +rustpython-compiler-core = { path = "../core", version = "0.2.0" } ahash = "0.7.6" itertools = "0.10.3" diff --git a/derive-impl/Cargo.toml b/derive-impl/Cargo.toml index 3ecfc54cc..2f1d936a5 100644 --- a/derive-impl/Cargo.toml +++ b/derive-impl/Cargo.toml @@ -1,10 +1,10 @@ [package] name = "rustpython-derive-impl" -version = "0.0.0" +version = "0.2.0" edition = "2021" [dependencies] -rustpython-compiler-core = { path = "../compiler/core", version = "0.1.1" } +rustpython-compiler-core = { path = "../compiler/core", version = "0.2.0" } rustpython-doc = { git = "https://github.com/RustPython/__doc__", branch = "main" } indexmap = "1.8.1" diff --git a/derive/Cargo.toml b/derive/Cargo.toml index 472e03d68..3548bcf8b 100644 --- a/derive/Cargo.toml +++ b/derive/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "rustpython-derive" -version = "0.1.2" +version = "0.2.0" description = "Rust language extensions and macros specific to rustpython." authors = ["RustPython Team"] repository = "https://github.com/RustPython/RustPython" @@ -11,6 +11,6 @@ edition = "2021" proc-macro = true [dependencies] -rustpython-compiler = { path = "../compiler", version = "0.1.1" } +rustpython-compiler = { path = "../compiler", version = "0.2.0" } rustpython-derive-impl = { path = "../derive-impl" } syn = "1.0.91" diff --git a/jit/Cargo.toml b/jit/Cargo.toml index efe3dd8de..c04266a3b 100644 --- a/jit/Cargo.toml +++ b/jit/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "rustpython-jit" -version = "0.1.2" +version = "0.2.0" description = "Experimental JIT(just in time) compiler for python code." authors = ["RustPython Team"] repository = "https://github.com/RustPython/RustPython" @@ -10,7 +10,7 @@ edition = "2021" autotests = false [dependencies] -rustpython-compiler-core = { path = "../compiler/core", version = "0.1.2" } +rustpython-compiler-core = { path = "../compiler/core", version = "0.2.0" } cranelift = "0.88.0" cranelift-jit = "0.88.0" @@ -20,7 +20,7 @@ num-traits = "0.2" thiserror = "1.0" [dev-dependencies] -rustpython-derive = { path = "../derive", version = "0.1.2" } +rustpython-derive = { path = "../derive", version = "0.2.0" } approx = "0.5.1" diff --git a/pylib/Cargo.toml b/pylib/Cargo.toml index a535f2092..ce08e1ebe 100644 --- a/pylib/Cargo.toml +++ b/pylib/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "rustpython-pylib" -version = "0.1.0" +version = "0.2.0" authors = ["RustPython Team"] description = "A subset of the Python standard library for use with RustPython" repository = "https://github.com/RustPython/RustPython" @@ -12,8 +12,8 @@ include = ["Cargo.toml", "src/**/*.rs", "Lib/", "!Lib/**/test/", "!Lib/**/*.pyc" freeze-stdlib = [] [dependencies] -rustpython-compiler-core = { version = "0.1.2", path = "../compiler/core" } -rustpython-derive = { version = "0.1.2", path = "../derive" } +rustpython-compiler-core = { version = "0.2.0", path = "../compiler/core" } +rustpython-derive = { version = "0.2.0", path = "../derive" } [build-dependencies] glob = "0.3" diff --git a/stdlib/Cargo.toml b/stdlib/Cargo.toml index eef401de7..816494960 100644 --- a/stdlib/Cargo.toml +++ b/stdlib/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "rustpython-stdlib" -version = "0.1.2" +version = "0.2.0" edition = "2021" # See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html diff --git a/vm/Cargo.toml b/vm/Cargo.toml index e84739db3..437d2d77c 100644 --- a/vm/Cargo.toml +++ b/vm/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "rustpython-vm" -version = "0.1.2" +version = "0.2.0" description = "Rust Python virtual machine." authors = ["RustPython Team"] repository = "https://github.com/RustPython/RustPython" @@ -23,14 +23,14 @@ codegen = ["rustpython-codegen", "ast"] parser = ["rustpython-parser", "ast"] [dependencies] -rustpython-compiler = { path = "../compiler", optional = true, version = "0.1.2" } -rustpython-ast = { path = "../compiler/ast", optional = true, version = "0.1" } -rustpython-parser = { path = "../compiler/parser", optional = true, version = "0.1.2" } -rustpython-codegen = { path = "../compiler/codegen", optional = true, version = "0.1.2" } -rustpython-compiler-core = { path = "../compiler/core", version = "0.1.2" } +rustpython-compiler = { path = "../compiler", optional = true, version = "0.2.0" } +rustpython-ast = { path = "../compiler/ast", optional = true, version = "0.2.0" } +rustpython-parser = { path = "../compiler/parser", optional = true, version = "0.2.0" } +rustpython-codegen = { path = "../compiler/codegen", optional = true, version = "0.2.0" } +rustpython-compiler-core = { path = "../compiler/core", version = "0.2.0" } rustpython-common = { path = "../common" } -rustpython-derive = { path = "../derive", version = "0.1.2" } -rustpython-jit = { path = "../jit", optional = true, version = "0.1.2" } +rustpython-derive = { path = "../derive", version = "0.2.0" } +rustpython-jit = { path = "../jit", optional = true, version = "0.2.0" } num-complex = { version = "0.4.0", features = ["serde"] } num-bigint = { version = "0.4.3", features = ["serde"] } diff --git a/wapm.toml b/wapm.toml index 083cd2360..c8aabc9cc 100644 --- a/wapm.toml +++ b/wapm.toml @@ -1,6 +1,6 @@ [package] name = "rustpython" -version = "0.1.3" +version = "0.2.0" description = "A Python-3 (CPython >= 3.5.0) Interpreter written in Rust 🐍 😱 🤘" license-file = "LICENSE" readme = "README.md" diff --git a/wasm/lib/Cargo.toml b/wasm/lib/Cargo.toml index b468e3b24..cf77cd1d0 100644 --- a/wasm/lib/Cargo.toml +++ b/wasm/lib/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "rustpython_wasm" -version = "0.1.2" +version = "0.2.0" authors = ["RustPython Team"] license = "MIT" description = "A Python-3 (CPython >= 3.5.0) Interpreter written in Rust, compiled to WASM"