Permalink
Browse files

more tweaks in prep for publishing

  • Loading branch information...
gnmerritt committed Jun 10, 2018
1 parent e707ba2 commit 7cee7956d0c5d18af43fad6a2ce5177f19a19fcc
Showing with 5 additions and 3 deletions.
  1. +3 −1 Cargo.toml
  2. +2 −2 src/accounts/mod.rs
  3. 0 src/vanguard.rs
@@ -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 <gnm@the-merritts.net>"]
exclude = [
"spreadsheet/*"
]
[badges]
travis-ci = { repository = "gnmerritt/etf-balancer", branch = "master" }
[dependencies]
actix-web = "0.6.10"
cute = "0.3.0"
@@ -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
}
No changes.

0 comments on commit 7cee795

Please sign in to comment.