repo_id stringclasses 563
values | file_path stringlengths 40 166 | content stringlengths 1 2.94M | __index_level_0__ int64 0 0 |
|---|---|---|---|
solana_public_repos/solana-playground/solana-playground/wasm/rustfmt/deps/librustc_target | solana_public_repos/solana-playground/solana-playground/wasm/rustfmt/deps/librustc_target/spec/redox_base.rs | // Copyright 2014 The Rust Project Developers. See the COPYRIGHT
// file at the top-level directory of this distribution and at
// http://rust-lang.org/COPYRIGHT.
//
// Licensed under the Apache License, Version 2.0 <LICENSE-APACHE or
// http://www.apache.org/licenses/LICENSE-2.0> or the MIT license
// <LICENSE-MIT or ... | 0 |
solana_public_repos/solana-playground/solana-playground/wasm/rustfmt/deps/librustc_target | solana_public_repos/solana-playground/solana-playground/wasm/rustfmt/deps/librustc_target/spec/mips_unknown_linux_musl.rs | // Copyright 2014 The Rust Project Developers. See the COPYRIGHT
// file at the top-level directory of this distribution and at
// http://rust-lang.org/COPYRIGHT.
//
// Licensed under the Apache License, Version 2.0 <LICENSE-APACHE or
// http://www.apache.org/licenses/LICENSE-2.0> or the MIT license
// <LICENSE-MIT or ... | 0 |
solana_public_repos/solana-playground/solana-playground/wasm/rustfmt/deps/librustc_target | solana_public_repos/solana-playground/solana-playground/wasm/rustfmt/deps/librustc_target/spec/mipsel_unknown_linux_gnu.rs | // Copyright 2014 The Rust Project Developers. See the COPYRIGHT
// file at the top-level directory of this distribution and at
// http://rust-lang.org/COPYRIGHT.
//
// Licensed under the Apache License, Version 2.0 <LICENSE-APACHE or
// http://www.apache.org/licenses/LICENSE-2.0> or the MIT license
// <LICENSE-MIT or ... | 0 |
solana_public_repos/solana-playground/solana-playground/wasm/rustfmt/deps/librustc_target | solana_public_repos/solana-playground/solana-playground/wasm/rustfmt/deps/librustc_target/spec/l4re_base.rs | // Copyright 2017 The Rust Project Developers. See the COPYRIGHT
// file at the top-level directory of this distribution and at
// http://rust-lang.org/COPYRIGHT.
//
// Licensed under the Apache License, Version 2.0 <LICENSE-APACHE or
// http://www.apache.org/licenses/LICENSE-2.0> or the MIT license
// <LICENSE-MIT or ... | 0 |
solana_public_repos/solana-playground/solana-playground/wasm/rustfmt/deps/librustc_target | solana_public_repos/solana-playground/solana-playground/wasm/rustfmt/deps/librustc_target/spec/i386_apple_ios.rs | // Copyright 2014 The Rust Project Developers. See the COPYRIGHT
// file at the top-level directory of this distribution and at
// http://rust-lang.org/COPYRIGHT.
//
// Licensed under the Apache License, Version 2.0 <LICENSE-APACHE or
// http://www.apache.org/licenses/LICENSE-2.0> or the MIT license
// <LICENSE-MIT or ... | 0 |
solana_public_repos/solana-playground/solana-playground/wasm/rustfmt/deps/librustc_target | solana_public_repos/solana-playground/solana-playground/wasm/rustfmt/deps/librustc_target/spec/aarch64_unknown_linux_musl.rs | // Copyright 2017 The Rust Project Developers. See the COPYRIGHT
// file at the top-level directory of this distribution and at
// http://rust-lang.org/COPYRIGHT.
//
// Licensed under the Apache License, Version 2.0 <LICENSE-APACHE or
// http://www.apache.org/licenses/LICENSE-2.0> or the MIT license
// <LICENSE-MIT or ... | 0 |
solana_public_repos/solana-playground/solana-playground/wasm/rustfmt/deps/librustc_target | solana_public_repos/solana-playground/solana-playground/wasm/rustfmt/deps/librustc_target/spec/sparc64_unknown_linux_gnu.rs | // Copyright 2016 The Rust Project Developers. See the COPYRIGHT
// file at the top-level directory of this distribution and at
// http://rust-lang.org/COPYRIGHT.
//
// Licensed under the Apache License, Version 2.0 <LICENSE-APACHE or
// http://www.apache.org/licenses/LICENSE-2.0> or the MIT license
// <LICENSE-MIT or ... | 0 |
solana_public_repos/solana-playground/solana-playground/wasm/rustfmt/deps/librustc_target | solana_public_repos/solana-playground/solana-playground/wasm/rustfmt/deps/librustc_target/spec/linux_musl_base.rs | // Copyright 2016 The Rust Project Developers. See the COPYRIGHT
// file at the top-level directory of this distribution and at
// http://rust-lang.org/COPYRIGHT.
//
// Licensed under the Apache License, Version 2.0 <LICENSE-APACHE or
// http://www.apache.org/licenses/LICENSE-2.0> or the MIT license
// <LICENSE-MIT or ... | 0 |
solana_public_repos/solana-playground/solana-playground/wasm/rustfmt/deps/librustc_target | solana_public_repos/solana-playground/solana-playground/wasm/rustfmt/deps/librustc_target/spec/fuchsia_base.rs | // Copyright 2014 The Rust Project Developers. See the COPYRIGHT
// file at the top-level directory of this distribution and at
// http://rust-lang.org/COPYRIGHT.
//
// Licensed under the Apache License, Version 2.0 <LICENSE-APACHE or
// http://www.apache.org/licenses/LICENSE-2.0> or the MIT license
// <LICENSE-MIT or ... | 0 |
solana_public_repos/solana-playground/solana-playground/wasm/rustfmt/deps/librustc_target | solana_public_repos/solana-playground/solana-playground/wasm/rustfmt/deps/librustc_target/spec/windows_msvc_base.rs | // Copyright 2015 The Rust Project Developers. See the COPYRIGHT
// file at the top-level directory of this distribution and at
// http://rust-lang.org/COPYRIGHT.
//
// Licensed under the Apache License, Version 2.0 <LICENSE-APACHE or
// http://www.apache.org/licenses/LICENSE-2.0> or the MIT license
// <LICENSE-MIT or ... | 0 |
solana_public_repos/solana-playground/solana-playground/wasm/rustfmt/deps/librustc_target | solana_public_repos/solana-playground/solana-playground/wasm/rustfmt/deps/librustc_target/spec/thumbv7em_none_eabi.rs | // Copyright 2016 The Rust Project Developers. See the COPYRIGHT
// file at the top-level directory of this distribution and at
// http://rust-lang.org/COPYRIGHT.
//
// Licensed under the Apache License, Version 2.0 <LICENSE-APACHE or
// http://www.apache.org/licenses/LICENSE-2.0> or the MIT license
// <LICENSE-MIT or ... | 0 |
solana_public_repos/solana-playground/solana-playground/wasm/rustfmt/deps/librustc_target | solana_public_repos/solana-playground/solana-playground/wasm/rustfmt/deps/librustc_target/spec/aarch64_unknown_none.rs | // Copyright 2018 The Rust Project Developers. See the COPYRIGHT
// file at the top-level directory of this distribution and at
// http://rust-lang.org/COPYRIGHT.
//
// Licensed under the Apache License, Version 2.0 <LICENSE-APACHE or
// http://www.apache.org/licenses/LICENSE-2.0> or the MIT license
// <LICENSE-MIT or ... | 0 |
solana_public_repos/solana-playground/solana-playground/wasm/rustfmt/deps/librustc_target | solana_public_repos/solana-playground/solana-playground/wasm/rustfmt/deps/librustc_target/spec/arm_unknown_linux_gnueabihf.rs | // Copyright 2014 The Rust Project Developers. See the COPYRIGHT
// file at the top-level directory of this distribution and at
// http://rust-lang.org/COPYRIGHT.
//
// Licensed under the Apache License, Version 2.0 <LICENSE-APACHE or
// http://www.apache.org/licenses/LICENSE-2.0> or the MIT license
// <LICENSE-MIT or ... | 0 |
solana_public_repos/solana-playground/solana-playground/wasm/rustfmt/deps/librustc_target | solana_public_repos/solana-playground/solana-playground/wasm/rustfmt/deps/librustc_target/spec/mipsel_unknown_linux_musl.rs | // Copyright 2014 The Rust Project Developers. See the COPYRIGHT
// file at the top-level directory of this distribution and at
// http://rust-lang.org/COPYRIGHT.
//
// Licensed under the Apache License, Version 2.0 <LICENSE-APACHE or
// http://www.apache.org/licenses/LICENSE-2.0> or the MIT license
// <LICENSE-MIT or ... | 0 |
solana_public_repos/solana-playground/solana-playground/wasm/rustfmt/deps/librustc_target | solana_public_repos/solana-playground/solana-playground/wasm/rustfmt/deps/librustc_target/spec/powerpc_unknown_linux_gnu.rs | // Copyright 2012 The Rust Project Developers. See the COPYRIGHT
// file at the top-level directory of this distribution and at
// http://rust-lang.org/COPYRIGHT.
//
// Licensed under the Apache License, Version 2.0 <LICENSE-APACHE or
// http://www.apache.org/licenses/LICENSE-2.0> or the MIT license
// <LICENSE-MIT or ... | 0 |
solana_public_repos/solana-playground/solana-playground/wasm/rustfmt/deps/librustc_target | solana_public_repos/solana-playground/solana-playground/wasm/rustfmt/deps/librustc_target/spec/x86_64_apple_ios.rs | // Copyright 2014 The Rust Project Developers. See the COPYRIGHT
// file at the top-level directory of this distribution and at
// http://rust-lang.org/COPYRIGHT.
//
// Licensed under the Apache License, Version 2.0 <LICENSE-APACHE or
// http://www.apache.org/licenses/LICENSE-2.0> or the MIT license
// <LICENSE-MIT or ... | 0 |
solana_public_repos/solana-playground/solana-playground/wasm/rustfmt/deps/librustc_target | solana_public_repos/solana-playground/solana-playground/wasm/rustfmt/deps/librustc_target/spec/mips_unknown_linux_uclibc.rs | // Copyright 2016 The Rust Project Developers. See the COPYRIGHT
// file at the top-level directory of this distribution and at
// http://rust-lang.org/COPYRIGHT.
//
// Licensed under the Apache License, Version 2.0 <LICENSE-APACHE or
// http://www.apache.org/licenses/LICENSE-2.0> or the MIT license
// <LICENSE-MIT or ... | 0 |
solana_public_repos/solana-playground/solana-playground/wasm/rustfmt/deps/librustc_target | solana_public_repos/solana-playground/solana-playground/wasm/rustfmt/deps/librustc_target/spec/abi.rs | // Copyright 2012-2015 The Rust Project Developers. See the COPYRIGHT
// file at the top-level directory of this distribution and at
// http://rust-lang.org/COPYRIGHT.
//
// Licensed under the Apache License, Version 2.0 <LICENSE-APACHE or
// http://www.apache.org/licenses/LICENSE-2.0> or the MIT license
// <LICENSE-MI... | 0 |
solana_public_repos/solana-playground/solana-playground/wasm/rustfmt/deps/librustc_target | solana_public_repos/solana-playground/solana-playground/wasm/rustfmt/deps/librustc_target/spec/armv7_unknown_cloudabi_eabihf.rs | // Copyright 2017 The Rust Project Developers. See the COPYRIGHT
// file at the top-level directory of this distribution and at
// http://rust-lang.org/COPYRIGHT.
//
// Licensed under the Apache License, Version 2.0 <LICENSE-APACHE or
// http://www.apache.org/licenses/LICENSE-2.0> or the MIT license
// <LICENSE-MIT or ... | 0 |
solana_public_repos/solana-playground/solana-playground/wasm/rustfmt/deps/librustc_target | solana_public_repos/solana-playground/solana-playground/wasm/rustfmt/deps/librustc_target/spec/i686_unknown_cloudabi.rs | // Copyright 2017 The Rust Project Developers. See the COPYRIGHT
// file at the top-level directory of this distribution and at
// http://rust-lang.org/COPYRIGHT.
//
// Licensed under the Apache License, Version 2.0 <LICENSE-APACHE or
// http://www.apache.org/licenses/LICENSE-2.0> or the MIT license
// <LICENSE-MIT or ... | 0 |
solana_public_repos/solana-playground/solana-playground/wasm/rustfmt/deps/librustc_target | solana_public_repos/solana-playground/solana-playground/wasm/rustfmt/deps/librustc_target/spec/cloudabi_base.rs | // Copyright 2017 The Rust Project Developers. See the COPYRIGHT
// file at the top-level directory of this distribution and at
// http://rust-lang.org/COPYRIGHT.
//
// Licensed under the Apache License, Version 2.0 <LICENSE-APACHE or
// http://www.apache.org/licenses/LICENSE-2.0> or the MIT license
// <LICENSE-MIT or ... | 0 |
solana_public_repos/solana-playground/solana-playground/wasm/rustfmt/deps/librustc_target | solana_public_repos/solana-playground/solana-playground/wasm/rustfmt/deps/librustc_target/spec/x86_64_pc_windows_msvc.rs | // Copyright 2015 The Rust Project Developers. See the COPYRIGHT
// file at the top-level directory of this distribution and at
// http://rust-lang.org/COPYRIGHT.
//
// Licensed under the Apache License, Version 2.0 <LICENSE-APACHE or
// http://www.apache.org/licenses/LICENSE-2.0> or the MIT license
// <LICENSE-MIT or ... | 0 |
solana_public_repos/solana-playground/solana-playground/wasm/rustfmt/deps/librustc_target | solana_public_repos/solana-playground/solana-playground/wasm/rustfmt/deps/librustc_target/spec/armv7_unknown_netbsd_eabihf.rs | // Copyright 2016 The Rust Project Developers. See the COPYRIGHT
// file at the top-level directory of this distribution and at
// http://rust-lang.org/COPYRIGHT.
//
// Licensed under the Apache License, Version 2.0 <LICENSE-APACHE or
// http://www.apache.org/licenses/LICENSE-2.0> or the MIT license
// <LICENSE-MIT or ... | 0 |
solana_public_repos/solana-playground/solana-playground/wasm/rustfmt/deps/librustc_target | solana_public_repos/solana-playground/solana-playground/wasm/rustfmt/deps/librustc_target/spec/sparc64_unknown_netbsd.rs | // Copyright 2016 The Rust Project Developers. See the COPYRIGHT
// file at the top-level directory of this distribution and at
// http://rust-lang.org/COPYRIGHT.
//
// Licensed under the Apache License, Version 2.0 <LICENSE-APACHE or
// http://www.apache.org/licenses/LICENSE-2.0> or the MIT license
// <LICENSE-MIT or ... | 0 |
solana_public_repos/solana-playground/solana-playground/wasm/rustfmt/deps/librustc_target | solana_public_repos/solana-playground/solana-playground/wasm/rustfmt/deps/librustc_target/spec/armv5te_unknown_linux_gnueabi.rs | // Copyright 2016 The Rust Project Developers. See the COPYRIGHT
// file at the top-level directory of this distribution and at
// http://rust-lang.org/COPYRIGHT.
//
// Licensed under the Apache License, Version 2.0 <LICENSE-APACHE or
// http://www.apache.org/licenses/LICENSE-2.0> or the MIT license
// <LICENSE-MIT or ... | 0 |
solana_public_repos/solana-playground/solana-playground/wasm/rustfmt/deps/librustc_target | solana_public_repos/solana-playground/solana-playground/wasm/rustfmt/deps/librustc_target/spec/i686_linux_android.rs | // Copyright 2014 The Rust Project Developers. See the COPYRIGHT
// file at the top-level directory of this distribution and at
// http://rust-lang.org/COPYRIGHT.
//
// Licensed under the Apache License, Version 2.0 <LICENSE-APACHE or
// http://www.apache.org/licenses/LICENSE-2.0> or the MIT license
// <LICENSE-MIT or ... | 0 |
solana_public_repos/solana-playground/solana-playground/wasm/rustfmt/deps/librustc_target | solana_public_repos/solana-playground/solana-playground/wasm/rustfmt/deps/librustc_target/spec/x86_64_unknown_haiku.rs | // Copyright 2014 The Rust Project Developers. See the COPYRIGHT
// file at the top-level directory of this distribution and at
// http://rust-lang.org/COPYRIGHT.
//
// Licensed under the Apache License, Version 2.0 <LICENSE-APACHE or
// http://www.apache.org/licenses/LICENSE-2.0> or the MIT license
// <LICENSE-MIT or ... | 0 |
solana_public_repos/solana-playground/solana-playground/wasm/rustfmt/deps/librustc_target | solana_public_repos/solana-playground/solana-playground/wasm/rustfmt/deps/librustc_target/spec/aarch64_apple_ios.rs | // Copyright 2014 The Rust Project Developers. See the COPYRIGHT
// file at the top-level directory of this distribution and at
// http://rust-lang.org/COPYRIGHT.
//
// Licensed under the Apache License, Version 2.0 <LICENSE-APACHE or
// http://www.apache.org/licenses/LICENSE-2.0> or the MIT license
// <LICENSE-MIT or ... | 0 |
solana_public_repos/solana-playground/solana-playground/wasm/rustfmt/deps/librustc_target | solana_public_repos/solana-playground/solana-playground/wasm/rustfmt/deps/librustc_target/spec/asmjs_unknown_emscripten.rs | // Copyright 2015 The Rust Project Developers. See the COPYRIGHT
// file at the top-level directory of this distribution and at
// http://rust-lang.org/COPYRIGHT.
//
// Licensed under the Apache License, Version 2.0 <LICENSE-APACHE or
// http://www.apache.org/licenses/LICENSE-2.0> or the MIT license
// <LICENSE-MIT or ... | 0 |
solana_public_repos/solana-playground/solana-playground/wasm/rustfmt/deps/librustc_target | solana_public_repos/solana-playground/solana-playground/wasm/rustfmt/deps/librustc_target/spec/x86_64_unknown_linux_gnux32.rs | // Copyright 2017 The Rust Project Developers. See the COPYRIGHT
// file at the top-level directory of this distribution and at
// http://rust-lang.org/COPYRIGHT.
//
// Licensed under the Apache License, Version 2.0 <LICENSE-APACHE or
// http://www.apache.org/licenses/LICENSE-2.0> or the MIT license
// <LICENSE-MIT or ... | 0 |
solana_public_repos/solana-playground/solana-playground/wasm/rustfmt/deps/librustc_target | solana_public_repos/solana-playground/solana-playground/wasm/rustfmt/deps/librustc_target/spec/x86_64_pc_windows_gnu.rs | // Copyright 2014 The Rust Project Developers. See the COPYRIGHT
// file at the top-level directory of this distribution and at
// http://rust-lang.org/COPYRIGHT.
//
// Licensed under the Apache License, Version 2.0 <LICENSE-APACHE or
// http://www.apache.org/licenses/LICENSE-2.0> or the MIT license
// <LICENSE-MIT or ... | 0 |
solana_public_repos/solana-playground/solana-playground/wasm/rustfmt/deps/librustc_target | solana_public_repos/solana-playground/solana-playground/wasm/rustfmt/deps/librustc_target/spec/x86_64_unknown_dragonfly.rs | // Copyright 2014 The Rust Project Developers. See the COPYRIGHT
// file at the top-level directory of this distribution and at
// http://rust-lang.org/COPYRIGHT.
//
// Licensed under the Apache License, Version 2.0 <LICENSE-APACHE or
// http://www.apache.org/licenses/LICENSE-2.0> or the MIT license
// <LICENSE-MIT or ... | 0 |
solana_public_repos/solana-playground/solana-playground/wasm/rustfmt/deps/librustc_target | solana_public_repos/solana-playground/solana-playground/wasm/rustfmt/deps/librustc_target/spec/powerpc_unknown_linux_gnuspe.rs | // Copyright 2018 The Rust Project Developers. See the COPYRIGHT
// file at the top-level directory of this distribution and at
// http://rust-lang.org/COPYRIGHT.
//
// Licensed under the Apache License, Version 2.0 <LICENSE-APACHE or
// http://www.apache.org/licenses/LICENSE-2.0> or the MIT license
// <LICENSE-MIT or ... | 0 |
solana_public_repos/solana-playground/solana-playground/wasm/rustfmt/deps/librustc_target | solana_public_repos/solana-playground/solana-playground/wasm/rustfmt/deps/librustc_target/spec/hermit_base.rs | // Copyright 2014 The Rust Project Developers. See the COPYRIGHT
// file at the top-level directory of this distribution and at
// http://rust-lang.org/COPYRIGHT.
//
// Licensed under the Apache License, Version 2.0 <LICENSE-APACHE or
// http://www.apache.org/licenses/LICENSE-2.0> or the MIT license
// <LICENSE-MIT or ... | 0 |
solana_public_repos/solana-playground/solana-playground/wasm/rustfmt/deps/librustc_target | solana_public_repos/solana-playground/solana-playground/wasm/rustfmt/deps/librustc_target/spec/i686_unknown_linux_musl.rs | // Copyright 2014 The Rust Project Developers. See the COPYRIGHT
// file at the top-level directory of this distribution and at
// http://rust-lang.org/COPYRIGHT.
//
// Licensed under the Apache License, Version 2.0 <LICENSE-APACHE or
// http://www.apache.org/licenses/LICENSE-2.0> or the MIT license
// <LICENSE-MIT or ... | 0 |
solana_public_repos/solana-playground/solana-playground/wasm/rustfmt/deps/librustc_target | solana_public_repos/solana-playground/solana-playground/wasm/rustfmt/deps/librustc_target/spec/armv7_unknown_linux_gnueabihf.rs | // Copyright 2016 The Rust Project Developers. See the COPYRIGHT
// file at the top-level directory of this distribution and at
// http://rust-lang.org/COPYRIGHT.
//
// Licensed under the Apache License, Version 2.0 <LICENSE-APACHE or
// http://www.apache.org/licenses/LICENSE-2.0> or the MIT license
// <LICENSE-MIT or ... | 0 |
solana_public_repos/solana-playground/solana-playground/wasm/rustfmt/deps/librustc_target | solana_public_repos/solana-playground/solana-playground/wasm/rustfmt/deps/librustc_target/spec/aarch64_unknown_linux_gnu.rs | // Copyright 2015 The Rust Project Developers. See the COPYRIGHT
// file at the top-level directory of this distribution and at
// http://rust-lang.org/COPYRIGHT.
//
// Licensed under the Apache License, Version 2.0 <LICENSE-APACHE or
// http://www.apache.org/licenses/LICENSE-2.0> or the MIT license
// <LICENSE-MIT or ... | 0 |
solana_public_repos/solana-playground/solana-playground/wasm/rustfmt/deps/librustc_target | solana_public_repos/solana-playground/solana-playground/wasm/rustfmt/deps/librustc_target/spec/armv7_apple_ios.rs | // Copyright 2014 The Rust Project Developers. See the COPYRIGHT
// file at the top-level directory of this distribution and at
// http://rust-lang.org/COPYRIGHT.
//
// Licensed under the Apache License, Version 2.0 <LICENSE-APACHE or
// http://www.apache.org/licenses/LICENSE-2.0> or the MIT license
// <LICENSE-MIT or ... | 0 |
solana_public_repos/solana-playground/solana-playground/wasm/rustfmt/deps/librustc_target | solana_public_repos/solana-playground/solana-playground/wasm/rustfmt/deps/librustc_target/spec/aarch64_pc_windows_msvc.rs | // Copyright 2018 The Rust Project Developers. See the COPYRIGHT
// file at the top-level directory of this distribution and at
// http://rust-lang.org/COPYRIGHT.
//
// Licensed under the Apache License, Version 2.0 <LICENSE-APACHE or
// http://www.apache.org/licenses/LICENSE-2.0> or the MIT license
// <LICENSE-MIT or ... | 0 |
solana_public_repos/solana-playground/solana-playground/wasm/rustfmt/deps/librustc_target | solana_public_repos/solana-playground/solana-playground/wasm/rustfmt/deps/librustc_target/abi/mod.rs | // Copyright 2017 The Rust Project Developers. See the COPYRIGHT
// file at the top-level directory of this distribution and at
// http://rust-lang.org/COPYRIGHT.
//
// Licensed under the Apache License, Version 2.0 <LICENSE-APACHE or
// http://www.apache.org/licenses/LICENSE-2.0> or the MIT license
// <LICENSE-MIT or ... | 0 |
solana_public_repos/solana-playground/solana-playground/wasm/rustfmt/deps/librustc_target/abi | solana_public_repos/solana-playground/solana-playground/wasm/rustfmt/deps/librustc_target/abi/call/powerpc64.rs | // Copyright 2014-2016 The Rust Project Developers. See the COPYRIGHT
// file at the top-level directory of this distribution and at
// http://rust-lang.org/COPYRIGHT.
//
// Licensed under the Apache License, Version 2.0 <LICENSE-APACHE or
// http://www.apache.org/licenses/LICENSE-2.0> or the MIT license
// <LICENSE-MI... | 0 |
solana_public_repos/solana-playground/solana-playground/wasm/rustfmt/deps/librustc_target/abi | solana_public_repos/solana-playground/solana-playground/wasm/rustfmt/deps/librustc_target/abi/call/sparc64.rs | // Copyright 2014-2016 The Rust Project Developers. See the COPYRIGHT
// file at the top-level directory of this distribution and at
// http://rust-lang.org/COPYRIGHT.
//
// Licensed under the Apache License, Version 2.0 <LICENSE-APACHE or
// http://www.apache.org/licenses/LICENSE-2.0> or the MIT license
// <LICENSE-MI... | 0 |
solana_public_repos/solana-playground/solana-playground/wasm/rustfmt/deps/librustc_target/abi | solana_public_repos/solana-playground/solana-playground/wasm/rustfmt/deps/librustc_target/abi/call/mips64.rs | // Copyright 2016 The Rust Project Developers. See the COPYRIGHT
// file at the top-level directory of this distribution and at
// http://rust-lang.org/COPYRIGHT.
//
// Licensed under the Apache License, Version 2.0 <LICENSE-APACHE or
// http://www.apache.org/licenses/LICENSE-2.0> or the MIT license
// <LICENSE-MIT or ... | 0 |
solana_public_repos/solana-playground/solana-playground/wasm/rustfmt/deps/librustc_target/abi | solana_public_repos/solana-playground/solana-playground/wasm/rustfmt/deps/librustc_target/abi/call/wasm32.rs | // Copyright 2018 The Rust Project Developers. See the COPYRIGHT
// file at the top-level directory of this distribution and at
// http://rust-lang.org/COPYRIGHT.
//
// Licensed under the Apache License, Version 2.0 <LICENSE-APACHE or
// http://www.apache.org/licenses/LICENSE-2.0> or the MIT license
// <LICENSE-MIT or ... | 0 |
solana_public_repos/solana-playground/solana-playground/wasm/rustfmt/deps/librustc_target/abi | solana_public_repos/solana-playground/solana-playground/wasm/rustfmt/deps/librustc_target/abi/call/asmjs.rs | // Copyright 2012-2013 The Rust Project Developers. See the COPYRIGHT
// file at the top-level directory of this distribution and at
// http://rust-lang.org/COPYRIGHT.
//
// Licensed under the Apache License, Version 2.0 <LICENSE-APACHE or
// http://www.apache.org/licenses/LICENSE-2.0> or the MIT license
// <LICENSE-MI... | 0 |
solana_public_repos/solana-playground/solana-playground/wasm/rustfmt/deps/librustc_target/abi | solana_public_repos/solana-playground/solana-playground/wasm/rustfmt/deps/librustc_target/abi/call/riscv.rs | // Copyright 2012-2013 The Rust Project Developers. See the COPYRIGHT
// file at the top-level directory of this distribution and at
// http://rust-lang.org/COPYRIGHT.
//
// Licensed under the Apache License, Version 2.0 <LICENSE-APACHE or
// http://www.apache.org/licenses/LICENSE-2.0> or the MIT license
// <LICENSE-MI... | 0 |
solana_public_repos/solana-playground/solana-playground/wasm/rustfmt/deps/librustc_target/abi | solana_public_repos/solana-playground/solana-playground/wasm/rustfmt/deps/librustc_target/abi/call/s390x.rs | // Copyright 2016 The Rust Project Developers. See the COPYRIGHT
// file at the top-level directory of this distribution and at
// http://rust-lang.org/COPYRIGHT.
//
// Licensed under the Apache License, Version 2.0 <LICENSE-APACHE or
// http://www.apache.org/licenses/LICENSE-2.0> or the MIT license
// <LICENSE-MIT or ... | 0 |
solana_public_repos/solana-playground/solana-playground/wasm/rustfmt/deps/librustc_target/abi | solana_public_repos/solana-playground/solana-playground/wasm/rustfmt/deps/librustc_target/abi/call/nvptx64.rs | // Copyright 2016 The Rust Project Developers. See the COPYRIGHT
// file at the top-level directory of this distribution and at
// http://rust-lang.org/COPYRIGHT.
//
// Licensed under the Apache License, Version 2.0 <LICENSE-APACHE or
// http://www.apache.org/licenses/LICENSE-2.0> or the MIT license
// <LICENSE-MIT or ... | 0 |
solana_public_repos/solana-playground/solana-playground/wasm/rustfmt/deps/librustc_target/abi | solana_public_repos/solana-playground/solana-playground/wasm/rustfmt/deps/librustc_target/abi/call/sparc.rs | // Copyright 2012-2013 The Rust Project Developers. See the COPYRIGHT
// file at the top-level directory of this distribution and at
// http://rust-lang.org/COPYRIGHT.
//
// Licensed under the Apache License, Version 2.0 <LICENSE-APACHE or
// http://www.apache.org/licenses/LICENSE-2.0> or the MIT license
// <LICENSE-MI... | 0 |
solana_public_repos/solana-playground/solana-playground/wasm/rustfmt/deps/librustc_target/abi | solana_public_repos/solana-playground/solana-playground/wasm/rustfmt/deps/librustc_target/abi/call/hexagon.rs | // Copyright 2012-2013 The Rust Project Developers. See the COPYRIGHT
// file at the top-level directory of this distribution and at
// http://rust-lang.org/COPYRIGHT.
//
// Licensed under the Apache License, Version 2.0 <LICENSE-APACHE or
// http://www.apache.org/licenses/LICENSE-2.0> or the MIT license
// <LICENSE-MI... | 0 |
solana_public_repos/solana-playground/solana-playground/wasm/rustfmt/deps/librustc_target/abi | solana_public_repos/solana-playground/solana-playground/wasm/rustfmt/deps/librustc_target/abi/call/x86_64.rs | // Copyright 2012-2013 The Rust Project Developers. See the COPYRIGHT
// file at the top-level directory of this distribution and at
// http://rust-lang.org/COPYRIGHT.
//
// Licensed under the Apache License, Version 2.0 <LICENSE-APACHE or
// http://www.apache.org/licenses/LICENSE-2.0> or the MIT license
// <LICENSE-MI... | 0 |
solana_public_repos/solana-playground/solana-playground/wasm/rustfmt/deps/librustc_target/abi | solana_public_repos/solana-playground/solana-playground/wasm/rustfmt/deps/librustc_target/abi/call/msp430.rs | // Copyright 2012-2013 The Rust Project Developers. See the COPYRIGHT
// file at the top-level directory of this distribution and at
// http://rust-lang.org/COPYRIGHT.
//
// Licensed under the Apache License, Version 2.0 <LICENSE-APACHE or
// http://www.apache.org/licenses/LICENSE-2.0> or the MIT license
// <LICENSE-MI... | 0 |
solana_public_repos/solana-playground/solana-playground/wasm/rustfmt/deps/librustc_target/abi | solana_public_repos/solana-playground/solana-playground/wasm/rustfmt/deps/librustc_target/abi/call/mod.rs | // Copyright 2017 The Rust Project Developers. See the COPYRIGHT
// file at the top-level directory of this distribution and at
// http://rust-lang.org/COPYRIGHT.
//
// Licensed under the Apache License, Version 2.0 <LICENSE-APACHE or
// http://www.apache.org/licenses/LICENSE-2.0> or the MIT license
// <LICENSE-MIT or ... | 0 |
solana_public_repos/solana-playground/solana-playground/wasm/rustfmt/deps/librustc_target/abi | solana_public_repos/solana-playground/solana-playground/wasm/rustfmt/deps/librustc_target/abi/call/powerpc.rs | // Copyright 2014-2015 The Rust Project Developers. See the COPYRIGHT
// file at the top-level directory of this distribution and at
// http://rust-lang.org/COPYRIGHT.
//
// Licensed under the Apache License, Version 2.0 <LICENSE-APACHE or
// http://www.apache.org/licenses/LICENSE-2.0> or the MIT license
// <LICENSE-MI... | 0 |
solana_public_repos/solana-playground/solana-playground/wasm/rustfmt/deps/librustc_target/abi | solana_public_repos/solana-playground/solana-playground/wasm/rustfmt/deps/librustc_target/abi/call/x86.rs | // Copyright 2013 The Rust Project Developers. See the COPYRIGHT
// file at the top-level directory of this distribution and at
// http://rust-lang.org/COPYRIGHT.
//
// Licensed under the Apache License, Version 2.0 <LICENSE-APACHE or
// http://www.apache.org/licenses/LICENSE-2.0> or the MIT license
// <LICENSE-MIT or ... | 0 |
solana_public_repos/solana-playground/solana-playground/wasm/rustfmt/deps/librustc_target/abi | solana_public_repos/solana-playground/solana-playground/wasm/rustfmt/deps/librustc_target/abi/call/x86_win64.rs | // Copyright 2013 The Rust Project Developers. See the COPYRIGHT
// file at the top-level directory of this distribution and at
// http://rust-lang.org/COPYRIGHT.
//
// Licensed under the Apache License, Version 2.0 <LICENSE-APACHE or
// http://www.apache.org/licenses/LICENSE-2.0> or the MIT license
// <LICENSE-MIT or ... | 0 |
solana_public_repos/solana-playground/solana-playground/wasm/rustfmt/deps/librustc_target/abi | solana_public_repos/solana-playground/solana-playground/wasm/rustfmt/deps/librustc_target/abi/call/nvptx.rs | // Copyright 2016 The Rust Project Developers. See the COPYRIGHT
// file at the top-level directory of this distribution and at
// http://rust-lang.org/COPYRIGHT.
//
// Licensed under the Apache License, Version 2.0 <LICENSE-APACHE or
// http://www.apache.org/licenses/LICENSE-2.0> or the MIT license
// <LICENSE-MIT or ... | 0 |
solana_public_repos/solana-playground/solana-playground/wasm/rustfmt/deps/librustc_target/abi | solana_public_repos/solana-playground/solana-playground/wasm/rustfmt/deps/librustc_target/abi/call/arm.rs | // Copyright 2012-2013 The Rust Project Developers. See the COPYRIGHT
// file at the top-level directory of this distribution and at
// http://rust-lang.org/COPYRIGHT.
//
// Licensed under the Apache License, Version 2.0 <LICENSE-APACHE or
// http://www.apache.org/licenses/LICENSE-2.0> or the MIT license
// <LICENSE-MI... | 0 |
solana_public_repos/solana-playground/solana-playground/wasm/rustfmt/deps/librustc_target/abi | solana_public_repos/solana-playground/solana-playground/wasm/rustfmt/deps/librustc_target/abi/call/mips.rs | // Copyright 2012-2013 The Rust Project Developers. See the COPYRIGHT
// file at the top-level directory of this distribution and at
// http://rust-lang.org/COPYRIGHT.
//
// Licensed under the Apache License, Version 2.0 <LICENSE-APACHE or
// http://www.apache.org/licenses/LICENSE-2.0> or the MIT license
// <LICENSE-MI... | 0 |
solana_public_repos/solana-playground/solana-playground/wasm/rustfmt/deps/librustc_target/abi | solana_public_repos/solana-playground/solana-playground/wasm/rustfmt/deps/librustc_target/abi/call/aarch64.rs | // Copyright 2015 The Rust Project Developers. See the COPYRIGHT
// file at the top-level directory of this distribution and at
// http://rust-lang.org/COPYRIGHT.
//
// Licensed under the Apache License, Version 2.0 <LICENSE-APACHE or
// http://www.apache.org/licenses/LICENSE-2.0> or the MIT license
// <LICENSE-MIT or ... | 0 |
solana_public_repos/solana-playground/solana-playground/wasm/rustfmt/deps | solana_public_repos/solana-playground/solana-playground/wasm/rustfmt/deps/libarena/Cargo.toml | [package]
authors = ["The Rust Project Developers"]
name = "arena"
version = "0.0.0"
[lib]
name = "arena"
path = "lib.rs"
[dependencies]
rustc_data_structures = { path = "../librustc_data_structures" } | 0 |
solana_public_repos/solana-playground/solana-playground/wasm/rustfmt/deps | solana_public_repos/solana-playground/solana-playground/wasm/rustfmt/deps/libarena/lib.rs | // Copyright 2012-2014 The Rust Project Developers. See the COPYRIGHT
// file at the top-level directory of this distribution and at
// http://rust-lang.org/COPYRIGHT.
//
// Licensed under the Apache License, Version 2.0 <LICENSE-APACHE or
// http://www.apache.org/licenses/LICENSE-2.0> or the MIT license
// <LICENSE-MI... | 0 |
solana_public_repos/solana-playground/solana-playground/wasm | solana_public_repos/solana-playground/solana-playground/wasm/sugar-cli/Cargo.toml | [package]
name = "sugar-cli-wasm"
version = "1.1.0-alpha+CMv3"
description = "Command line tool for creating and managing Metaplex Candy Machines."
authors = ["Acheron <acheroncrypto@gmail.com>"]
repository = "https://github.com/solana-playground/solana-playground"
license = "GPL-3.0"
homepage = "https://beta.solpg.io"... | 0 |
solana_public_repos/solana-playground/solana-playground/wasm/sugar-cli | solana_public_repos/solana-playground/solana-playground/wasm/sugar-cli/src/js.rs | use wasm_bindgen::prelude::*;
type BundlrAction = u8;
#[wasm_bindgen(raw_module = "/src/commands/sugar/processor.ts")]
extern "C" {
pub type PgSugar;
#[wasm_bindgen(static_method_of = PgSugar)]
pub async fn bundlr(rpc_url: Option<String>, action: BundlrAction);
#[wasm_bindgen(static_method_of = PgSu... | 0 |
solana_public_repos/solana-playground/solana-playground/wasm/sugar-cli | solana_public_repos/solana-playground/solana-playground/wasm/sugar-cli/src/lib.rs | mod cli;
mod js;
use clap::Parser;
use solana_playground_utils_wasm::js::PgTerminal;
use wasm_bindgen::prelude::*;
use crate::{cli::*, js::PgSugar};
#[wasm_bindgen(js_name = "runSugar")]
pub async fn run_sugar(cmd: String) {
let args = cmd.split_ascii_whitespace().collect::<Vec<&str>>();
match Cli::try_pars... | 0 |
solana_public_repos/solana-playground/solana-playground/wasm/sugar-cli | solana_public_repos/solana-playground/solana-playground/wasm/sugar-cli/src/cli.rs | use clap::{Parser, Subcommand};
#[derive(Parser)]
#[clap(version, about)]
pub struct Cli {
#[clap(subcommand)]
pub command: Commands,
}
#[derive(Subcommand)]
pub enum Commands {
/// Interact with the bundlr network
Bundlr {
/// RPC Url
#[clap(short, long)]
rpc_url: Option<Strin... | 0 |
solana_public_repos/solana-playground/solana-playground | solana_public_repos/solana-playground/solana-playground/server/Cargo.toml | [package]
name = "solpg-server"
version = "0.1.0"
edition = "2021"
description = "Solana Playground server"
authors = ["Acheron <acheroncrypto@gmail.com>"]
repository = "https://github.com/solana-playground/solana-playground"
homepage = "https://github.com/solana-playground/solana-playground"
license = "GPL-3.0"
readme... | 0 |
solana_public_repos/solana-playground/solana-playground | solana_public_repos/solana-playground/solana-playground/server/Dockerfile | ################# BASE RUST INSTALLATION TO USE IN OTHER STEPS #################
FROM ubuntu:22.04 as rust
ARG DEBIAN_FRONTEND="noninteractive"
ENV HOME="/root"
# Install build deps
RUN apt-get update -qq && apt-get upgrade -qq && apt-get install -qq \
build-essential curl pkg-config libssl-dev libudev-dev
# In... | 0 |
solana_public_repos/solana-playground/solana-playground | solana_public_repos/solana-playground/solana-playground/server/Cargo.lock | # This file is automatically @generated by Cargo.
# It is not intended for manual editing.
version = 3
[[package]]
name = "addr2line"
version = "0.21.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "8a30b2e23b9e17a9f90641c7ab1549cd9b44f296d3ccbf309d2863cfe398a0cb"
dependencies = [
"giml... | 0 |
solana_public_repos/solana-playground/solana-playground | solana_public_repos/solana-playground/solana-playground/server/compose.yaml | services:
server:
depends_on:
- db
build: .
network_mode: host
db:
image: mongo:7
volumes:
- ./mongodb:/data/db
network_mode: host
# Override the default command because it logs a lot and setting `logging`
# `driver` to `none` doesn't work
command: mongod --quiet --lo... | 0 |
solana_public_repos/solana-playground/solana-playground/server | solana_public_repos/solana-playground/solana-playground/server/programs/Cargo.toml | [package]
name = "solpg"
version = "0.1.0"
edition = "2021"
[lib]
crate-type = ["cdylib", "lib"]
path = "default/src/lib.rs"
[profile.release]
overflow-checks = true
incremental = true
[dependencies]
anchor-lang = { version = "*", features = ["anchor-debug", "allow-missing-optionals", "init-if-needed"] }
anchor-spl ... | 0 |
solana_public_repos/solana-playground/solana-playground/server | solana_public_repos/solana-playground/solana-playground/server/programs/Cargo.lock | # This file is automatically @generated by Cargo.
# It is not intended for manual editing.
version = 3
[[package]]
name = "Inflector"
version = "0.11.4"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "fe438c63458706e03479442743baae6c88256498e6431708f6dfc520a26515d3"
dependencies = [
"lazy... | 0 |
solana_public_repos/solana-playground/solana-playground/server/programs/default | solana_public_repos/solana-playground/solana-playground/server/programs/default/src/lib.rs | use anchor_lang::prelude::*;
// This is your program's public key and it will update
// automatically when you build the project.
declare_id!("11111111111111111111111111111111");
#[program]
mod hello_anchor {
use super::*;
pub fn initialize(ctx: Context<Initialize>, data: u64) -> Result<()> {
ctx.acco... | 0 |
solana_public_repos/solana-playground/solana-playground/server | solana_public_repos/solana-playground/solana-playground/server/src/error.rs | use axum::{
http::StatusCode,
response::{IntoResponse, Response},
};
use tracing::error;
/// Application result type that can be used in API handler functions
pub type Result<T> = core::result::Result<T, Error>;
/// Application error type that can be returned from [`Result`] in API handler functions.
#[derive... | 0 |
solana_public_repos/solana-playground/solana-playground/server | solana_public_repos/solana-playground/solana-playground/server/src/config.rs | use std::str::FromStr;
use dotenv::dotenv;
/// Server configuration
#[derive(Debug)]
pub struct Config {
/// Client URL to allow requests from
pub client_url: String,
/// Port to listen from
pub port: u16,
/// Request payload size limit in bytes
pub payload_limit: usize,
/// Whether logs s... | 0 |
solana_public_repos/solana-playground/solana-playground/server | solana_public_repos/solana-playground/solana-playground/server/src/log.rs | use tracing_subscriber::EnvFilter;
/// Initialize logging in the application.
///
/// Log levels via environment variables are supported similar to [`env-logger`].
///
/// [`env-logger`]: https://github.com/rust-cli/env_logger
pub fn init_logging(verbose: bool) {
let fmt = tracing_subscriber::fmt()
.with_t... | 0 |
solana_public_repos/solana-playground/solana-playground/server | solana_public_repos/solana-playground/solana-playground/server/src/db.rs | use std::{sync::OnceLock, time::Duration};
use anyhow::{anyhow, Result};
use mongodb::{
bson::{doc, oid::ObjectId, Bson},
options::ClientOptions,
Client, Collection,
};
use serde_json::Value;
/// Global database client
static DB: OnceLock<Client> = OnceLock::new();
/// Initialize the global database sing... | 0 |
solana_public_repos/solana-playground/solana-playground/server | solana_public_repos/solana-playground/solana-playground/server/src/main.rs | mod config;
mod db;
mod error;
mod log;
mod middlewares;
mod program;
mod routes;
use std::net::{Ipv4Addr, SocketAddr};
use anyhow::Result;
use axum::{
middleware,
routing::{get, post},
Router,
};
use tokio::net::TcpListener;
use tracing::info;
use self::{config::Config, log::init_logging, middlewares::*... | 0 |
solana_public_repos/solana-playground/solana-playground/server | solana_public_repos/solana-playground/solana-playground/server/src/program.rs | use std::{fs, path::Path, process::Command, sync::OnceLock};
use anchor_syn::idl::{parse::file::parse as parse_idl, types::Idl};
use anyhow::anyhow;
use regex::Regex;
/// Directory name of where the programs are stored
const PROGRAMS_DIR: &str = "programs";
/// Maximum amount of files to pass to the [`build`] functi... | 0 |
solana_public_repos/solana-playground/solana-playground/server/src | solana_public_repos/solana-playground/solana-playground/server/src/middlewares/limit.rs | use tower_http::limit::RequestBodyLimitLayer;
/// Create a payload limit middleware.
///
/// A response with status code 413(Payload Too Large) is returned for any payload above `limit`.
pub fn payload_limit(limit: usize) -> RequestBodyLimitLayer {
RequestBodyLimitLayer::new(limit)
}
| 0 |
solana_public_repos/solana-playground/solana-playground/server/src | solana_public_repos/solana-playground/solana-playground/server/src/middlewares/compression.rs | use tower_http::compression::CompressionLayer;
/// Create a compression middleware.
///
/// The compression algorithm used will be based on the request headers.
pub fn compression() -> CompressionLayer {
CompressionLayer::new()
}
| 0 |
solana_public_repos/solana-playground/solana-playground/server/src | solana_public_repos/solana-playground/solana-playground/server/src/middlewares/log.rs | use axum::{extract::Request, middleware::Next, response::IntoResponse};
use tracing::{error, info};
/// Create a logging middleware.
///
/// [`TraceLayer`] is intentionally avoided because customization experience is awful.
///
/// [`TraceLayer`]: https://docs.rs/tower-http/0.5.0/tower_http/trace/struct.TraceLayer.htm... | 0 |
solana_public_repos/solana-playground/solana-playground/server/src | solana_public_repos/solana-playground/solana-playground/server/src/middlewares/cors.rs | use std::time::Duration;
use http::{header, Method};
use tower_http::cors::{AllowOrigin, CorsLayer};
use tracing::error;
/// Create a CORS middleware.
///
/// Request origins other than `client_url` and `localhost` are not allowed.
pub fn cors(client_url: String) -> CorsLayer {
CorsLayer::new()
.allow_ori... | 0 |
solana_public_repos/solana-playground/solana-playground/server/src | solana_public_repos/solana-playground/solana-playground/server/src/middlewares/mod.rs | mod compression;
mod cors;
mod limit;
mod log;
pub use compression::compression;
pub use cors::cors;
pub use limit::payload_limit;
pub use log::log;
| 0 |
solana_public_repos/solana-playground/solana-playground/server/src | solana_public_repos/solana-playground/solana-playground/server/src/routes/deploy.rs | use anyhow::anyhow;
use axum::{extract::Path, response::IntoResponse};
use tokio::io;
use crate::{error::Result, program};
/// Get the program binary.
///
/// Program deployments are not done in the server, the server is only responsible for sending the
/// program binary to the client.
pub async fn deploy(Path(uuid)... | 0 |
solana_public_repos/solana-playground/solana-playground/server/src | solana_public_repos/solana-playground/solana-playground/server/src/routes/build.rs | use anchor_syn::idl::types::Idl;
use anyhow::anyhow;
use axum::{extract::Json, response::IntoResponse};
use serde::{Deserialize, Serialize};
use tokio::task;
use uuid::Uuid;
use crate::{
error::Result,
program::{self, Files},
};
/// Build request
#[derive(Deserialize)]
pub struct BuildRequest {
/// Progra... | 0 |
solana_public_repos/solana-playground/solana-playground/server/src | solana_public_repos/solana-playground/solana-playground/server/src/routes/mod.rs | mod build;
mod deploy;
mod share;
pub use build::build;
pub use deploy::deploy;
pub use share::{share_get, share_new};
| 0 |
solana_public_repos/solana-playground/solana-playground/server/src | solana_public_repos/solana-playground/solana-playground/server/src/routes/share.rs | use anyhow::anyhow;
use axum::{extract::Path, response::IntoResponse, Json};
use serde::Deserialize;
use serde_json::Value;
use crate::{db, error::Result};
/// Collection name of shares in database
const COLLECTION: &str = "share";
/// Get the share from its id.
pub async fn share_get(Path(id): Path<String>) -> Resu... | 0 |
solana_public_repos/solana-playground/solana-playground | solana_public_repos/solana-playground/solana-playground/vscode/.yarnrc | --ignore-engines true | 0 |
solana_public_repos/solana-playground/solana-playground | solana_public_repos/solana-playground/solana-playground/vscode/.vscodeignore | .vscode/**
.vscode-test/**
out/**
node_modules/**
src/**
.gitignore
.yarnrc
webpack.config.js
vsc-extension-quickstart.md
**/tsconfig.json
**/.eslintrc.json
**/*.map
**/*.ts
| 0 |
solana_public_repos/solana-playground/solana-playground | solana_public_repos/solana-playground/solana-playground/vscode/webpack.config.js | //@ts-check
"use strict";
const path = require("path");
//@ts-check
/** @typedef {import('webpack').Configuration} WebpackConfig **/
/** @type WebpackConfig */
const extensionConfig = {
target: "node", // VS Code extensions run in a Node.js-context 📖 -> https://webpack.js.org/configuration/node/
mode: "none", ... | 0 |
solana_public_repos/solana-playground/solana-playground | solana_public_repos/solana-playground/solana-playground/vscode/yarn.lock | # THIS IS AN AUTOGENERATED FILE. DO NOT EDIT THIS FILE DIRECTLY.
# yarn lockfile v1
"@babel/runtime@^7.12.5", "@babel/runtime@^7.17.2":
version "7.20.1"
resolved "https://registry.yarnpkg.com/@babel/runtime/-/runtime-7.20.1.tgz#1148bb33ab252b165a06698fde7576092a78b4a9"
integrity sha512-mrzLkl6U9YLF8qpqI7TB82PES... | 0 |
solana_public_repos/solana-playground/solana-playground | solana_public_repos/solana-playground/solana-playground/vscode/package.json | {
"name": "solpg",
"displayName": "Solana Playground",
"description": "Commands and snippets to help Solana development in VS Code",
"version": "0.0.10",
"author": {
"name": "acheron",
"url": "https://github.com/acheroncrypto"
},
"license": "GPL-3.0",
"private": true,
"repository": {
"type... | 0 |
solana_public_repos/solana-playground/solana-playground | solana_public_repos/solana-playground/solana-playground/vscode/tsconfig.json | {
"compilerOptions": {
"module": "commonjs",
"target": "ES2020",
"lib": [
"ES2020"
],
"sourceMap": true,
"rootDir": "src",
"strict": true /* enable all strict type-checking options */
/* Additional Checks */
// "noImplicitReturns": true, /* Report error when not all code paths in function return... | 0 |
solana_public_repos/solana-playground/solana-playground | solana_public_repos/solana-playground/solana-playground/vscode/.eslintrc.json | {
"root": true,
"parser": "@typescript-eslint/parser",
"parserOptions": {
"ecmaVersion": 6,
"sourceType": "module"
},
"plugins": [
"@typescript-eslint"
],
"rules": {
"@typescript-eslint/naming-convention": "warn",
"@typescript-eslint/semi": "warn",
... | 0 |
solana_public_repos/solana-playground/solana-playground/vscode | solana_public_repos/solana-playground/solana-playground/vscode/snippets/rust.json | {
"Create struct": {
"prefix": "create struct(cst)",
"body": "struct ${1:MyStruct} {\n\t${2}\n}",
"description": "Create struct"
},
"Create pub struct": {
"prefix": "create pub struct(cpst)",
"body": "pub struct ${1:MyStruct} {\n\t${2}\n}",
"description": "Create pub struct"
},
"Create... | 0 |
solana_public_repos/solana-playground/solana-playground/vscode | solana_public_repos/solana-playground/solana-playground/vscode/snippets/python.json | {
"Import seahorse prelude": {
"prefix": "import seahorse prelude(isp)",
"body": "from seahorse.prelude import *",
"description": "Import Seahorse Prelude"
},
"Declare id": {
"prefix": "declare id(di)",
"body": "declare_id('${1}')",
"description": "Declare program id"
},
"Print message... | 0 |
solana_public_repos/solana-playground/solana-playground/vscode | solana_public_repos/solana-playground/solana-playground/vscode/.vscode/settings.json | // Place your settings in this file to overwrite default and user settings.
{
"files.exclude": {
"out": false, // set this to true to hide the "out" folder with the compiled JS files
"dist": false // set this to true to hide the "dist" folder with the compiled JS files
},
"search.exclude": {... | 0 |
solana_public_repos/solana-playground/solana-playground/vscode | solana_public_repos/solana-playground/solana-playground/vscode/.vscode/extensions.json | {
// See http://go.microsoft.com/fwlink/?LinkId=827846
// for the documentation about the extensions.json format
"recommendations": ["dbaeumer.vscode-eslint", "amodio.tsl-problem-matcher"]
}
| 0 |
solana_public_repos/solana-playground/solana-playground/vscode | solana_public_repos/solana-playground/solana-playground/vscode/.vscode/launch.json | // A launch configuration that compiles the extension and then opens it inside a new window
// Use IntelliSense to learn about possible attributes.
// Hover to view descriptions of existing attributes.
// For more information, visit: https://go.microsoft.com/fwlink/?linkid=830387
{
"version": "0.2.0",
"configurations... | 0 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.