Browse Source

ticker-update: move into workspace member

master
Astro 2 years ago
parent
commit
b5f731aefe
  1. 26
      Cargo.lock
  2. 22
      default.nix
  3. 4
      ticker-update/Cargo.toml
  4. 0
      ticker-update/src/config.rs
  5. 0
      ticker-update/src/ics/mod.rs
  6. 0
      ticker-update/src/ics/parser.rs
  7. 0
      ticker-update/src/ics/tokenizer.rs
  8. 0
      ticker-update/src/main.rs
  9. 0
      ticker-update/src/model.rs
  10. 0
      ticker-update/src/schema.rs

26
Cargo.lock

@ -978,19 +978,6 @@ dependencies = [
"winreg 0.6.2 (registry+https://github.com/rust-lang/crates.io-index)",
]
[[package]]
name = "rust-ticker"
version = "0.1.0"
dependencies = [
"chrono 0.4.9 (registry+https://github.com/rust-lang/crates.io-index)",
"crossbeam 0.7.2 (registry+https://github.com/rust-lang/crates.io-index)",
"diesel 1.4.2 (registry+https://github.com/rust-lang/crates.io-index)",
"num_cpus 1.10.1 (registry+https://github.com/rust-lang/crates.io-index)",
"reqwest 0.9.21 (registry+https://github.com/rust-lang/crates.io-index)",
"serde 1.0.101 (registry+https://github.com/rust-lang/crates.io-index)",
"serde_yaml 0.8.11 (registry+https://github.com/rust-lang/crates.io-index)",
]
[[package]]
name = "rustc-demangle"
version = "0.1.16"
@ -1175,6 +1162,19 @@ dependencies = [
"lazy_static 1.4.0 (registry+https://github.com/rust-lang/crates.io-index)",
]
[[package]]
name = "ticker-update"
version = "0.1.0"
dependencies = [
"chrono 0.4.9 (registry+https://github.com/rust-lang/crates.io-index)",
"crossbeam 0.7.2 (registry+https://github.com/rust-lang/crates.io-index)",
"diesel 1.4.2 (registry+https://github.com/rust-lang/crates.io-index)",
"num_cpus 1.10.1 (registry+https://github.com/rust-lang/crates.io-index)",
"reqwest 0.9.21 (registry+https://github.com/rust-lang/crates.io-index)",
"serde 1.0.101 (registry+https://github.com/rust-lang/crates.io-index)",
"serde_yaml 0.8.11 (registry+https://github.com/rust-lang/crates.io-index)",
]
[[package]]
name = "time"
version = "0.1.42"

22
default.nix

@ -2,12 +2,18 @@
with pkgs;
rustPlatform.buildRustPackage {
name = "ticker";
src = ./.;
buildInputs = [
pkg-config openssl postgresql.lib
cargo rustc
];
cargoSha256 = "0igr8k46yl5a89zjymp6914faawcvqza08h6l9pcplpikhbvls42";
let
ticker-update = rustPlatform.buildRustPackage {
name = "ticker-update";
src = ./.;
buildInputs = [
pkg-config openssl postgresql.lib
cargo rustc
];
preBuild = "pushd ticker-update";
postBuild = "popd";
cargoSha256 = "0igr8k46yl5a89zjymp6914faawcvqza08h6l9pcplpikhbvls42";
};
in {
inherit ticker-update;
}

4
Cargo.toml → ticker-update/Cargo.toml

@ -1,11 +1,9 @@
[package]
name = "rust-ticker"
name = "ticker-update"
version = "0.1.0"
authors = ["Astro <astro@spaceboyz.net>"]
edition = "2018"
# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html
[dependencies]
reqwest = "~0.9"
diesel = { version = "~1", features = ["postgres", "chrono"] }

0
src/config.rs → ticker-update/src/config.rs

0
src/ics/mod.rs → ticker-update/src/ics/mod.rs

0
src/ics/parser.rs → ticker-update/src/ics/parser.rs

0
src/ics/tokenizer.rs → ticker-update/src/ics/tokenizer.rs

0
src/main.rs → ticker-update/src/main.rs

0
src/model.rs → ticker-update/src/model.rs

0
src/schema.rs → ticker-update/src/schema.rs

Loading…
Cancel
Save