chiark / gitweb /
rename to "otter"
authorIan Jackson <ijackson@chiark.greenend.org.uk>
Sun, 6 Sep 2020 23:38:16 +0000 (00:38 +0100)
committerIan Jackson <ijackson@chiark.greenend.org.uk>
Sun, 6 Sep 2020 23:40:12 +0000 (00:40 +0100)
Signed-off-by: Ian Jackson <ijackson@chiark.greenend.org.uk>
Cargo.lock.example
Cargo.toml
src/bin/otter.rs
src/bin/server.rs
src/bin/slotmap-slot-idx-test.rs

index 2aec575b93e8b31bb504bfdc633c2068ac7bc503..befea88aad2d5d2f33238a35da092fc4c702e83e 100644 (file)
@@ -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"
index cd827e854f7b5172f2503e93076efa4304acffe2..16c51e8c372cd33a055a120ca59a401777d1a0d6 100644 (file)
@@ -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.
index c80d84565813331eb486daad501c66d9fc7d8208..5dc40d8547c82e134c254e748f2769e447c20538 100644 (file)
@@ -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;
index bfdcfa617c240830fc3adc0ceac7b09a2c0b6338..99557925a7d0ea347e04686e628e4f2de2ea4722 100644 (file)
@@ -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();
 }
index 08fc128e5f7920326dae96d980831bc90c1c7032..1ff8e837df29b01cdba49f2d3fb7e9fe9d67990b 100644 (file)
@@ -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;