From: Ian Jackson Date: Sun, 6 Sep 2020 23:38:16 +0000 (+0100) Subject: rename to "otter" X-Git-Tag: otter-0.2.0~974 X-Git-Url: https://www.chiark.greenend.org.uk/ucgi/~ianmdlvl/git?a=commitdiff_plain;h=095ea7a0d3b0342a1e032b73f25246d342e6a0cc;p=otter.git rename to "otter" Signed-off-by: Ian Jackson --- diff --git a/Cargo.lock.example b/Cargo.lock.example index 2aec575b..befea88a 100644 --- a/Cargo.lock.example +++ b/Cargo.lock.example @@ -481,44 +481,6 @@ version = "0.3.3" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "3dcaa9ae7725d12cdb85b3ad99a434db70b468c09ded17e012d86b5c1010f7a7" -[[package]] -name = "game" -version = "0.0.1" -dependencies = [ - "anyhow", - "argparse", - "arrayvec", - "bundle-sources", - "failure", - "fehler", - "flexi_logger", - "fs2", - "htmlescape", - "index_vec", - "inventory", - "lazy_static", - "log 0.4.11", - "nix", - "num-traits", - "percent-encoding 2.1.0", - "pwd", - "rand", - "regex", - "rmp", - "rmp-serde", - "rocket", - "rocket_contrib", - "rocket_cors", - "serde", - "serde_json", - "slotmap", - "thiserror", - "toml 0.5.6", - "typetag", - "uds", - "vecdeque-stableix", -] - [[package]] name = "generic-array" version = "0.12.3" @@ -969,6 +931,44 @@ version = "0.2.3" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "2839e79665f131bdb5782e51f2c6c9599c133c6098982a54c794358bf432529c" +[[package]] +name = "otter" +version = "0.0.1" +dependencies = [ + "anyhow", + "argparse", + "arrayvec", + "bundle-sources", + "failure", + "fehler", + "flexi_logger", + "fs2", + "htmlescape", + "index_vec", + "inventory", + "lazy_static", + "log 0.4.11", + "nix", + "num-traits", + "percent-encoding 2.1.0", + "pwd", + "rand", + "regex", + "rmp", + "rmp-serde", + "rocket", + "rocket_contrib", + "rocket_cors", + "serde", + "serde_json", + "slotmap", + "thiserror", + "toml 0.5.6", + "typetag", + "uds", + "vecdeque-stableix", +] + [[package]] name = "pear" version = "0.1.4" diff --git a/Cargo.toml b/Cargo.toml index cd827e85..16c51e8c 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -3,9 +3,12 @@ # There is NO WARRANTY. [package] -name = "game" +name = "otter" -# This program is free software: you can redistribute it and/or modify +# This file is part of "otter", Online TableTop Environment Renderer, +# a multiplayer online tabletop gameplay system. +# +# "otter" 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. diff --git a/src/bin/otter.rs b/src/bin/otter.rs index c80d8456..5dc40d85 100644 --- a/src/bin/otter.rs +++ b/src/bin/otter.rs @@ -4,7 +4,7 @@ #![allow(unused_imports)] -use game::imports::*; +use otter::imports::*; use argparse::{self,ArgumentParser,action::{TypedAction,ParseResult}}; use argparse::action::{Action,IFlagAction,IArgAction}; use std::rc::Rc; diff --git a/src/bin/server.rs b/src/bin/server.rs index bfdcfa61..99557925 100644 --- a/src/bin/server.rs +++ b/src/bin/server.rs @@ -13,7 +13,7 @@ use rocket::{get,routes}; use rocket_contrib::serve::StaticFiles; -use game::imports::*; +use otter::imports::*; #[derive(Serialize,Debug)] struct TestRenderContext { } @@ -147,7 +147,7 @@ fn main() { .mount("/src", StaticFiles::from(bundled_sources)) ; - let r = game::session::mount(r); - let r = game::api::mount(r); + let r = otter::session::mount(r); + let r = otter::api::mount(r); r.launch(); } diff --git a/src/bin/slotmap-slot-idx-test.rs b/src/bin/slotmap-slot-idx-test.rs index 08fc128e..1ff8e837 100644 --- a/src/bin/slotmap-slot-idx-test.rs +++ b/src/bin/slotmap-slot-idx-test.rs @@ -8,7 +8,7 @@ // slotmap::Keydata::get_idx_version 3.259 3.185 3.220 // slotmap_slot_idx::KeyData::get_idx_version 3.724 3.750 3.665 -use game::slotmap_slot_idx; +use otter::slotmap_slot_idx; const BATCH : usize = 128; const ITERS : usize = 10*1024*1024;