Move src/ into core/src. Top-level crate is now called solana-workspace
This commit is contained in:
parent
7b849b042c
commit
5f5d779ee1
|
@ -1,6 +1,7 @@
|
|||
/target/
|
||||
/ledger-tool/target/
|
||||
/wallet/target/
|
||||
/core/target/
|
||||
/book/html/
|
||||
/book/src/img/
|
||||
/book/src/tests.ok
|
||||
|
|
|
@ -2377,6 +2377,26 @@ dependencies = [
|
|||
"solana-vote-signer 0.12.0",
|
||||
]
|
||||
|
||||
[[package]]
|
||||
name = "solana-workspace"
|
||||
version = "0.12.0"
|
||||
dependencies = [
|
||||
"bincode 1.1.2 (registry+https://github.com/rust-lang/crates.io-index)",
|
||||
"bs58 0.2.2 (registry+https://github.com/rust-lang/crates.io-index)",
|
||||
"hashbrown 0.1.8 (registry+https://github.com/rust-lang/crates.io-index)",
|
||||
"log 0.4.6 (registry+https://github.com/rust-lang/crates.io-index)",
|
||||
"rand 0.6.5 (registry+https://github.com/rust-lang/crates.io-index)",
|
||||
"rayon 1.0.3 (registry+https://github.com/rust-lang/crates.io-index)",
|
||||
"reqwest 0.9.10 (registry+https://github.com/rust-lang/crates.io-index)",
|
||||
"serde_json 1.0.39 (registry+https://github.com/rust-lang/crates.io-index)",
|
||||
"solana 0.12.0",
|
||||
"solana-logger 0.12.0",
|
||||
"solana-netutil 0.12.0",
|
||||
"solana-runtime 0.12.0",
|
||||
"solana-sdk 0.12.0",
|
||||
"sys-info 0.5.6 (registry+https://github.com/rust-lang/crates.io-index)",
|
||||
]
|
||||
|
||||
[[package]]
|
||||
name = "solana_rbpf"
|
||||
version = "0.1.10"
|
||||
|
|
46
Cargo.toml
46
Cargo.toml
|
@ -1,5 +1,5 @@
|
|||
[package]
|
||||
name = "solana"
|
||||
name = "solana-workspace"
|
||||
description = "Blockchain, Rebuilt for Scale"
|
||||
version = "0.12.0"
|
||||
documentation = "https://docs.rs/solana"
|
||||
|
@ -14,55 +14,28 @@ edition = "2018"
|
|||
codecov = { repository = "solana-labs/solana", branch = "master", service = "github" }
|
||||
|
||||
[features]
|
||||
chacha = []
|
||||
cuda = []
|
||||
erasure = []
|
||||
ipv6 = ["solana-netutil/ipv6"]
|
||||
test = []
|
||||
unstable = []
|
||||
chacha = ["solana/chacha"]
|
||||
cuda = ["solana/cuda"]
|
||||
erasure = ["solana/erasure"]
|
||||
ipv6 = ["solana/ipv6", "solana-netutil/ipv6"]
|
||||
test = ["solana/test"]
|
||||
unstable = ["solana/unstable"]
|
||||
|
||||
[dependencies]
|
||||
[dev-dependencies]
|
||||
bincode = "1.1.2"
|
||||
bs58 = "0.2.0"
|
||||
byteorder = "1.3.1"
|
||||
chrono = { version = "0.4.0", features = ["serde"] }
|
||||
hashbrown = "0.1.8"
|
||||
indexmap = "1.0"
|
||||
itertools = "0.8.0"
|
||||
jsonrpc-core = "10.1.0"
|
||||
jsonrpc-derive = "10.1.0"
|
||||
jsonrpc-http-server = "10.1.0"
|
||||
jsonrpc-pubsub = "10.1.0"
|
||||
jsonrpc-ws-server = "10.1.0"
|
||||
libc = "0.2.49"
|
||||
log = "0.4.2"
|
||||
nix = "0.13.0"
|
||||
rand = "0.6.5"
|
||||
rand_chacha = "0.1.1"
|
||||
rayon = "1.0.0"
|
||||
reqwest = "0.9.10"
|
||||
ring = "0.13.2"
|
||||
rocksdb = "0.11.0"
|
||||
serde = "1.0.89"
|
||||
serde_derive = "1.0.89"
|
||||
serde_json = "1.0.39"
|
||||
solana-drone = { path = "drone", version = "0.12.0" }
|
||||
solana = { path = "core", version = "0.12.0" }
|
||||
solana-logger = { path = "logger", version = "0.12.0" }
|
||||
solana-metrics = { path = "metrics", version = "0.12.0" }
|
||||
solana-netutil = { path = "netutil", version = "0.12.0" }
|
||||
solana-runtime = { path = "runtime", version = "0.12.0" }
|
||||
solana-sdk = { path = "sdk", version = "0.12.0" }
|
||||
solana-vote-signer = { path = "vote-signer", version = "0.12.0" }
|
||||
sys-info = "0.5.6"
|
||||
tokio = "0.1"
|
||||
tokio-codec = "0.1"
|
||||
untrusted = "0.6.2"
|
||||
|
||||
[dev-dependencies]
|
||||
hex-literal = "0.1.3"
|
||||
matches = "0.1.6"
|
||||
solana-vote-program = { path = "programs/native/vote", version = "0.12.0" }
|
||||
solana-budget-program = { path = "programs/native/budget", version = "0.12.0" }
|
||||
|
||||
[[bench]]
|
||||
name = "banking_stage"
|
||||
|
@ -88,6 +61,7 @@ members = [
|
|||
".",
|
||||
"bench-streamer",
|
||||
"bench-tps",
|
||||
"core",
|
||||
"drone",
|
||||
"fullnode",
|
||||
"fullnode-config",
|
||||
|
|
|
@ -9,7 +9,7 @@ homepage = "https://solana.com/"
|
|||
|
||||
[dependencies]
|
||||
clap = "2.32.0"
|
||||
solana = { path = "..", version = "0.12.0" }
|
||||
solana = { path = "../core", version = "0.12.0" }
|
||||
solana-logger = { path = "../logger", version = "0.12.0" }
|
||||
solana-netutil = { path = "../netutil", version = "0.12.0" }
|
||||
|
||||
|
|
|
@ -11,7 +11,7 @@ homepage = "https://solana.com/"
|
|||
clap = "2.32.0"
|
||||
rayon = "1.0.3"
|
||||
serde_json = "1.0.39"
|
||||
solana = { path = "..", version = "0.12.0" }
|
||||
solana = { path = "../core", version = "0.12.0" }
|
||||
solana-drone = { path = "../drone", version = "0.12.0" }
|
||||
solana-logger = { path = "../logger", version = "0.12.0" }
|
||||
solana-metrics = { path = "../metrics", version = "0.12.0" }
|
||||
|
|
|
@ -18,7 +18,7 @@ CRATES=(
|
|||
metrics
|
||||
drone
|
||||
programs/native/{budget,bpf_loader,native_loader,noop,system,vote}
|
||||
.
|
||||
core
|
||||
fullnode-config
|
||||
fullnode
|
||||
genesis
|
||||
|
|
|
@ -0,0 +1,66 @@
|
|||
[package]
|
||||
name = "solana"
|
||||
description = "Blockchain, Rebuilt for Scale"
|
||||
version = "0.12.0"
|
||||
documentation = "https://docs.rs/solana"
|
||||
homepage = "https://solana.com/"
|
||||
readme = "README.md"
|
||||
repository = "https://github.com/solana-labs/solana"
|
||||
authors = ["Solana Maintainers <maintainers@solana.com>"]
|
||||
license = "Apache-2.0"
|
||||
edition = "2018"
|
||||
|
||||
[badges]
|
||||
codecov = { repository = "solana-labs/solana", branch = "master", service = "github" }
|
||||
|
||||
[features]
|
||||
chacha = []
|
||||
cuda = []
|
||||
erasure = []
|
||||
ipv6 = ["solana-netutil/ipv6"]
|
||||
test = []
|
||||
unstable = []
|
||||
|
||||
[dependencies]
|
||||
bincode = "1.1.2"
|
||||
bs58 = "0.2.0"
|
||||
byteorder = "1.3.1"
|
||||
chrono = { version = "0.4.0", features = ["serde"] }
|
||||
hashbrown = "0.1.8"
|
||||
indexmap = "1.0"
|
||||
itertools = "0.8.0"
|
||||
jsonrpc-core = "10.1.0"
|
||||
jsonrpc-derive = "10.1.0"
|
||||
jsonrpc-http-server = "10.1.0"
|
||||
jsonrpc-pubsub = "10.1.0"
|
||||
jsonrpc-ws-server = "10.1.0"
|
||||
libc = "0.2.49"
|
||||
log = "0.4.2"
|
||||
nix = "0.13.0"
|
||||
rand = "0.6.5"
|
||||
rand_chacha = "0.1.1"
|
||||
rayon = "1.0.0"
|
||||
reqwest = "0.9.10"
|
||||
ring = "0.13.2"
|
||||
rocksdb = "0.11.0"
|
||||
serde = "1.0.89"
|
||||
serde_derive = "1.0.88"
|
||||
serde_json = "1.0.39"
|
||||
solana-drone = { path = "../drone", version = "0.12.0" }
|
||||
solana-logger = { path = "../logger", version = "0.12.0" }
|
||||
solana-metrics = { path = "../metrics", version = "0.12.0" }
|
||||
solana-netutil = { path = "../netutil", version = "0.12.0" }
|
||||
solana-runtime = { path = "../runtime", version = "0.12.0" }
|
||||
solana-sdk = { path = "../sdk", version = "0.12.0" }
|
||||
solana-vote-signer = { path = "../vote-signer", version = "0.12.0" }
|
||||
sys-info = "0.5.6"
|
||||
tokio = "0.1"
|
||||
tokio-codec = "0.1"
|
||||
untrusted = "0.6.2"
|
||||
|
||||
[dev-dependencies]
|
||||
hex-literal = "0.1.3"
|
||||
matches = "0.1.6"
|
||||
solana-vote-program = { path = "../programs/native/vote", version = "0.12.0" }
|
||||
solana-budget-program = { path = "../programs/native/budget", version = "0.12.0" }
|
||||
|
|
@ -12,7 +12,7 @@ homepage = "https://solana.com/"
|
|||
clap = "2.32.0"
|
||||
log = "0.4.2"
|
||||
serde_json = "1.0.39"
|
||||
solana = { path = "..", version = "0.12.0" }
|
||||
solana = { path = "../core", version = "0.12.0" }
|
||||
solana-drone = { path = "../drone", version = "0.12.0" }
|
||||
solana-fullnode-config = { path = "../fullnode-config", version = "0.12.0" }
|
||||
solana-logger = { path = "../logger", version = "0.12.0" }
|
||||
|
|
|
@ -11,7 +11,7 @@ homepage = "https://solana.com/"
|
|||
[dependencies]
|
||||
clap = "2.32.0"
|
||||
serde_json = "1.0.39"
|
||||
solana = { path = "..", version = "0.12.0" }
|
||||
solana = { path = "../core", version = "0.12.0" }
|
||||
solana-sdk = { path = "../sdk", version = "0.12.0" }
|
||||
|
||||
[features]
|
||||
|
|
|
@ -11,7 +11,7 @@ homepage = "https://solana.com/"
|
|||
[dependencies]
|
||||
clap = "2.32.0"
|
||||
serde_json = "1.0.39"
|
||||
solana = { path = "..", version = "0.12.0" }
|
||||
solana = { path = "../core", version = "0.12.0" }
|
||||
solana-sdk = { path = "../sdk", version = "0.12.0" }
|
||||
solana-logger = { path = "../logger", version = "0.12.0" }
|
||||
solana-runtime = { path = "../runtime", version = "0.12.0" }
|
||||
|
|
|
@ -18,7 +18,7 @@ cuda = ["solana/cuda"]
|
|||
erasure = ["solana/erasure"]
|
||||
|
||||
[dependencies]
|
||||
solana = { path = "..", version = "0.12.0" }
|
||||
solana = { path = "../core", version = "0.12.0" }
|
||||
solana-bpfloader = { path = "native/bpf_loader", version = "0.12.0" }
|
||||
solana-logger = { path = "../logger", version = "0.12.0" }
|
||||
solana-native-loader = { path = "native/native_loader", version = "0.12.0" }
|
||||
|
|
|
@ -10,7 +10,7 @@ homepage = "https://solana.com/"
|
|||
[dependencies]
|
||||
clap = "2.32.0"
|
||||
serde_json = "1.0.39"
|
||||
solana = { path = "..", version = "0.12.0" }
|
||||
solana = { path = "../core", version = "0.12.0" }
|
||||
solana-logger = { path = "../logger", version = "0.12.0" }
|
||||
solana-fullnode-config = { path = "../fullnode-config", version = "0.12.0" }
|
||||
solana-sdk = { path = "../sdk", version = "0.12.0" }
|
||||
|
|
|
@ -16,7 +16,7 @@ chrono = { version = "0.4.0", features = ["serde"] }
|
|||
dirs = "1.0.5"
|
||||
log = "0.4.2"
|
||||
serde_json = "1.0.39"
|
||||
solana = { path = "..", version = "0.12.0" }
|
||||
solana = { path = "../core", version = "0.12.0" }
|
||||
solana-drone = { path = "../drone", version = "0.12.0" }
|
||||
solana-logger = { path = "../logger", version = "0.12.0" }
|
||||
solana-sdk = { path = "../sdk", version = "0.12.0" }
|
||||
|
|
Loading…
Reference in New Issue