Skip to content

Commit e0eb384

Browse files
committed
chore: Chage Cargo.toml
1 parent bbbc795 commit e0eb384

File tree

3 files changed

+19
-2
lines changed

3 files changed

+19
-2
lines changed

.gitignore

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
11
/target
22
.env
3-
Cargo.lock
3+
Cargo.lock
4+
src/main.rs

Cargo.toml

Lines changed: 15 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,14 +1,28 @@
11
[package]
22
name = "leetcoderustapi"
33
version = "0.1.0"
4+
authors = ["Kirill Melkozerov <k.melkozerov@gmail.com>"]
45
edition = "2021"
6+
license = "MIT"
7+
repository = "https://github.com/1101-1/LeetcodeRustAPI"
8+
9+
description = """
10+
A full-features Rust API for Leetcode.
11+
"""
12+
13+
categories = ["http-client"]
14+
keywords = ["leetcode", "api"]
515

616
[lib]
717
name = "leetcoderustapi"
818
path = "src/lib.rs"
919

20+
[[bin]]
21+
name = "test"
22+
path = "src/main.rs"
23+
1024
[dependencies]
1125
reqwest = { version = "0.11.18", features = ["json"] }
1226
serde = { version = "1.0.164", features = ["derive"] }
1327
serde_json = "1.0.99"
14-
tokio = { version = "1.29.1", features = ["full"] }
28+
tokio = { version = "1.29.1", features = ["time", "full"] }

README.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -99,7 +99,9 @@ Replace `"COOKIE"` with your actual LeetCode authentication cookie.
9999

100100
For example format in `.env` file:
101101

102+
```env
102103
COOKIE="csrftoken=gN3mmFEKoBFHLZuiHEvZYupqirq7brDmi845GhUK8xBa9u3SUVkgTPFTPsLFuAzR; _ga_CDRWKZTDEX=GS1.1.1688568040.1.1.1688568081.19.0.0; _ga=GA1.1.2048740381.1688568040; _dd_s=rum=0&expire=1688568980299; NEW_PROBLEMLIST_PAGE=1"
104+
```
103105

104106
### License
105107
This library is licensed under the `MIT License`.

0 commit comments

Comments
 (0)