Configure Cargo.toml for packaging #195
Labels
No labels
A-build
A-cli
A-core
A-design
A-edn
A-ffi
A-query
A-sdk
A-sdk-android
A-sdk-ios
A-sync
A-transact
A-views
A-vocab
P-Android
P-desktop
P-iOS
bug
correctness
dependencies
dev-ergonomics
discussion
documentation
duplicate
enhancement
enquiry
good first bug
good first issue
help wanted
hygiene
in progress
invalid
question
ready
size
speed
wontfix
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference: greg/mentat#195
Loading…
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
There are some tricky bits to this:
Firstly, we need to exclude fixtures, the CLI, and anything else that doesn't belong in
libmentat
.Secondly, we need to figure out what to do about sub-crates. We mostly use our sub-crates for build efficiency, and to allow for configurations like clients that don't include sync code, or sync systems that don't include querying. But sub-crates need to be on crates.io!
It's possible to get
cargo package
to complete without this, but doing so produces a package that doesn't include its dependencies, and sadness ensues.Perhaps it's enough to put Git URLs here instead of just paths?
Beyond this, we need to put more thought into packaging:
pub
things across module boundaries. Narrow down exports.