Skip to content

Commit

Permalink
Only include relevant files in release bundle
Browse files Browse the repository at this point in the history
By default Cargo includes all files in the crate directory in the
released bundle. That's not only potentially wasteful, it may also
include files that potentially have no business being included (Cargo
typically warns about potential issues, but we have seen at least one
case where that was not enough).
This change adjusts our Cargo.toml to only include relevant files in the
created release bundle.
  • Loading branch information
d-e-s-o committed Jan 12, 2021
1 parent 7b2ebce commit b403104
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 0 deletions.
1 change: 1 addition & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@ Unreleased
- Added support for listing nested orders
- Replaced usage of private `serde` API with inline code
- Bumped minimum supported Rust version to `1.44`
- Excluded unnecessary files from being contained in release bundle
- Replaced `async-tungstenite` dependency with `tokio-tungstenite`
- Removed `chrono` dependency
- Bumped `hyper` dependency to `0.14`
Expand Down
1 change: 1 addition & 0 deletions Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,7 @@ keywords = ["trading", "finance", "async", "stocks"]
description = """
A create for interacting with the Alpaca API.
"""
include = ["src/**/*", "LICENSE", "README.*", "CHANGELOG.*"]

[badges]
gitlab = { repository = "d-e-s-o/apca", branch = "master" }
Expand Down

0 comments on commit b403104

Please sign in to comment.