Merge pull request 'License housekeeping' (#38) from better-licensing into main

Reviewed-on: #38
This commit is contained in:
mars 2022-11-15 00:35:38 +00:00
commit 58af1e341f
23 changed files with 49 additions and 9 deletions

View File

@ -1,3 +1,6 @@
// Copyright (c) 2022 Marceline Cramer
// SPDX-License-Identifier: AGPL-3.0-or-later
use serde::Serialize; use serde::Serialize;
use std::os::unix::net::UnixStream; use std::os::unix::net::UnixStream;

View File

@ -1,3 +1,6 @@
// Copyright (c) 2022 Marceline Cramer
// SPDX-License-Identifier: AGPL-3.0-or-later
pub mod client; pub mod client;
pub mod protocol; pub mod protocol;

View File

@ -1,3 +1,6 @@
// Copyright (c) 2022 Marceline Cramer
// SPDX-License-Identifier: AGPL-3.0-or-later
use glium::glutin::event_loop::EventLoopBuilder; use glium::glutin::event_loop::EventLoopBuilder;
use canary_magpie::service::*; use canary_magpie::service::*;

View File

@ -1,3 +1,6 @@
// Copyright (c) 2022 Marceline Cramer
// SPDX-License-Identifier: AGPL-3.0-or-later
use std::collections::VecDeque; use std::collections::VecDeque;
use std::io::{Read, Write}; use std::io::{Read, Write};
use std::marker::PhantomData; use std::marker::PhantomData;

View File

@ -1,3 +1,6 @@
// Copyright (c) 2022 Marceline Cramer
// SPDX-License-Identifier: AGPL-3.0-or-later
use canary::{DrawCommand, Vec2, PX_PER_MM}; use canary::{DrawCommand, Vec2, PX_PER_MM};
use glium::Surface; use glium::Surface;

View File

@ -1,3 +1,6 @@
// Copyright (c) 2022 Marceline Cramer
// SPDX-License-Identifier: AGPL-3.0-or-later
use std::collections::HashMap; use std::collections::HashMap;
use std::ops::{Deref, DerefMut}; use std::ops::{Deref, DerefMut};
use std::path::{Path, PathBuf}; use std::path::{Path, PathBuf};

View File

@ -1,3 +1,6 @@
// Copyright (c) 2022 Marceline Cramer
// SPDX-License-Identifier: AGPL-3.0-or-later
pub mod gl; pub mod gl;
pub mod ipc; pub mod ipc;
pub mod window; pub mod window;

View File

@ -1,3 +1,6 @@
// Copyright (c) 2022 Marceline Cramer
// SPDX-License-Identifier: AGPL-3.0-or-later
use std::collections::HashMap; use std::collections::HashMap;
use std::path::PathBuf; use std::path::PathBuf;
use std::time::Instant; use std::time::Instant;

View File

@ -2,6 +2,7 @@
name = "canary-music-player" name = "canary-music-player"
version = "0.1.0" version = "0.1.0"
edition = "2021" edition = "2021"
license = "AGPL-3.0-or-later"
[[bin]] [[bin]]
name = "canary-music-player" name = "canary-music-player"

View File

@ -1,3 +1,6 @@
// Copyright (c) 2022 Marceline Cramer
// SPDX-License-Identifier: AGPL-3.0-or-later
use serde::{Deserialize, Serialize}; use serde::{Deserialize, Serialize};
pub use serde; pub use serde;

View File

@ -1,3 +1,6 @@
// Copyright (c) 2022 Marceline Cramer
// SPDX-License-Identifier: AGPL-3.0-or-later
use canary_music_player::*; use canary_music_player::*;
use canary_magpie::client::MagpieClient; use canary_magpie::client::MagpieClient;
use canary_magpie::protocol::{CreatePanel, MagpieServerMsg}; use canary_magpie::protocol::{CreatePanel, MagpieServerMsg};

View File

@ -2,6 +2,7 @@
name = "canary-music-player-script" name = "canary-music-player-script"
version = "0.1.0" version = "0.1.0"
edition = "2021" edition = "2021"
license = "AGPL-3.0-or-later"
[lib] [lib]
crate-type = ["cdylib"] crate-type = ["cdylib"]

View File

@ -1,3 +1,6 @@
// Copyright (c) 2022 Marceline Cramer
// SPDX-License-Identifier: AGPL-3.0-or-later
#[global_allocator] #[global_allocator]
static ALLOC: wee_alloc::WeeAlloc = wee_alloc::WeeAlloc::INIT; static ALLOC: wee_alloc::WeeAlloc = wee_alloc::WeeAlloc::INIT;

View File

@ -1,3 +1,6 @@
// Copyright (c) 2022 Marceline Cramer
// SPDX-License-Identifier: AGPL-3.0-or-later
use crate::Color; use crate::Color;
use keyframe::EasingFunction; use keyframe::EasingFunction;

View File

@ -1 +0,0 @@

View File

@ -1,10 +1,11 @@
// Copyright (c) 2022 Marceline Cramer
// SPDX-License-Identifier: AGPL-3.0-or-later
#[global_allocator] #[global_allocator]
static ALLOC: wee_alloc::WeeAlloc = wee_alloc::WeeAlloc::INIT; static ALLOC: wee_alloc::WeeAlloc = wee_alloc::WeeAlloc::INIT;
pub mod anim; pub mod anim;
pub mod draw;
pub mod main_menu; pub mod main_menu;
pub mod panel;
pub mod widgets; pub mod widgets;
use canary_script::*; use canary_script::*;

View File

@ -1,3 +1,6 @@
// Copyright (c) 2022 Marceline Cramer
// SPDX-License-Identifier: AGPL-3.0-or-later
use crate::widgets::prelude::*; use crate::widgets::prelude::*;
use crate::{DrawContext, Rect}; use crate::{DrawContext, Rect};

View File

@ -1 +0,0 @@

View File

@ -1,5 +1,5 @@
// Copyright (c) 2022 Marceline Cramer // Copyright (c) 2022 Marceline Cramer
// SDPX-License-Identifier: LGPL-3.0-or-later // SPDX-License-Identifier: LGPL-3.0-or-later
//! This module defines backends for WebAssembly execution. //! This module defines backends for WebAssembly execution.
//! //!

View File

@ -1,5 +1,5 @@
// Copyright (c) 2022 Marceline Cramer // Copyright (c) 2022 Marceline Cramer
// SDPX-License-Identifier: LGPL-3.0-or-later // SPDX-License-Identifier: LGPL-3.0-or-later
use std::ops::DerefMut; use std::ops::DerefMut;

View File

@ -1,5 +1,5 @@
// Copyright (c) 2022 Marceline Cramer // Copyright (c) 2022 Marceline Cramer
// SDPX-License-Identifier: LGPL-3.0-or-later // SPDX-License-Identifier: LGPL-3.0-or-later
pub use canary_script::*; pub use canary_script::*;
use parking_lot::{Mutex, RwLock}; use parking_lot::{Mutex, RwLock};

View File

@ -1,5 +1,5 @@
// Copyright (c) 2022 Marceline Cramer // Copyright (c) 2022 Marceline Cramer
// SDPX-License-Identifier: LGPL-3.0-or-later // SPDX-License-Identifier: LGPL-3.0-or-later
use super::{AllsortsFont, Rect, Vec2}; use super::{AllsortsFont, Rect, Vec2};

View File

@ -1,5 +1,5 @@
// Copyright (c) 2022 Marceline Cramer // Copyright (c) 2022 Marceline Cramer
// SDPX-License-Identifier: LGPL-3.0-or-later // SPDX-License-Identifier: LGPL-3.0-or-later
use super::{Color, DrawCommand, MeshIndex, MeshVertex, Rect, Vec2}; use super::{Color, DrawCommand, MeshIndex, MeshVertex, Rect, Vec2};