Skip to content

Commit 2919df1

Browse files
committed
Mark rust-version 1.78
1 parent a2df2f0 commit 2919df1

File tree

13 files changed

+164
-143
lines changed

13 files changed

+164
-143
lines changed

Cargo.toml

Lines changed: 93 additions & 85 deletions
Original file line numberDiff line numberDiff line change
@@ -1,92 +1,13 @@
11
[package]
22
name = "rustpython"
3-
version = "0.4.0"
4-
authors = ["RustPython Team"]
5-
edition = "2021"
6-
rust-version = "1.75.0"
73
description = "A python interpreter written in rust."
8-
repository = "https://github.com/RustPython/RustPython"
9-
license = "MIT"
104
include = ["LICENSE", "Cargo.toml", "src/**/*.rs"]
11-
12-
[workspace]
13-
resolver = "2"
14-
members = [
15-
"compiler", "compiler/core", "compiler/codegen",
16-
".", "common", "derive", "jit", "vm", "vm/sre_engine", "pylib", "stdlib", "wasm/lib", "derive-impl",
17-
]
18-
19-
[workspace.dependencies]
20-
rustpython-compiler-core = { path = "compiler/core", version = "0.4.0" }
21-
rustpython-compiler = { path = "compiler", version = "0.4.0" }
22-
rustpython-codegen = { path = "compiler/codegen", version = "0.4.0" }
23-
rustpython-common = { path = "common", version = "0.4.0" }
24-
rustpython-derive = { path = "derive", version = "0.4.0" }
25-
rustpython-derive-impl = { path = "derive-impl", version = "0.4.0" }
26-
rustpython-jit = { path = "jit", version = "0.4.0" }
27-
rustpython-vm = { path = "vm", default-features = false, version = "0.4.0" }
28-
rustpython-pylib = { path = "pylib", version = "0.4.0" }
29-
rustpython-stdlib = { path = "stdlib", default-features = false, version = "0.4.0" }
30-
rustpython-sre_engine = { path = "vm/sre_engine", version = "0.4.0" }
31-
rustpython-doc = { git = "https://github.com/RustPython/__doc__", tag = "0.3.0", version = "0.3.0" }
32-
33-
rustpython-literal = { version = "0.4.0" }
34-
rustpython-parser-core = { version = "0.4.0" }
35-
rustpython-parser = { version = "0.4.0" }
36-
rustpython-ast = { version = "0.4.0" }
37-
rustpython-format= { version = "0.4.0" }
38-
# rustpython-literal = { git = "https://github.com/RustPython/Parser.git", version = "0.4.0", rev = "00d2f1d1a7522ef9c85c10dfa5f0bb7178dee655" }
39-
# rustpython-parser-core = { git = "https://github.com/RustPython/Parser.git", version = "0.4.0", rev = "00d2f1d1a7522ef9c85c10dfa5f0bb7178dee655" }
40-
# rustpython-parser = { git = "https://github.com/RustPython/Parser.git", version = "0.4.0", rev = "00d2f1d1a7522ef9c85c10dfa5f0bb7178dee655" }
41-
# rustpython-ast = { git = "https://github.com/RustPython/Parser.git", version = "0.4.0", rev = "00d2f1d1a7522ef9c85c10dfa5f0bb7178dee655" }
42-
# rustpython-format = { git = "https://github.com/RustPython/Parser.git", version = "0.4.0", rev = "00d2f1d1a7522ef9c85c10dfa5f0bb7178dee655" }
43-
# rustpython-literal = { path = "../RustPython-parser/literal" }
44-
# rustpython-parser-core = { path = "../RustPython-parser/core" }
45-
# rustpython-parser = { path = "../RustPython-parser/parser" }
46-
# rustpython-ast = { path = "../RustPython-parser/ast" }
47-
# rustpython-format = { path = "../RustPython-parser/format" }
48-
49-
ahash = "0.8.11"
50-
ascii = "1.0"
51-
atty = "0.2.14"
52-
bitflags = "2.4.1"
53-
bstr = "0.2.17"
54-
cfg-if = "1.0"
55-
chrono = "0.4.37"
56-
crossbeam-utils = "0.8.19"
57-
flame = "0.2.2"
58-
glob = "0.3"
59-
hex = "0.4.3"
60-
indexmap = { version = "2.2.6", features = ["std"] }
61-
insta = "1.38.0"
62-
itertools = "0.11.0"
63-
is-macro = "0.3.0"
64-
junction = "1.0.0"
65-
libc = "0.2.153"
66-
log = "0.4.16"
67-
nix = { version = "0.27", features = ["fs", "user", "process", "term", "time", "signal", "ioctl", "socket", "sched", "zerocopy", "dir", "hostname", "net", "poll"] }
68-
malachite-bigint = "0.2.0"
69-
malachite-q = "0.4.4"
70-
malachite-base = "0.4.4"
71-
memchr = "2.7.2"
72-
num-complex = "0.4.0"
73-
num-integer = "0.1.44"
74-
num-traits = "0.2"
75-
num_enum = "0.7"
76-
once_cell = "1.19.0"
77-
parking_lot = "0.12.1"
78-
paste = "1.0.7"
79-
rand = "0.8.5"
80-
rustyline = "14.0.0"
81-
serde = { version = "1.0.133", default-features = false }
82-
schannel = "0.1.22"
83-
static_assertions = "1.1"
84-
syn = "1.0.109"
85-
thiserror = "1.0"
86-
thread_local = "1.1.4"
87-
unicode_names2 = "1.2.0"
88-
widestring = "1.1.0"
89-
windows-sys = "0.52.0"
5+
version.workspace = true
6+
authors.workspace = true
7+
edition.workspace = true
8+
rust-version.workspace = true
9+
repository.workspace = true
10+
license.workspace = true
9011

9112
[features]
9213
default = ["threading", "stdlib", "zlib", "importlib"]
@@ -171,6 +92,93 @@ rev = "2024.02.14"
17192
[package.metadata.vcpkg.target]
17293
x86_64-pc-windows-msvc = { triplet = "x64-windows-static-md", dev-dependencies = ["openssl" ] }
17394

95+
[workspace]
96+
resolver = "2"
97+
members = [
98+
"compiler", "compiler/core", "compiler/codegen",
99+
".", "common", "derive", "jit", "vm", "vm/sre_engine", "pylib", "stdlib", "wasm/lib", "derive-impl",
100+
]
101+
102+
[workspace.package]
103+
version = "0.4.0"
104+
authors = ["RustPython Team"]
105+
edition = "2021"
106+
rust-version = "1.78.0"
107+
repository = "https://github.com/RustPython/RustPython"
108+
license = "MIT"
109+
110+
[workspace.dependencies]
111+
rustpython-compiler-core = { path = "compiler/core", version = "0.4.0" }
112+
rustpython-compiler = { path = "compiler", version = "0.4.0" }
113+
rustpython-codegen = { path = "compiler/codegen", version = "0.4.0" }
114+
rustpython-common = { path = "common", version = "0.4.0" }
115+
rustpython-derive = { path = "derive", version = "0.4.0" }
116+
rustpython-derive-impl = { path = "derive-impl", version = "0.4.0" }
117+
rustpython-jit = { path = "jit", version = "0.4.0" }
118+
rustpython-vm = { path = "vm", default-features = false, version = "0.4.0" }
119+
rustpython-pylib = { path = "pylib", version = "0.4.0" }
120+
rustpython-stdlib = { path = "stdlib", default-features = false, version = "0.4.0" }
121+
rustpython-sre_engine = { path = "vm/sre_engine", version = "0.4.0" }
122+
rustpython-doc = { git = "https://github.com/RustPython/__doc__", tag = "0.3.0", version = "0.3.0" }
123+
124+
rustpython-literal = { version = "0.4.0" }
125+
rustpython-parser-core = { version = "0.4.0" }
126+
rustpython-parser = { version = "0.4.0" }
127+
rustpython-ast = { version = "0.4.0" }
128+
rustpython-format= { version = "0.4.0" }
129+
# rustpython-literal = { git = "https://github.com/RustPython/Parser.git", version = "0.4.0", rev = "00d2f1d1a7522ef9c85c10dfa5f0bb7178dee655" }
130+
# rustpython-parser-core = { git = "https://github.com/RustPython/Parser.git", version = "0.4.0", rev = "00d2f1d1a7522ef9c85c10dfa5f0bb7178dee655" }
131+
# rustpython-parser = { git = "https://github.com/RustPython/Parser.git", version = "0.4.0", rev = "00d2f1d1a7522ef9c85c10dfa5f0bb7178dee655" }
132+
# rustpython-ast = { git = "https://github.com/RustPython/Parser.git", version = "0.4.0", rev = "00d2f1d1a7522ef9c85c10dfa5f0bb7178dee655" }
133+
# rustpython-format = { git = "https://github.com/RustPython/Parser.git", version = "0.4.0", rev = "00d2f1d1a7522ef9c85c10dfa5f0bb7178dee655" }
134+
# rustpython-literal = { path = "../RustPython-parser/literal" }
135+
# rustpython-parser-core = { path = "../RustPython-parser/core" }
136+
# rustpython-parser = { path = "../RustPython-parser/parser" }
137+
# rustpython-ast = { path = "../RustPython-parser/ast" }
138+
# rustpython-format = { path = "../RustPython-parser/format" }
139+
140+
ahash = "0.8.11"
141+
ascii = "1.0"
142+
atty = "0.2.14"
143+
bitflags = "2.4.1"
144+
bstr = "0.2.17"
145+
cfg-if = "1.0"
146+
chrono = "0.4.37"
147+
crossbeam-utils = "0.8.19"
148+
flame = "0.2.2"
149+
glob = "0.3"
150+
hex = "0.4.3"
151+
indexmap = { version = "2.2.6", features = ["std"] }
152+
insta = "1.38.0"
153+
itertools = "0.11.0"
154+
is-macro = "0.3.0"
155+
junction = "1.0.0"
156+
libc = "0.2.153"
157+
log = "0.4.16"
158+
nix = { version = "0.27", features = ["fs", "user", "process", "term", "time", "signal", "ioctl", "socket", "sched", "zerocopy", "dir", "hostname", "net", "poll"] }
159+
malachite-bigint = "0.2.0"
160+
malachite-q = "0.4.4"
161+
malachite-base = "0.4.4"
162+
memchr = "2.7.2"
163+
num-complex = "0.4.0"
164+
num-integer = "0.1.44"
165+
num-traits = "0.2"
166+
num_enum = "0.7"
167+
once_cell = "1.19.0"
168+
parking_lot = "0.12.1"
169+
paste = "1.0.7"
170+
rand = "0.8.5"
171+
rustyline = "14.0.0"
172+
serde = { version = "1.0.133", default-features = false }
173+
schannel = "0.1.22"
174+
static_assertions = "1.1"
175+
syn = "1.0.109"
176+
thiserror = "1.0"
177+
thread_local = "1.1.4"
178+
unicode_names2 = "1.2.0"
179+
widestring = "1.1.0"
180+
windows-sys = "0.52.0"
181+
174182
# Lints
175183

176184
[workspace.lints.rust]

common/Cargo.toml

Lines changed: 6 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,12 @@
11
[package]
22
name = "rustpython-common"
3-
version = "0.4.0"
43
description = "General python functions and algorithms for use in RustPython"
5-
authors = ["RustPython Team"]
6-
edition = "2021"
7-
repository = "https://github.com/RustPython/RustPython"
8-
license = "MIT"
4+
version.workspace = true
5+
authors.workspace = true
6+
edition.workspace = true
7+
rust-version.workspace = true
8+
repository.workspace = true
9+
license.workspace = true
910

1011
[features]
1112
threading = ["parking_lot"]

compiler/Cargo.toml

Lines changed: 6 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,12 @@
11
[package]
22
name = "rustpython-compiler"
3-
version = "0.4.0"
43
description = "A usability wrapper around rustpython-parser and rustpython-compiler-core"
5-
authors = ["RustPython Team"]
6-
repository = "https://github.com/RustPython/RustPython"
7-
license = "MIT"
8-
edition = "2021"
4+
version.workspace = true
5+
authors.workspace = true
6+
edition.workspace = true
7+
rust-version.workspace = true
8+
repository.workspace = true
9+
license.workspace = true
910

1011
[dependencies]
1112
rustpython-codegen = { workspace = true }

compiler/codegen/Cargo.toml

Lines changed: 7 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,13 @@
11
[package]
22
name = "rustpython-codegen"
3-
version = "0.4.0"
43
description = "Compiler for python code into bytecode for the rustpython VM."
5-
authors = ["RustPython Team"]
6-
repository = "https://github.com/RustPython/RustPython"
7-
license = "MIT"
8-
edition = "2021"
4+
version.workspace = true
5+
authors.workspace = true
6+
edition.workspace = true
7+
rust-version.workspace = true
8+
repository.workspace = true
9+
license.workspace = true
10+
911

1012
[dependencies]
1113
rustpython-ast = { workspace = true, features=["unparse", "constant-optimization"] }

compiler/core/Cargo.toml

Lines changed: 6 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,12 @@
11
[package]
22
name = "rustpython-compiler-core"
33
description = "RustPython specific bytecode."
4-
version = "0.4.0"
5-
authors = ["RustPython Team"]
6-
edition = "2021"
7-
repository = "https://github.com/RustPython/RustPython"
8-
license = "MIT"
4+
version.workspace = true
5+
authors.workspace = true
6+
edition.workspace = true
7+
rust-version.workspace = true
8+
repository.workspace = true
9+
license.workspace = true
910

1011
[dependencies]
1112
rustpython-parser-core = { workspace = true, features=["location"] }

derive-impl/Cargo.toml

Lines changed: 6 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,12 @@
11
[package]
22
name = "rustpython-derive-impl"
3-
version = "0.4.0"
43
description = "Rust language extensions and macros specific to rustpython."
5-
authors = ["RustPython Team"]
6-
repository = "https://github.com/RustPython/RustPython"
7-
license = "MIT"
8-
edition = "2021"
4+
version.workspace = true
5+
authors.workspace = true
6+
edition.workspace = true
7+
rust-version.workspace = true
8+
repository.workspace = true
9+
license.workspace = true
910

1011
[dependencies]
1112
rustpython-compiler-core = { workspace = true }

derive/Cargo.toml

Lines changed: 6 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,12 @@
11
[package]
22
name = "rustpython-derive"
3-
version = "0.4.0"
43
description = "Rust language extensions and macros specific to rustpython."
5-
authors = ["RustPython Team"]
6-
repository = "https://github.com/RustPython/RustPython"
7-
license = "MIT"
8-
edition = "2021"
4+
version.workspace = true
5+
authors.workspace = true
6+
edition.workspace = true
7+
rust-version.workspace = true
8+
repository.workspace = true
9+
license.workspace = true
910

1011
[lib]
1112
proc-macro = true

jit/Cargo.toml

Lines changed: 6 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,12 @@
11
[package]
22
name = "rustpython-jit"
3-
version = "0.4.0"
43
description = "Experimental JIT(just in time) compiler for python code."
5-
authors = ["RustPython Team"]
6-
repository = "https://github.com/RustPython/RustPython"
7-
license = "MIT"
8-
edition = "2021"
4+
version.workspace = true
5+
authors.workspace = true
6+
edition.workspace = true
7+
rust-version.workspace = true
8+
repository.workspace = true
9+
license.workspace = true
910

1011
autotests = false
1112

pylib/Cargo.toml

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,13 @@
11
[package]
22
name = "rustpython-pylib"
3-
version = "0.4.0"
4-
authors = ["RustPython Team"]
53
description = "A subset of the Python standard library for use with RustPython"
6-
repository = "https://github.com/RustPython/RustPython"
74
license-file = "Lib/PSF-LICENSE"
8-
edition = "2021"
95
include = ["Cargo.toml", "src/**/*.rs", "Lib/", "!Lib/**/test/", "!Lib/**/*.pyc"]
6+
authors = ["CPython Developers"]
7+
version.workspace = true
8+
edition.workspace = true
9+
rust-version.workspace = true
10+
repository.workspace = true
1011

1112
[features]
1213
freeze-stdlib = []

stdlib/Cargo.toml

Lines changed: 6 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,12 @@
11
[package]
22
name = "rustpython-stdlib"
3-
version = "0.4.0"
43
description = "RustPython standard libraries in Rust."
5-
authors = ["RustPython Team"]
6-
repository = "https://github.com/RustPython/RustPython"
7-
license = "MIT"
8-
edition = "2021"
4+
version.workspace = true
5+
authors.workspace = true
6+
edition.workspace = true
7+
rust-version.workspace = true
8+
repository.workspace = true
9+
license.workspace = true
910

1011
# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html
1112

vm/Cargo.toml

Lines changed: 6 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,13 @@
11
[package]
22
name = "rustpython-vm"
3-
version = "0.4.0"
43
description = "RustPython virtual machine."
5-
authors = ["RustPython Team"]
6-
repository = "https://github.com/RustPython/RustPython"
7-
license = "MIT"
8-
edition = "2021"
94
include = ["src/**/*.rs", "Cargo.toml", "build.rs", "Lib/**/*.py"]
5+
version.workspace = true
6+
authors.workspace = true
7+
edition.workspace = true
8+
rust-version.workspace = true
9+
repository.workspace = true
10+
license.workspace = true
1011

1112
[features]
1213
default = ["compiler"]

vm/sre_engine/Cargo.toml

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,14 @@
11
[package]
22
name = "rustpython-sre_engine"
3-
version = "0.4.0"
43
authors = ["Kangzhi Shi <shikangzhi@gmail.com>", "RustPython Team"]
54
description = "A low-level implementation of Python's SRE regex engine"
6-
repository = "https://github.com/RustPython/RustPython"
7-
license = "MIT"
8-
edition = "2021"
95
keywords = ["regex"]
106
include = ["LICENSE", "src/**/*.rs"]
7+
version.workspace = true
8+
edition.workspace = true
9+
rust-version.workspace = true
10+
repository.workspace = true
11+
license.workspace = true
1112

1213
[dependencies]
1314
num_enum = { workspace = true }

0 commit comments

Comments
 (0)