Compare commits
No commits in common. "685281dbc4f54d6c41cefa63a847aa6cee2129b2" and "40cb9424879ee12cb221e44fd7f48707822c79ef" have entirely different histories.
685281dbc4
...
40cb942487
|
@ -1,4 +1,3 @@
|
||||||
/result
|
|
||||||
.direnv/
|
.direnv/
|
||||||
coverage/
|
coverage/
|
||||||
debug/
|
debug/
|
||||||
|
|
|
@ -1,7 +1,7 @@
|
||||||
[package]
|
[package]
|
||||||
name = "steam-rss"
|
name = "steam-rss"
|
||||||
description = "Get RSS feeds for Steam games."
|
description = "Get RSS feeds for Steam games."
|
||||||
repository = "https://github.com/Bauke/steam-rss"
|
repository = "https://git.bauke.xyz/Bauke/steam-rss"
|
||||||
license = "AGPL-3.0-or-later"
|
license = "AGPL-3.0-or-later"
|
||||||
version = "0.2.2"
|
version = "0.2.2"
|
||||||
authors = ["Bauke <me@bauke.xyz>"]
|
authors = ["Bauke <me@bauke.xyz>"]
|
||||||
|
|
|
@ -19,6 +19,10 @@ With a working [Rust and Cargo](https://www.rust-lang.org/learn/get-started) ins
|
||||||
cargo install steam-rss
|
cargo install steam-rss
|
||||||
```
|
```
|
||||||
|
|
||||||
|
### Binaries
|
||||||
|
|
||||||
|
Precompiled `x86_64-unknown-linux-gnu` binaries are available on the [Releases page](https://git.bauke.xyz/Bauke/steam-rss/releases).
|
||||||
|
|
||||||
## Usage
|
## Usage
|
||||||
|
|
||||||
```
|
```
|
||||||
|
@ -45,4 +49,4 @@ Found a problem or want to request a new feature? Email [me@bauke.xyz](mailto:me
|
||||||
|
|
||||||
## License
|
## License
|
||||||
|
|
||||||
Distributed under the [AGPL-3.0-or-later](https://spdx.org/licenses/AGPL-3.0-or-later.html) license, see [LICENSE](https://github.com/Bauke/steam-rss/blob/main/LICENSE) for more information.
|
Distributed under the [AGPL-3.0-or-later](https://spdx.org/licenses/AGPL-3.0-or-later.html) license, see [LICENSE](https://git.bauke.xyz/Bauke/steam-rss/src/branch/main/LICENSE) for more information.
|
||||||
|
|
17
default.nix
17
default.nix
|
@ -1,17 +0,0 @@
|
||||||
{ lib, rustPlatform }:
|
|
||||||
|
|
||||||
rustPlatform.buildRustPackage rec {
|
|
||||||
pname = "steam-rss";
|
|
||||||
version = "0.2.2";
|
|
||||||
src = ./.;
|
|
||||||
cargoLock.lockFile = ./Cargo.lock;
|
|
||||||
|
|
||||||
meta = with lib; {
|
|
||||||
description = "Get RSS feeds for Steam games";
|
|
||||||
homepage = "https://github.com/Bauke/steam-rss";
|
|
||||||
changelog = "https://github.com/Bauke/steam-rss/releases/tag/${version}";
|
|
||||||
license = with licenses; [ agpl3Plus ];
|
|
||||||
maintainers = with maintainers; [ Bauke ];
|
|
||||||
mainProgram = "steam-rss";
|
|
||||||
};
|
|
||||||
}
|
|
12
flake.nix
12
flake.nix
|
@ -4,22 +4,14 @@
|
||||||
rust-overlay.url = "github:oxalica/rust-overlay";
|
rust-overlay.url = "github:oxalica/rust-overlay";
|
||||||
};
|
};
|
||||||
|
|
||||||
outputs =
|
outputs = { self, nixpkgs, flake-utils, rust-overlay }:
|
||||||
{
|
flake-utils.lib.eachDefaultSystem (system:
|
||||||
self,
|
|
||||||
nixpkgs,
|
|
||||||
flake-utils,
|
|
||||||
rust-overlay,
|
|
||||||
}:
|
|
||||||
flake-utils.lib.eachDefaultSystem (
|
|
||||||
system:
|
|
||||||
let
|
let
|
||||||
overlays = [ (import rust-overlay) ];
|
overlays = [ (import rust-overlay) ];
|
||||||
pkgs = import nixpkgs { inherit system overlays; };
|
pkgs = import nixpkgs { inherit system overlays; };
|
||||||
in
|
in
|
||||||
{
|
{
|
||||||
devShells.default = import ./shell.nix { inherit pkgs; };
|
devShells.default = import ./shell.nix { inherit pkgs; };
|
||||||
packages.default = pkgs.callPackage ./. { };
|
|
||||||
}
|
}
|
||||||
);
|
);
|
||||||
}
|
}
|
||||||
|
|
|
@ -1,3 +1,18 @@
|
||||||
|
// Copyright (C) 2022 Bauke <me@bauke.xyz>
|
||||||
|
//
|
||||||
|
// This program is free software: you can redistribute it and/or modify it under
|
||||||
|
// the terms of the GNU Affero General Public License as published by the Free
|
||||||
|
// Software Foundation, either version 3 of the License, or (at your option) any
|
||||||
|
// later version.
|
||||||
|
//
|
||||||
|
// This program is distributed in the hope that it will be useful, but WITHOUT
|
||||||
|
// ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS
|
||||||
|
// FOR A PARTICULAR PURPOSE. See the GNU Affero General Public License for more
|
||||||
|
// details.
|
||||||
|
//
|
||||||
|
// You should have received a copy of the GNU Affero General Public License
|
||||||
|
// along with this program. If not, see <https://www.gnu.org/licenses/>.
|
||||||
|
|
||||||
//! # Steam RSS
|
//! # Steam RSS
|
||||||
//!
|
//!
|
||||||
//! > **Get RSS feeds for Steam games.**
|
//! > **Get RSS feeds for Steam games.**
|
||||||
|
@ -85,7 +100,7 @@ fn main() -> Result<()> {
|
||||||
let timeout = Duration::from_millis(args.timeout);
|
let timeout = Duration::from_millis(args.timeout);
|
||||||
|
|
||||||
let ureq_agent = ureq::AgentBuilder::new()
|
let ureq_agent = ureq::AgentBuilder::new()
|
||||||
.user_agent("Steam Feeds (https://github.com/Bauke/steam-rss)")
|
.user_agent("Steam Feeds (https://git.bauke.xyz/Bauke/steam-rss)")
|
||||||
.build();
|
.build();
|
||||||
let mut potential_feeds = vec![];
|
let mut potential_feeds = vec![];
|
||||||
let mut feeds_to_output = vec![];
|
let mut feeds_to_output = vec![];
|
||||||
|
|
Loading…
Reference in New Issue