Skip to content

Commit

Permalink
feat: Crates.io update
Browse files Browse the repository at this point in the history
  • Loading branch information
1101-1 committed Jul 27, 2023
1 parent dc6a96c commit 2f1bfc1
Show file tree
Hide file tree
Showing 4 changed files with 42 additions and 9 deletions.
25 changes: 22 additions & 3 deletions Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,14 +1,33 @@
[package]
name = "chrome_cookie_decryptor"
version = "0.1.0"
name = "cdd"
version = "0.1.2"
edition = "2021"

authors = ["Kirill Melkozerov <[email protected]>"]
license = "MIT"
repository = "https://github.com/1101-1/chrome_cookie_decryptor"

description = """
A windows simple, fast chrome_cookie_decryptor
"""

readme = "README.md"
categories = ["concurrency", "asynchronous"]
keywords = ["chrome", "cookie", "description", "decryptor"]


[profile.release]
opt-level = 'z'
lto = true
codegen-units = 1
panic = 'abort'


[[bin]]
name = "cdd"
path = "src/lib.rs"


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

[dependencies]
Expand All @@ -18,4 +37,4 @@ serde_json = "1.0.96"
base64 = "0.21.2"
winapi = { version = "0.3.6", features = ["wingdi", "winnt", "winuser", "dpapi", "winbase"] }
aes-gcm = "0.10.2"
tokio = { version = "1.28.2", features = ["rt", "io-util", "io-std", "macros", "fs", "sync", "rt-multi-thread"] }
tokio = { version = "1.28.2", features = ["rt", "io-util", "io-std", "macros", "fs", "sync", "rt-multi-thread"] }
17 changes: 13 additions & 4 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,9 +1,18 @@
# Chrome Cookie Decryptor
# Chrome Cookie Decryptor(CDD)
## Features
1. Very fast
2. Easy to work
3. Free
4. Only on Windows
4. Only on Windows!!!

## Where to install?
Check [RELEASES](https://github.com/1101-1/chrome_cookie_decryptor/releases/)
## How to install?
In your cmd write `cargo install cdd`

## How to use?

```bash
cdd <path>[OPTIONAL]
```

### `IMPORTANT`
if path is empty, it saved in folder where you run program.
9 changes: 7 additions & 2 deletions src/main.rs → src/lib.rs
Original file line number Diff line number Diff line change
@@ -1,17 +1,22 @@
#[cfg(windows)]
use std::{env::args, io::ErrorKind, path::Path};

#[cfg(windows)]
use cookie::{get_raw_cookies::take_cookies_from_db, handle_raw_cookie::handle_chrome_cookies};

#[cfg(windows)]
use tokio::io;

#[cfg(windows)]
mod cookie;
#[cfg(windows)]
mod encrypted_key;
#[cfg(windows)]
mod marco;

#[cfg(not(windows))]
fn main() {
//* Only windows supported */
fn main() -> Result<(), Box<dyn std::error::Error>> {
Err("Platform does not supported. Only windows".into())
}

#[cfg(windows)]
Expand Down
File renamed without changes.

0 comments on commit 2f1bfc1

Please sign in to comment.