Added version info to main.rs; added SPDX to *.js and *.css
This commit is contained in:
parent
89e808d3fe
commit
5449b8f03d
7 changed files with 25 additions and 1 deletions
|
@ -3,7 +3,9 @@ name = "sup-smsac"
|
|||
version = "0.1.0-beta.1"
|
||||
edition = "2021"
|
||||
license = "MIT OR Apache-2.0"
|
||||
authors = ["sup39 <sms@sup39.dev>"]
|
||||
repository = "https://github.com/sup39/sup-smsac"
|
||||
description = "A tool to support Super Mario Sunshine academic research and TAS."
|
||||
|
||||
[dependencies]
|
||||
sup-smsac-derive = { path = "./sup-smsac-derive" }
|
||||
|
|
|
@ -1,6 +1,9 @@
|
|||
# sup-smsac
|
||||
A tool to support Super Mario Sunshine academic research and TAS.
|
||||
It is written in Rust (backend) and JavaScript (frontend), and uses HTTP + WebSocket to communicate between backend and frontend.
|
||||
|
||||
It is written in Rust (backend) and JavaScript (frontend),
|
||||
and uses HTTP + WebSocket to communicate between backend and frontend.
|
||||
|
||||
It only contains a simple Object Viewer at the moment.
|
||||
|
||||
## Usage
|
||||
|
|
|
@ -14,6 +14,13 @@ use std::path::PathBuf;
|
|||
use clap::Parser;
|
||||
|
||||
#[derive(Parser)]
|
||||
#[command(author, version, about)]
|
||||
#[command(help_template = "\
|
||||
{before-help{name} v{version}
|
||||
{usage-heading} {usage}
|
||||
|
||||
{all-args}{after-help}
|
||||
")]
|
||||
struct Args {
|
||||
#[arg(long, default_value_t = IpAddr::V4(std::net::Ipv4Addr::LOCALHOST))]
|
||||
host: IpAddr,
|
||||
|
|
|
@ -3,6 +3,7 @@ name = "sup-smsac-derive"
|
|||
version = "0.1.0-beta.1"
|
||||
edition = "2021"
|
||||
license = "MIT OR Apache-2.0"
|
||||
authors = ["sup39 <sms@sup39.dev>"]
|
||||
repository = "https://github.com/sup39/sup-smsac"
|
||||
|
||||
[lib]
|
||||
|
|
|
@ -1,3 +1,6 @@
|
|||
// SPDX-FileCopyrightText: 2023 sup39 <sms@sup39.dev>
|
||||
// SPDX-License-Identifier: MIT OR Apache-2.0
|
||||
|
||||
// @ts-check
|
||||
/**
|
||||
* @typedef {number|number[]} ReqAddr
|
||||
|
|
|
@ -1,3 +1,8 @@
|
|||
/**
|
||||
* SPDX-FileCopyrightText: 2023 sup39 <sms@sup39.dev>
|
||||
* SPDX-License-Identifier: MIT OR Apache-2.0
|
||||
*/
|
||||
|
||||
:root {
|
||||
--bg: #fff;
|
||||
--fg: #000;
|
||||
|
|
|
@ -1,3 +1,6 @@
|
|||
// SPDX-FileCopyrightText: 2023 sup39 <sms@sup39.dev>
|
||||
// SPDX-License-Identifier: MIT OR Apache-2.0
|
||||
|
||||
// @ts-check
|
||||
/**
|
||||
* @typedef {{addr: number, cls: string, name: string, count: number}} Manager
|
||||
|
|
Loading…
Reference in a new issue