Skip to content

Commit

Permalink
more tweaks in prep for publishing
Browse files Browse the repository at this point in the history
  • Loading branch information
gnmerritt committed Jun 10, 2018
1 parent e707ba2 commit 7cee795
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 3 deletions.
4 changes: 3 additions & 1 deletion Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -3,14 +3,16 @@ name = "etf_balancer"
description = "Balance a portfolio of ETFs across multiple accounts"
readme = "README.md"
repository = "https://github.com/gnmerritt/etf-balancer"
travis-ci = { repository = "gnmerritt/etf-balancer", branch = "master" }
license = "MIT"
version = "1.0.0"
authors = ["Nathan Merritt <[email protected]>"]
exclude = [
"spreadsheet/*"
]

[badges]
travis-ci = { repository = "gnmerritt/etf-balancer", branch = "master" }

[dependencies]
actix-web = "0.6.10"
cute = "0.3.0"
Expand Down
4 changes: 2 additions & 2 deletions src/accounts/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -87,14 +87,14 @@ impl Account {
}

#[derive(Debug, PartialEq, Serialize, Deserialize)]
struct Investment {
pub struct Investment {
symbol: String,
price: f32,
div_yield: Option<f32>
}

impl Investment {
fn new(symbol: &str, price: f32) -> Investment {
pub fn new(symbol: &str, price: f32) -> Investment {
Investment {
symbol: symbol.to_owned(), price, div_yield: None
}
Expand Down
Empty file removed src/vanguard.rs
Empty file.

0 comments on commit 7cee795

Please sign in to comment.