tisonkun opened a new pull request, #374:
URL: https://github.com/apache/datasketches-rust/pull/374

   ## Summary
   
   Moves runnable examples out of the `datasketches` crate directory into a 
top-level `examples` workspace crate with `publish = false`.
   
   ## Motivation
   
   - Keeps example source files and guidance (`examples/AGENTS.md`) out of the 
published `datasketches` package archive on crates.io without relying on 
`package.exclude` filters.
   - Enables all sketch features once in `examples/Cargo.toml` instead of 
repeating per-example `required-features` metadata in `datasketches/Cargo.toml`.
   - Preserves workspace lint, format, clippy, and MSRV compilation coverage 
for examples alongside `benchmarks` and `tests-integration`.
   
   ## Changes
   
   - Add `examples/Cargo.toml` (`publish = false`) and register `"examples"` in 
the root `Cargo.toml` workspace members and `Cargo.lock`.
   - Move `datasketches/examples/bloom_difference.rs` to 
`examples/src/bloom_difference.rs` and `datasketches/examples/AGENTS.md` to 
`examples/AGENTS.md`.
   - Remove the `[[example]]` target from `datasketches/Cargo.toml` and update 
links/guidance in `README.md` and `examples/AGENTS.md`.
   
   ## Verification
   
   - Verified `cargo update -w --locked --verbose`, `cargo x lint`, `cargo x 
check`, `cargo x test`, and `cargo +1.86.0 check --workspace --all-targets`.
   - Ran `cargo run --package examples --example bloom_difference`.
   - Verified `cargo package --list --locked -p datasketches` includes no 
`examples/` entries.
   


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to