Merge pull request #2542 from RustPython/sre-cratesio

Switch to sre-engine from crates.io
This commit is contained in:
Jeong YunWon
2021-04-15 02:53:37 +09:00
committed by GitHub
3 changed files with 4 additions and 3 deletions

3
Cargo.lock generated
View File

@@ -2335,7 +2335,8 @@ dependencies = [
[[package]]
name = "sre-engine"
version = "0.1.0"
source = "git+https://github.com/RustPython/sre-engine#65c477414b2db1caa84a404b35704d1c5e9d0c75"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "405ac93b72ef1cc68dbbe9e990f6e8067856dae41f58b60fd6bd55d216c1fa6c"
dependencies = [
"bitflags",
"num_enum",

View File

@@ -220,7 +220,7 @@ if __name__ == "__main__":
f.write(f"""\
#[derive(num_enum::TryFromPrimitive, Debug)]
#[repr({int_t})]
#[allow(non_camel_case_types)]
#[allow(non_camel_case_types, clippy::upper_case_acronyms)]
pub enum {typ} {{
""")
for item in items:

View File

@@ -93,7 +93,7 @@ libz-sys = { version = "1.0", optional = true }
# RustPython crates implementing functionality based on CPython
mt19937 = "2.0"
sre-engine = { git = "https://github.com/RustPython/sre-engine" }
sre-engine = "0.1.0"
# to work on sre-engine locally
# sre-engine = { path = "../../sre-engine" }