Added version info to main.rs; added SPDX to *.js and *.css

This commit is contained in:
sup39 2023-07-23 05:50:22 +09:00
parent 89e808d3fe
commit 5449b8f03d
No known key found for this signature in database
GPG key ID: 14D2E0D21140D260
7 changed files with 25 additions and 1 deletions

View file

@ -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" }

View file

@ -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

View file

@ -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,

View file

@ -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]

View file

@ -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

View file

@ -1,3 +1,8 @@
/**
* SPDX-FileCopyrightText: 2023 sup39 <sms@sup39.dev>
* SPDX-License-Identifier: MIT OR Apache-2.0
*/
:root {
--bg: #fff;
--fg: #000;

View file

@ -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