# THIS FILE IS AUTOMATICALLY GENERATED BY CARGO # # When uploading crates to the registry Cargo will automatically # "normalize" Cargo.toml files for maximal compatibility # with all versions of Cargo and also rewrite `path` dependencies # to registry (e.g., crates.io) dependencies. # # If you are reading this file be aware that the original Cargo.toml # will likely look very different (and much more reasonable). # See Cargo.toml.orig for the original contents. [package] edition = "2021" name = "tensor-amm" version = "0.8.0" build = false autobins = false autoexamples = false autotests = false autobenches = false description = "Client crate for the Tensor Foundation amm program." homepage = "https://github.com/tensor-foundation/amm" readme = "README.md" license-file = "LICENSE" repository = "https://github.com/tensor-foundation/amm" [lib] name = "tensor_amm" path = "src/lib.rs" [[test]] name = "pool" path = "tests/pool.rs" [dependencies.anchor-lang] version = "0.29.0" optional = true [dependencies.borsh] version = "^0.10" [dependencies.num-derive] version = "^0.3" [dependencies.num-traits] version = "^0.2" [dependencies.serde] version = "^1.0" features = ["derive"] optional = true [dependencies.serde_with] version = "^3.0" optional = true [dependencies.solana-program] version = "< 1.18" [dependencies.spl-math] version = "0.2.0" features = ["no-entrypoint"] [dependencies.thiserror] version = "^1.0" [dev-dependencies.assert_matches] version = "1.5.0" [dev-dependencies.lazy_static] version = "1.4.0" [dev-dependencies.solana-program-test] version = ">1.14, < 1.18" [dev-dependencies.solana-sdk] version = "< 1.18" [dev-dependencies.spl-associated-token-account] version = "2" [dev-dependencies.tensor-whitelist] version = "0.1.0" [features] anchor = ["anchor-lang"] anchor-idl-build = ["anchor-lang/idl-build"] serde = [ "dep:serde", "dep:serde_with", ] test-sbf = []