mirror of
https://github.com/lifegpc/pixiv_downloader.git
synced 2026-06-30 18:30:28 +08:00
Fix build scripts not build
This commit is contained in:
1
.gitignore
vendored
1
.gitignore
vendored
@@ -1,3 +1,4 @@
|
||||
/target
|
||||
/proc_macros/target
|
||||
.vscode/
|
||||
test/
|
||||
|
||||
11
Cargo.lock
generated
11
Cargo.lock
generated
@@ -1142,11 +1142,10 @@ dependencies = [
|
||||
"json",
|
||||
"lazy_static",
|
||||
"link-cplusplus",
|
||||
"quote",
|
||||
"proc_macros",
|
||||
"regex",
|
||||
"reqwest",
|
||||
"spin_on",
|
||||
"syn",
|
||||
"tokio",
|
||||
"urlparse",
|
||||
"utf16string",
|
||||
@@ -1177,6 +1176,14 @@ dependencies = [
|
||||
"unicode-xid",
|
||||
]
|
||||
|
||||
[[package]]
|
||||
name = "proc_macros"
|
||||
version = "0.0.1"
|
||||
dependencies = [
|
||||
"quote",
|
||||
"syn",
|
||||
]
|
||||
|
||||
[[package]]
|
||||
name = "quote"
|
||||
version = "1.0.15"
|
||||
|
||||
@@ -5,11 +5,6 @@ edition = "2018"
|
||||
|
||||
# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html
|
||||
|
||||
[lib]
|
||||
name = "proc_macros"
|
||||
path = "src/proc_macros.rs"
|
||||
proc-macro = true
|
||||
|
||||
[dependencies]
|
||||
atty = "0.2"
|
||||
c_fixed_string = { version = "0.2", optional = true }
|
||||
@@ -25,12 +20,11 @@ indicatif = "0.17.0-rc.10"
|
||||
int-enum = "0.4"
|
||||
json = "0.12"
|
||||
lazy_static = "1.4"
|
||||
quote = "1"
|
||||
proc_macros = { path = "proc_macros" }
|
||||
regex = "1"
|
||||
reqwest = { version = "0.11", features = ["brotli", "deflate", "gzip", "rustls-tls", "socks", "stream"] }
|
||||
RustyXML = "0.3"
|
||||
spin_on = "0.1.1"
|
||||
syn = "1"
|
||||
tokio = { version = "1.18", features = ["rt", "macros", "rt-multi-thread", "time"] }
|
||||
urlparse = "0.7"
|
||||
utf16string = { version= "0.2", optional = true }
|
||||
|
||||
15
proc_macros/Cargo.toml
Normal file
15
proc_macros/Cargo.toml
Normal file
@@ -0,0 +1,15 @@
|
||||
[package]
|
||||
name = "proc_macros"
|
||||
version = "0.0.1"
|
||||
edition = "2018"
|
||||
|
||||
# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html
|
||||
|
||||
[lib]
|
||||
name = "proc_macros"
|
||||
path = "proc_macros.rs"
|
||||
proc-macro = true
|
||||
|
||||
[dependencies]
|
||||
quote = "1"
|
||||
syn = "1"
|
||||
@@ -14,6 +14,7 @@ extern crate int_enum;
|
||||
extern crate lazy_static;
|
||||
#[cfg(all(feature = "link-cplusplus", target_env = "gnu"))]
|
||||
extern crate link_cplusplus;
|
||||
extern crate proc_macros;
|
||||
extern crate tokio;
|
||||
extern crate regex;
|
||||
extern crate reqwest;
|
||||
|
||||
Reference in New Issue
Block a user