Repository navigation
Description
Please publish the Rust crate pywhat 6.0.0-alpha.1 to crates.io. It's the library only. The Rust CLI (#305) and the Python wheel built on the crate (#304) come with 6.0.0. Publishing the alpha now lets Ciphey move from lemmeknow to this crate without waiting for them.
- Source: main at
74e7314c83097781eb6fad260156653a9cf3690f(Data licences: NOTICE for every source, MasterCard bank names removed, data behind features #303). It contains the crate (Rust port: the pywhat crate, with a golden test against Python (#291) #299), the false-positive fixes (False positives: checksum validators and the "Charset Only" tag; per-area regex files (Ciphey #1031, #1104) #300), and Data licences: NOTICE for every source, MasterCard bank names removed, data behind features #303: NOTICE, the MasterCard bank names removed, and the data behind features. The golden test against the Python package shows 0 differences. - Name:
pywhatisn't taken on crates.io (GET https://crates.io/api/v1/crates/pywhatanswered 404 at 2026-11-05T00:10Z). - Licence:
MIT AND CC-BY-SA-4.0.pywhat/Data/file_signatures.jsonis derived from Wikipedia and stays under CC BY-SA 4.0, and the package includesNOTICE(Data provenance and licences #302).
Commands, from a clean checkout
git clone https://github.com/bee-san/pyWhat.git
cd pyWhat
git checkout 74e7314c83097781eb6fad260156653a9cf3690f
cargo login # once, with a crates.io API token
cargo publish --dry-run --locked
cargo publish --lockedThe dry run
I ran it from a fresh clone at that commit, with Rust 1.99.1 (the MSRV is 1.88):
Updating crates.io index
Packaging pywhat v6.0.0-alpha.1 (…/pyWhat)
Updating crates.io index
Packaged 39 files, 1.9MiB (623.6KiB compressed)
Verifying pywhat v6.0.0-alpha.1 (…/pyWhat)
Finished `dev` profile [unoptimized] target(s) in 8.02s
Uploading pywhat v6.0.0-alpha.1 (…/pyWhat)
warning: aborting upload due to dry run
The run also printed seven warnings like "ignoring test golden as tests/golden.rs is not included in the published package", for the tests, the benches and the example. They are expected: include packages only src/, the data, LICENSE, NOTICE and README.md.
The package has 39 files. The .crate was 638,549 bytes, with sha256 83e237e5907ed1fd7f6503cc6853a8bae5f66f0db0f5fc6c9d3e8eda49320926 on my run:
.cargo_vcs_info.json Cargo.lock Cargo.toml Cargo.toml.orig LICENSE NOTICE README.md pywhat/Data/file_signatures.json pywhat/Data/mac_vendors.json pywhat/Data/phone_codes.json pywhat/Data/regex.json pywhat/Data/regexes/cloud.json pywhat/Data/regexes/crypto.json pywhat/Data/regexes/ctf.json pywhat/Data/regexes/files.json pywhat/Data/regexes/ids.json pywhat/Data/regexes/network.json pywhat/Data/regexes/social.json src/bitcoin.rs src/charclass.rs src/data.rs src/engine.rs src/files.rs src/filter.rs src/identify.rs src/json.rs src/lib.rs src/processors.rs src/ranking.rs src/unicode.rs src/validators/cloud.rs src/validators/crypto.rs src/validators/ctf.rs src/validators/files.rs src/validators/ids.rs src/validators/mod.rs src/validators/network.rs src/validators/social.rs src/wasm.rs
For users
- A pre-release has to be asked for by version:
pywhat = "6.0.0-alpha.1". The requirement"6"doesn't select pre-releases. Ciphey's text-only build usespywhat = { version = "=6.0.0-alpha.1", default-features = false, features = ["parallel"] }. That build contains no file signatures and noChildrentables (docs/rust.md, "Moving Ciphey from lemmeknow 0.8 to pywhat 6"). - docs.rs builds the documentation by itself, with the default features.
- This request doesn't include a tag or a GitHub release.
Please comment here once it's published. Ciphey's switch to the crate lands after that.
Activity