Skip to content

Publish pywhat 6.0.0-alpha.1 #307

Open

Description

@bee-san

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.

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 --locked

The 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 uses pywhat = { version = "=6.0.0-alpha.1", default-features = false, features = ["parallel"] }. That build contains no file signatures and no Children tables (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

  1. self-assigned this
    on Nov 5, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

No labels
No labels

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions