Skip to content
This repository has been archived by the owner on Jan 13, 2025. It is now read-only.

Commit

Permalink
Only build x86_64-unknown-linux-gnu on docs.rs
Browse files Browse the repository at this point in the history
  • Loading branch information
mvines committed Apr 17, 2020
1 parent 66abe45 commit 6c27434
Show file tree
Hide file tree
Showing 84 changed files with 252 additions and 0 deletions.
3 changes: 3 additions & 0 deletions accounts-bench/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -17,3 +17,6 @@ solana-sdk = { path = "../sdk", version = "1.2.0" }
rand = "0.6.5"
clap = "2.33.0"
crossbeam-channel = "0.4"

[package.metadata.docs.rs]
targets = ["x86_64-unknown-linux-gnu"]
3 changes: 3 additions & 0 deletions archiver-lib/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -38,3 +38,6 @@ hex = "0.4.2"

[lib]
name = "solana_archiver_lib"

[package.metadata.docs.rs]
targets = ["x86_64-unknown-linux-gnu"]
3 changes: 3 additions & 0 deletions archiver-utils/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -23,3 +23,6 @@ hex = "0.4.2"

[lib]
name = "solana_archiver_utils"

[package.metadata.docs.rs]
targets = ["x86_64-unknown-linux-gnu"]
3 changes: 3 additions & 0 deletions archiver/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -18,3 +18,6 @@ solana-archiver-lib = { path = "../archiver-lib", version = "1.2.0" }
solana-net-utils = { path = "../net-utils", version = "1.2.0" }
solana-sdk = { path = "../sdk", version = "1.2.0" }


[package.metadata.docs.rs]
targets = ["x86_64-unknown-linux-gnu"]
3 changes: 3 additions & 0 deletions banking-bench/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -20,3 +20,6 @@ solana-measure = { path = "../measure", version = "1.2.0" }
solana-sdk = { path = "../sdk", version = "1.2.0" }
rand = "0.6.5"
crossbeam-channel = "0.4"

[package.metadata.docs.rs]
targets = ["x86_64-unknown-linux-gnu"]
3 changes: 3 additions & 0 deletions bench-exchange/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -32,3 +32,6 @@ solana-sdk = { path = "../sdk", version = "1.2.0" }

[dev-dependencies]
solana-local-cluster = { path = "../local-cluster", version = "1.2.0" }

[package.metadata.docs.rs]
targets = ["x86_64-unknown-linux-gnu"]
3 changes: 3 additions & 0 deletions bench-streamer/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -13,3 +13,6 @@ solana-clap-utils = { path = "../clap-utils", version = "1.2.0" }
solana-streamer = { path = "../streamer", version = "1.2.0" }
solana-logger = { path = "../logger", version = "1.2.0" }
solana-net-utils = { path = "../net-utils", version = "1.2.0" }

[package.metadata.docs.rs]
targets = ["x86_64-unknown-linux-gnu"]
3 changes: 3 additions & 0 deletions bench-tps/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -35,3 +35,6 @@ solana-local-cluster = { path = "../local-cluster", version = "1.2.0" }

[features]
move = ["solana-librapay", "solana-move-loader-program"]

[package.metadata.docs.rs]
targets = ["x86_64-unknown-linux-gnu"]
3 changes: 3 additions & 0 deletions chacha-cuda/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -22,3 +22,6 @@ hex-literal = "0.2.1"

[lib]
name = "solana_chacha_cuda"

[package.metadata.docs.rs]
targets = ["x86_64-unknown-linux-gnu"]
3 changes: 3 additions & 0 deletions chacha-sys/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -10,3 +10,6 @@ edition = "2018"

[build-dependencies]
cc = "1.0.49"

[package.metadata.docs.rs]
targets = ["x86_64-unknown-linux-gnu"]
3 changes: 3 additions & 0 deletions chacha/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -23,3 +23,6 @@ hex-literal = "0.2.1"

[lib]
name = "solana_chacha"

[package.metadata.docs.rs]
targets = ["x86_64-unknown-linux-gnu"]
3 changes: 3 additions & 0 deletions clap-utils/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -20,3 +20,6 @@ chrono = "0.4"

[lib]
name = "solana_clap_utils"

[package.metadata.docs.rs]
targets = ["x86_64-unknown-linux-gnu"]
3 changes: 3 additions & 0 deletions cli-config/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -15,3 +15,6 @@ serde = "1.0.106"
serde_derive = "1.0.103"
serde_yaml = "0.8.11"
url = "2.1.1"

[package.metadata.docs.rs]
targets = ["x86_64-unknown-linux-gnu"]
3 changes: 3 additions & 0 deletions cli/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -54,3 +54,6 @@ tempfile = "3.1.0"
[[bin]]
name = "solana"
path = "src/main.rs"

[package.metadata.docs.rs]
targets = ["x86_64-unknown-linux-gnu"]
3 changes: 3 additions & 0 deletions client/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -32,3 +32,6 @@ assert_matches = "1.3.0"
jsonrpc-core = "14.0.5"
jsonrpc-http-server = "14.0.6"
solana-logger = { path = "../logger", version = "1.2.0" }

[package.metadata.docs.rs]
targets = ["x86_64-unknown-linux-gnu"]
3 changes: 3 additions & 0 deletions core/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -104,3 +104,6 @@ name = "cluster_info"
[[bench]]
name = "chacha"
required-features = ["chacha"]

[package.metadata.docs.rs]
targets = ["x86_64-unknown-linux-gnu"]
3 changes: 3 additions & 0 deletions crate-features/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -26,3 +26,6 @@ syn_0_15 = { package = "syn", version = "0.15.42", features = ["extra-traits", "
syn_1_0 = { package = "syn", version = "1.0.3", features = ["extra-traits", "fold", "full"] }
tokio = { version = "0.1.22",features=["bytes", "codec", "default", "fs", "io", "mio", "num_cpus", "reactor", "rt-full", "sync", "tcp", "timer", "tokio-codec", "tokio-current-thread", "tokio-executor", "tokio-io", "tokio-io", "tokio-reactor", "tokio-tcp", "tokio-tcp", "tokio-threadpool", "tokio-timer", "tokio-udp", "tokio-uds", "udp", "uds"] }
winapi = { version = "0.3.8", features=["basetsd", "consoleapi", "errhandlingapi", "fileapi", "handleapi", "impl-debug", "impl-default", "knownfolders", "libloaderapi", "memoryapi", "minwinbase", "minwindef", "ntdef", "ntsecapi", "ntstatus", "objbase", "processenv", "processthreadsapi", "profileapi", "shlobj", "std", "synchapi", "sysinfoapi", "timezoneapi", "utilapiset", "winbase", "wincon", "windef", "winerror", "winnls", "winnt", "winreg", "winsock2", "winuser", "ws2def", "ws2ipdef", "ws2tcpip", "wtypesbase"] }

[package.metadata.docs.rs]
targets = ["x86_64-unknown-linux-gnu"]
3 changes: 3 additions & 0 deletions dos/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -18,3 +18,6 @@ solana-logger = { path = "../logger", version = "1.2.0" }
solana-net-utils = { path = "../net-utils", version = "1.2.0" }
solana-runtime = { path = "../runtime", version = "1.2.0" }
solana-sdk = { path = "../sdk", version = "1.2.0" }

[package.metadata.docs.rs]
targets = ["x86_64-unknown-linux-gnu"]
3 changes: 3 additions & 0 deletions download-utils/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -21,3 +21,6 @@ tar = "0.4.26"
[lib]
crate-type = ["lib"]
name = "solana_download_utils"

[package.metadata.docs.rs]
targets = ["x86_64-unknown-linux-gnu"]
3 changes: 3 additions & 0 deletions faucet/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -33,3 +33,6 @@ name = "solana_faucet"
[[bin]]
name = "solana-faucet"
path = "src/bin/faucet.rs"

[package.metadata.docs.rs]
targets = ["x86_64-unknown-linux-gnu"]
3 changes: 3 additions & 0 deletions genesis-programs/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -24,3 +24,6 @@ solana-vote-program = { path = "../programs/vote", version = "1.2.0" }
[lib]
crate-type = ["lib"]
name = "solana_genesis_programs"

[package.metadata.docs.rs]
targets = ["x86_64-unknown-linux-gnu"]
3 changes: 3 additions & 0 deletions genesis/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -31,3 +31,6 @@ path = "src/main.rs"

[lib]
name = "solana_genesis"

[package.metadata.docs.rs]
targets = ["x86_64-unknown-linux-gnu"]
3 changes: 3 additions & 0 deletions gossip/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -19,3 +19,6 @@ solana-sdk = { path = "../sdk", version = "1.2.0" }




[package.metadata.docs.rs]
targets = ["x86_64-unknown-linux-gnu"]
3 changes: 3 additions & 0 deletions install/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -45,3 +45,6 @@ path = "src/main-install.rs"
[[bin]]
name = "solana-install-init"
path = "src/main-install-init.rs"

[package.metadata.docs.rs]
targets = ["x86_64-unknown-linux-gnu"]
3 changes: 3 additions & 0 deletions keygen/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -22,3 +22,6 @@ tiny-bip39 = "0.7.0"
[[bin]]
name = "solana-keygen"
path = "src/keygen.rs"

[package.metadata.docs.rs]
targets = ["x86_64-unknown-linux-gnu"]
3 changes: 3 additions & 0 deletions ledger-tool/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -27,3 +27,6 @@ tempfile = "3.1.0"

[dev-dependencies]
assert_cmd = "1.0"

[package.metadata.docs.rs]
targets = ["x86_64-unknown-linux-gnu"]
3 changes: 3 additions & 0 deletions ledger/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -67,3 +67,6 @@ name = "solana_ledger"

[[bench]]
name = "sigverify_shreds"

[package.metadata.docs.rs]
targets = ["x86_64-unknown-linux-gnu"]
3 changes: 3 additions & 0 deletions local-cluster/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -35,3 +35,6 @@ solana-rayon-threadlimit = { path = "../rayon-threadlimit", version = "1.2.0" }
assert_matches = "1.3.0"
serial_test = "0.4.0"
serial_test_derive = "0.4.0"

[package.metadata.docs.rs]
targets = ["x86_64-unknown-linux-gnu"]
3 changes: 3 additions & 0 deletions log-analyzer/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -20,3 +20,6 @@ solana-logger = { path = "../logger", version = "1.2.0" }
[[bin]]
name = "solana-log-analyzer"
path = "src/main.rs"

[package.metadata.docs.rs]
targets = ["x86_64-unknown-linux-gnu"]
3 changes: 3 additions & 0 deletions logger/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -15,3 +15,6 @@ log = "0.4.8"

[lib]
name = "solana_logger"

[package.metadata.docs.rs]
targets = ["x86_64-unknown-linux-gnu"]
3 changes: 3 additions & 0 deletions measure/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -18,3 +18,6 @@ solana-metrics = { path = "../metrics", version = "1.2.0" }
[target."cfg(unix)".dependencies]
jemallocator = "0.3.2"
jemalloc-ctl = "0.3.2"

[package.metadata.docs.rs]
targets = ["x86_64-unknown-linux-gnu"]
3 changes: 3 additions & 0 deletions merkle-tree/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -18,3 +18,6 @@ hex = "0.4.2"
[lib]
crate-type = ["lib"]
name = "solana_merkle_tree"

[package.metadata.docs.rs]
targets = ["x86_64-unknown-linux-gnu"]
3 changes: 3 additions & 0 deletions metrics/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -23,3 +23,6 @@ serial_test_derive = "0.4.0"

[lib]
name = "solana_metrics"

[package.metadata.docs.rs]
targets = ["x86_64-unknown-linux-gnu"]
3 changes: 3 additions & 0 deletions net-shaper/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -20,3 +20,6 @@ rand = "0.6.5"
[[bin]]
name = "solana-net-shaper"
path = "src/main.rs"

[package.metadata.docs.rs]
targets = ["x86_64-unknown-linux-gnu"]
3 changes: 3 additions & 0 deletions net-utils/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -33,3 +33,6 @@ path = "src/bin/ip_address.rs"
[[bin]]
name = "solana-ip-address-server"
path = "src/bin/ip_address_server.rs"

[package.metadata.docs.rs]
targets = ["x86_64-unknown-linux-gnu"]
3 changes: 3 additions & 0 deletions perf/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -31,3 +31,6 @@ matches = "0.1.6"

[[bench]]
name = "sigverify"

[package.metadata.docs.rs]
targets = ["x86_64-unknown-linux-gnu"]
3 changes: 3 additions & 0 deletions programs/bpf/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -49,3 +49,6 @@ members = [
"rust/param_passing_dep",
"rust/sysval",
]

[package.metadata.docs.rs]
targets = ["x86_64-unknown-linux-gnu"]
3 changes: 3 additions & 0 deletions programs/bpf/rust/128bit/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -25,3 +25,6 @@ default = ["program"]
[lib]
name = "solana_bpf_rust_128bit"
crate-type = ["cdylib"]

[package.metadata.docs.rs]
targets = ["x86_64-unknown-linux-gnu"]
3 changes: 3 additions & 0 deletions programs/bpf/rust/128bit_dep/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -20,3 +20,6 @@ solana-sdk-bpf-test = { path = "../../../../sdk/bpf/rust/test", version = "1.2.0
[features]
program = ["solana-sdk/program"]
default = ["program"]

[package.metadata.docs.rs]
targets = ["x86_64-unknown-linux-gnu"]
3 changes: 3 additions & 0 deletions programs/bpf/rust/alloc/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -24,3 +24,6 @@ default = ["program"]
[lib]
name = "solana_bpf_rust_alloc"
crate-type = ["cdylib"]

[package.metadata.docs.rs]
targets = ["x86_64-unknown-linux-gnu"]
3 changes: 3 additions & 0 deletions programs/bpf/rust/dep_crate/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -25,3 +25,6 @@ default = ["program"]
[lib]
name = "solana_bpf_rust_dep_crate"
crate-type = ["cdylib"]

[package.metadata.docs.rs]
targets = ["x86_64-unknown-linux-gnu"]
3 changes: 3 additions & 0 deletions programs/bpf/rust/dup_accounts/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -24,3 +24,6 @@ default = ["program"]
[lib]
name = "solana_bpf_rust_dup_accounts"
crate-type = ["cdylib"]

[package.metadata.docs.rs]
targets = ["x86_64-unknown-linux-gnu"]
3 changes: 3 additions & 0 deletions programs/bpf/rust/error_handling/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -27,3 +27,6 @@ default = ["program"]
[lib]
name = "solana_bpf_rust_error_handling"
crate-type = ["cdylib"]

[package.metadata.docs.rs]
targets = ["x86_64-unknown-linux-gnu"]
3 changes: 3 additions & 0 deletions programs/bpf/rust/external_spend/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -24,3 +24,6 @@ default = ["program"]
[lib]
name = "solana_bpf_rust_external_spend"
crate-type = ["cdylib"]

[package.metadata.docs.rs]
targets = ["x86_64-unknown-linux-gnu"]
3 changes: 3 additions & 0 deletions programs/bpf/rust/iter/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -24,3 +24,6 @@ default = ["program"]
[lib]
name = "solana_bpf_rust_iter"
crate-type = ["cdylib"]

[package.metadata.docs.rs]
targets = ["x86_64-unknown-linux-gnu"]
3 changes: 3 additions & 0 deletions programs/bpf/rust/many_args/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -25,3 +25,6 @@ default = ["program"]
[lib]
name = "solana_bpf_rust_many_args"
crate-type = ["cdylib"]

[package.metadata.docs.rs]
targets = ["x86_64-unknown-linux-gnu"]
3 changes: 3 additions & 0 deletions programs/bpf/rust/many_args_dep/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -20,3 +20,6 @@ solana-sdk-bpf-test = { path = "../../../../sdk/bpf/rust/test", version = "1.2.0
[features]
program = ["solana-sdk/program"]
default = ["program"]

[package.metadata.docs.rs]
targets = ["x86_64-unknown-linux-gnu"]
3 changes: 3 additions & 0 deletions programs/bpf/rust/noop/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -24,3 +24,6 @@ default = ["program"]
[lib]
name = "solana_bpf_rust_noop"
crate-type = ["cdylib"]

[package.metadata.docs.rs]
targets = ["x86_64-unknown-linux-gnu"]
3 changes: 3 additions & 0 deletions programs/bpf/rust/panic/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -24,3 +24,6 @@ default = ["program"]
[lib]
name = "solana_bpf_rust_panic"
crate-type = ["cdylib"]

[package.metadata.docs.rs]
targets = ["x86_64-unknown-linux-gnu"]
3 changes: 3 additions & 0 deletions programs/bpf/rust/param_passing/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -25,3 +25,6 @@ default = ["program"]
[lib]
name = "solana_bpf_rust_param_passing"
crate-type = ["cdylib"]

[package.metadata.docs.rs]
targets = ["x86_64-unknown-linux-gnu"]
3 changes: 3 additions & 0 deletions programs/bpf/rust/param_passing_dep/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -20,3 +20,6 @@ solana-sdk-bpf-test = { path = "../../../../sdk/bpf/rust/test", version = "1.2.0
[features]
program = ["solana-sdk/program"]
default = ["program"]

[package.metadata.docs.rs]
targets = ["x86_64-unknown-linux-gnu"]
3 changes: 3 additions & 0 deletions programs/bpf/rust/sysval/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -24,3 +24,6 @@ default = ["program"]
[lib]
name = "solana_bpf_rust_sysval"
crate-type = ["cdylib"]

[package.metadata.docs.rs]
targets = ["x86_64-unknown-linux-gnu"]
3 changes: 3 additions & 0 deletions programs/bpf_loader/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -23,3 +23,6 @@ thiserror = "1.0"
[lib]
crate-type = ["lib", "cdylib"]
name = "solana_bpf_loader_program"

[package.metadata.docs.rs]
targets = ["x86_64-unknown-linux-gnu"]
3 changes: 3 additions & 0 deletions programs/btc_spv/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -21,3 +21,6 @@ hex = "0.4.2"
[lib]
crate-type = ["lib", "cdylib"]
name = "solana_btc_spv_program"

[package.metadata.docs.rs]
targets = ["x86_64-unknown-linux-gnu"]
3 changes: 3 additions & 0 deletions programs/btc_spv_bin/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -22,3 +22,6 @@ path = "src/blockheade.rs"
[[bin]]
name = "blocks"
path = "src/block.rs"

[package.metadata.docs.rs]
targets = ["x86_64-unknown-linux-gnu"]
3 changes: 3 additions & 0 deletions programs/budget/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -25,3 +25,6 @@ solana-runtime = { path = "../../runtime", version = "1.2.0" }
[lib]
crate-type = ["lib", "cdylib"]
name = "solana_budget_program"

[package.metadata.docs.rs]
targets = ["x86_64-unknown-linux-gnu"]
3 changes: 3 additions & 0 deletions programs/config/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -20,3 +20,6 @@ solana-sdk = { path = "../../sdk", version = "1.2.0" }
[lib]
crate-type = ["lib", "cdylib"]
name = "solana_config_program"

[package.metadata.docs.rs]
targets = ["x86_64-unknown-linux-gnu"]
Loading

0 comments on commit 6c27434

Please sign in to comment.